mrc Documentation
michaels, ross & cole, ltd.
http://www.mrc-productivity.com/

 


Web/Servlet External Object Template Locations

 

Servlet Retrievals:

 

*JCALCOBJ  

Right after all calculations are done. Can be used when result from calculation is needed for future data manipulation.

*JINITOBJ  

Program initialization. External object is called when the program is initialized before selecting records from database.

*JREADRECRD

Right after reading a record. This location allows external object to be called after each record is read from the database.

*IMPORT   

Import a runtime created external paragraph.

*IMPORTLVL

Import a runtime created external paragraph for each level.

*NODBWORK 

Retrieving a record for an external object by pass of key values only.

*SELECTFLT

Create a dropdown list or radio buttons for filtering.

*SELECTKEY

Create a dropdown list or radio buttons for key values.

*STRADVSCH

Object is called before searching the changed advanced field values.

*STRRCDSEC

Record security by key values (Read Equal). Used for record level security with validation list or security file.  Returns to key fields.

*STRSEARCH

Before searching change key values. Example: Used to assure that the value entered by the user in the search box is converted to lower/upper case to result in the correct position in the application.                 

*STRUPBDFT

Before searching set the default key values.

 

 

Servlet Reports:

 

*JCALCOBJ  

Right after all calculations are done. Can be used when result from calculation is needed for future data manipulation.

*JINITOBJ  

Program initialization. External object is called when the program is initialized before selecting records from database.

*JREADRECRD

Right after reading a record. This location allows external object to be called after each record is read from the database.

*IMPORT   

Import a runtime created external report.

*IMPORTLVL

Import a runtime created external paragraph for each total level.

*RUNVALID

Validate runtime selection criteria values.

*SELECT

Create a dropdown list or radio buttons for runtime prompt inputs.

*ADVRECSEC  

Used for advanced record level security logic.

*STRRCDSEC

Record security by key values (Read Equal). Used for record level security with validation list or security file.  Returns to runtime values.

*STRSEARCH

Before searching change key values. Example: Used to assure that the value entered by the user in the search box is converted to lower/upper case to result in the correct position in the application.                 

*STRUPBDFT

Create report by default runtime values.

 

 

 

 

Servlet Maintenance Programs:

 

*JCALCOBJ  

Right after all calculations are done. Can be used when result from calculation is needed for future data manipulation.

*JINITOBJ  

Program initialization. External object is called when the program is initialized before selecting records from database.

*JREADRECRD

Right after reading a record. This location allows external object to be called after each record is read from the database.

*AFTADDRE

After Add Action, Redirect To New URL. When record is added to the database, user will be redirected to a new URL.

*AFTDLTRE

After Delete Action, Redirect To New URL. When record is deleted from the database, user will be redirected to a new URL.             

*AFTUPDRE

After Update Action, Redirect To New URL. When record is updated in the database, user will be redirected to a new URL.             

*AFTERACT

After Add/Update/Delete, Execute Object. Based on the completion of the event (add/update/delete), external object will be executed.  This can be an email send to a user, submission of a summary to run over the file that the record was added/deleted/updated to or call to another program.

*AFTERADD

After Add Action, Execute Object. When record is added to the file object is executed.

*AFTERDLT

After Delete Action, Execute Object. When record is deleted from the file object is executed.

*AFTERUPD

After Update Action, Execute Object. When record is updated in the file object is executed.

*BEFOREACT

Before Add/Update/Delete, Execute Object. Start up with default key

*BEFOREADD

Before Add, Execute Object                         

*BEFOREDLT

Before Delete, Execute Object                          

*BEFOREUPD

Before Update, Execute Object                         

*FLDVALID 

Validate non-key values before any action          

*INITADD  

Execute Object To Initialize Add

*INITDLT  

Execute Object To Initialize Delete

*INITUPD 

Execute Object To Initialize Update

*KEYVALID 

Validate key values before any action

*DROPDOWN

Create special input object like dropdown list. This location is used if you want to populate your dropdown list from externally described file.     

*SELECT   

Create either Select Options or Radio Buttons

*STRRCDSEC

Record security by key values (Read Equal). Used for record level security with validation list or security file. 

*STRSEARCH

Before searching change key values. Used to assure that the value entered by the user in the search box is converted to lower/upper case to result in the correct position in the application.                 

*STRUPBDFT

Execute object to initialize Add/Update/Delete