|
|
CORE 1.0 |
Subelements:
|
|
Name |
Comment |
|
Package for the generic detail form functionality. |
|
|
The main block of the detail form. |
|
|
Functions of the referencing listing block. |
|
|
CORE_RLB |
(Package body) |
|
CORE_DTLMB |
(Package body) |
|
CORE_DTLF |
(Package body) |
Program Unit CORE_DTLF
Package for the generic detail form functionality.
Trigger handlers and helper functions.
Uses the following form related global variables:
|
|||||||
Member index:
Method name Comment PRE_FORM Runs before anything else in the form. WNFI The When-New-Form-Instance trigger handler. SAVE Saves the changes on the form SAVE_EXIT Saves the changes on the form and exits the form if the save was successful. EXIT_FRM Exits the form by simply calling the Exit_Form built-in.
Procedure PRE_FORM
Runs before anything else in the form. In this release it doesn't have any particular task but it may in future versions of the CORE.
Base definition:
PROCEDURE PRE_FORM
Procedure WNFI
The When-New-Form-Instance trigger handler. It queries the form's main block with the object id acquired as a parameter (CORE_OBJ_ID) but only if the form was called for query/edit (parameter CORE_CALLING_MODE). If the form was called for entering a new record it leaves the form as it is (form starts in new record mode by default).
This process disables the show detail button on the toolbar as default. If a block or field can show details, its resposibility to enable it when entered and disable it when being left.
Similarly, it disables the List menu item as well.Base definition:
PROCEDURE WNFI
Procedure SAVE
Saves the changes on the form
Base definition:
PROCEDURE SAVE
Procedure SAVE_EXIT
Saves the changes on the form and exits the form if the save was successful. It checks the success of the save operation by checking the system.form_status system variable for the query/changed/new status of the form.
Base definition:
PROCEDURE SAVE_EXIT
Procedure EXIT_FRM
Exits the form by simply calling the Exit_Form built-in.
Base definition:
PROCEDURE EXIT_FRM
Program Unit CORE_DTLMB
The main block of the detail form. Doesn't do anything in this version of the CORE but will be improved in future versions
|
|||||||
Member index:
Method name Comment PRE_QUERY Pre-query trigger handler.
Procedure PRE_QUERY
Pre-query trigger handler. It doesn't do anything in this release.
Base definition:
PROCEDURE PRE_QUERY
Program Unit CORE_RLB
Functions of the referencing listing block. Trigger handlers and other auxiliary functions
|
|||||||
Member index:
Method name Comment WNRI The handler function of the WHEN-NEW-RECORD-INSTANCE trigger of the listing block WNBI The handler function of the WHEN-NEW-BLOCK-INSTANCE trigger of the referencing listing block POST_BLOCK The handler function of the POST-BLOCK trigger of the referencing listing block
Procedure WNRI
The handler function of the WHEN-NEW-RECORD-INSTANCE trigger of the listing block
Base definition:
PROCEDURE WNRI
Procedure WNBI
The handler function of the WHEN-NEW-BLOCK-INSTANCE trigger of the referencing listing block
Base definition:
PROCEDURE WNBI
Procedure POST_BLOCK
The handler function of the POST-BLOCK trigger of the referencing listing block
Base definition:
PROCEDURE POST_BLOCK
|
|
CORE 1.0 |