QAD 2017 Enterprise Edition > User Guides > Service/Support Management > Reference > User Exits > List of User Exits
  
List of User Exits
User Exits lists the user exit points, a description of when each is activated, and the input parameters in their required order.

User Exits
 
Program
Seq
Comments
Input Parameters
Installed Base Item Maintenance (fsisbmt.p)
10
Immediately after a new isb_mstr is created.
recid (isb_mstr)
20
Immediately after an isb_mstr is deleted.
end user id
part
serial
ref
30
Immediately after the user changes the item’s serial number.
recid (isb_mstr)
old serial number
Installed Item Move (fsisbmv.p)
10
Immediately before the end user number is changed on the parent level isb_mstr.
recid (isb_mstr)
new end user number
20
Immediately before the end user number is changed on a lower level component isb_mstr.
recid (isb_mstr)
new end user number
Call Maintenance (fscamt.p)
 
10
Before the cursor enters the call ID field, fscamtm.p loads variable canewrun with the program name to execute. This program is then executed by fscamtm.p when a new call is being created just after the work code, model, service group pop-up displays to establish call defaults.
recid (ca_mstr)
20
Before the cursor enters the call ID field, fscamtm.p loads shared variable carun with the program name to execute. This program is then executed by fscamta.p before the user keys in name, phone, etc. in the call header lower frame.
recid (ca_mstr)
40
This user exit is called right before calling fscammt.p to handle call comments.
recid (ca_mstr)
50
The program is called after the Item Service Structure pop-up.
recid (ca_mstr)
55
The program is called after the Item Service Structure pop-up if ca_assign has changed.
recid (ca_mstr)
60
After the Item Service Structure pop-up, if ca_status has changed (fscamta1.p).
recid (ca_mstr)
70
After the Item Service Structure pop-up, if ca_queue has changed (fscamtc.p).
recid (ca_mstr)
80
After the user selects or enters a new call line number, routine fsitmcmt.p calls this exit before displaying an existing line item or creating a new one.
recid (itm_det)
Logical (newitem) indicating whether line is newly created.
Call Maintenance (fscamt.p)
85
When a user is editing a call line item and sets Fault Codes to Yes, fsitmcmt.p calls this exit right after the fault code frame displays.
This exit requires three input parameters, but the middle one is only a place holder; it is not used in Call Maintenance.
recid (ca_mstr)
recid (wo_mstr). Not used in Call Maintenance.
recid (itm_det)
90
Called right after all call data has been entered and before calling fscamtb.p to print a call.
recid (ca_mstr)
100
If the call is being closed, after close processing is complete (fscamta1). Note that this exit applies to all programs where calls are closed: fscarmt.p, fscamt.p, fsquemg.p, and fsegtmt.p.
recid (ca_mstr)
Call Queue Manager (fscamt.p)
100
If you close the call at the end of the update transaction (fsquem1b.p).
recid (ca_mstr)
Service Request Maintenance (fssrmt.p)
 
10
Executed with the creation of a new SR.
recid (srr_mstr)
20
Executed when the value of srr_status has been modified.
recid (srr_mstr)
30
Executed when the value of srr_assign has been modified.
recid (srr_mstr)
40
Executed when the value of srr_que has been modified.
recid (srr_mstr)
90
Executed when the value of srr_status is set to the closed status defined in SR Control (svc_srr_close).
recid (srr_mstr)
Contract Maintenance (fssamt.p)
10
The name of a program to run for the contract header is loaded into the sarun variable by fssamtm.p. This program is executed between header comments and the first line item.
recid (sa_mstr)
20
The name of a program to run for contract lines is loaded into the sadrun shared variable by fssamtm.p. This program is executed in fssama01.p immediately before line item comments may be entered and in fssamtt.p immediately after the comments are entered.
recid (sa_mstr)
recid (sad_det)
RMA Maintenance (fsrmamt.p)
10
Executed by sosomt1a.p immediately before header comments are entered.
recid (so_mstr)
recid (rma_mstr)
20
Executed for RMA issue lines. The name of the program to run is loaded into variable solinerun by sosomta.p, and executed right before line comments by sosomtla.p.
recid (so_mstr)
recid (sod_det)
(sosomtla.p does not pick up rma_mstr or rmd_det)
30
Executed for RMA receipt lines. The program to run is loaded into variable solinerun by sosomta.p, and executed right before line comments by sosomtla.p. Also loaded and executed by fsrmar02.p after the linked receipt line.
recid (so_mstr)
recid (sod_det)
(sosomtla.p does not pick up rma_mstr or rmd_det)
100
Executed by fsrmamtu.p right before the “Display RMA Lines” message.
recid (so_mstr)
recid (rma_mstr)
110
Right after exit 100.
recid (so_mstr)
recid (rma_mstr)
Sales Order Maintenance (sosomt.p)
10
Executed by sosomt1a.p immediately before header comments can be entered.
recid (so_mstr)
20
The name of a program to run is loaded into variable solinerun by sosomta.p, and executed right before line comments by sosomtla.p.
recid (so_mstr)
recid (sod_det)
Update ISB from Sales Order Maintenance and RMA Maintenance (sosomisb.p)
10
The program is called after the Update Installed Base Item pop-up.
recid (so_mstr)
recid (sod_det)
Logical (new_line) indicating whether line is newly created.
 
Call Activity Recording (fscarmt.p)
Note: Call Quote Maintenance (fscqmt.p calls fscarmt.p to execute the same programs.
10
This exit is called by fscarmtm.p right after header comments, before the line items.
recid (ca_mstr)
15
After the user selects or enters a new call line number, routine fscarmta.p calls this exit after displaying an existing line item or creating a new one.
recid (itm_det)
Logical (newitem) indicating whether line is newly created
20
This exit is called by fscarmta.p right after the Fault Codes pop-up and before the MO line selection. Only executed for call quote if not fixed price
recid (ca_mstr)
recid (wo_mstr)
50
Called by fscarmk1.p when the ISB quantity of a component item is increased. No input should be solicited from the user.
recid (wo_mstr)
recid (itm_det)
recid (wod_det)
recid (isb_mstr) (of the component item)
55
Called by fscarmk1.p when a new component is added to the ISB. No input should be solicited from the user.
recid (wo_mstr)
recid (itm_det)
recid (wod_det)
60
Called by fscarmk2.p when a component item is deleted or has its ISB quantity reduced. No input should be solicited from the user.
recid (wo_mstr)
recid (itm_det)
recid (wod_det)
Percentage of the ISB item that has been deleted
(The delete percentage is defined like the field tr_qty_chg.)
Call Invoice Recording (fscaimt.p)
10
Executed by fscaimtm.p after the last header frame, before the billing summary displays.
recid (ca_mstr)
20
Executed by fscaimtj.p, which creates the so_mstr, after tax processing completes.
recid (ca_mstr)
recid (so_mstr)
30
Program fscaimte.p, which creates the invoice, loads this exit program name into variable carun, then executes it after creating or updating the first sod_det (from the first invoiceable report) for the itm_det.
recid (ca_mstr)
recid (so_mstr) (? if none)
recid (itm_det)
recid (sod_det) (? if none)
recid (wo_mstr)
50
Executed by fscaimtf.p, which does line maintenance, right before starting the labor/parts subroutines for the line.
recid (ca_mstr)
recid (so_mstr)
recid (itm_det)
recid (sod_det)
Material Order Maintenance (fseomt.p)
10
Executed immediately before MO header comments by fseomt.p.
recid (so_mstr)
20
Program fseomta.p (MO Line Items) loads variable solinerun with the name of this exit program, then fseomtla.p executes that program just before line item comments are maintained.
recid (so_mstr)
recid (sod_det)
Service Contract Limits (fssalmt.p)
10
Executed by fssalmt.p after maintaining limits on a service contract or service contract lines.
recid (sal_mstr)
20
Executed by fssalmt.p after maintaining warranty limits of isb_mstr type. (This feature has not been implemented yet.)
recid (sal_mstr)
30
Executed by fssalmt.p after maintaining limits on contract or warranty types.
recid (sal_mstr)
Service Work Center Maintenance (fswcmt.p)
10
Executed by fswcmtm.p at the end of work center maintenance.
recid (wc_mstr)
Service Standard Op Maintenance (fsopmmt.p)
10
Executed by fsopmmt.p right before comments are entered.
recid (opm_mstr)
Work Code Maintenance (fsfwkmt.p)
10
Executed by fsfwkmt.p at the end of Work Code Maintenance.
recid (fwk_mstr)
Charge Product Line Maintenance (fsfcccmt.p)
10
Executed by fsfcccmt.p at the end of Charge Product Line Maintenance.
recid (fcc_mstr)
Revenue Product Line Maintenance (fsfccrmt.p)
10
Executed by fsfccrmt.p at the end of Revenue Product Line Maintenance.
recid (fcc_mstr)
Default Charge Code Maintenance (fsfcdmt.p)
10
Executed by fsfcdmt.p at the end of Default Charge Code Maintenance.
recid (fcd_mstr)
Charge Code Maintenance (fsfcgmt.p)
10
Executed by fsfcgmt.p at the end of Charge Code Maintenance.
recid (fcg_mstr)
Invoice Sort Maintenance (fsfismt.p)
10
Executed by fsfismt.p at the end of Invoice Sort Maintenance.
recid (fis_mstr)
Service Category Maintenance (fsfscmt.p)
10
Executed by fsfscmt.p at the end of Service Category Maintenance.
recid (fsc_mstr)
Service Price List Maintenance (fsfpcmt.p)
10
Executed by fsfpcmt.p at the end of Price List Maintenance.
recid (fpc_mstr)
Return Status Maintenance (fsfpstmt.p)
10
Executed by fsfpstmt.p at the end of Return Status Maintenance.
recid (fpst_mstr)
Contract Copy/ Renewal Routines
(fsqosaa.p)
(Refer to here for additional details.)
 
10
The name of a program to run after a contract header is created by any copy/renewal routine. The exit should be attached to program fsqosaa.p and is executed in batch; no user input should be required.
recid (sa_mstr)
20
The name of a program to run after a contract quote header is created by any copy/renewal routine. The exit should be attached to program fsqosaa.p and is executed in batch; no user input should be required.
recid (sa_mstr)
30
The name of a program to run after a contract line is created by any copy/renewal routine. The exit should be attached to program fsqosaa.p and is executed in batch; no user input should be required.
recid (sa_det)
40
The name of a program to run after a contract quote line is created by any copy/renewal routine. The exit should be attached to program fsqosaa.p and is executed in batch; no user input should be required.
recid (sad_det)
General Comments (gpcmmt01.p)
 
Service Comments (fscammt.p)
10
Executed after comments are defaulted, but before they are displayed for editing. Used in most places where comments are edited.
recid (cmt_det)
Logical indicating whether comments are newly created
10
Executed after comments are defaulted, but before they are displayed for editing. Used in service routines where comments are edited that include a date/time stamp.
recid (cmt_det)
Logical indicating whether comments are newly created
User Exits for Contract Copy/Renewal Routines
Most user exits are defined for a menu-level program. The exception to this is the family of six programs used to copy and renew service contracts and contract quotes, which are all very similar internally. This program family includes the following options:
Contract Quote Release to Contract (11.5.1.5)
Contract Quote Copy from Quote (11.5.1.6)
Contract Quote Copy from Contract (11.5.1.7)
Contract Copy to Contract (11.5.13.6)
Renew Single Contract (11.5.13.8)
Renew Process/Report (11.5.13.10)
Rather than creating separate user exits for each menu-level program, four generic exits can be set up to take affect whenever a contract or contract quote header or line is created. This is done by attaching the exits to program fsqosaa.p, rather than the menu-level program name. This approach means, for example, that the same user program is called whenever a new contract line is created, regardless of the particular program that initiated the update.
Note: Enter fsqosaa.p in the Program field of Custom Program Entry Point Validation.
The user exits for contract copy/renewal programs all execute in the background. You should make sure that the program you call does not require any user input.