PL/SQL Library CORE_DTLF

Subelements:

Program Units( 6 )

Program Units

Name

Comment

CORE_DTLF

Package for the generic detail form functionality.

CORE_DTLMB

The main block of the detail form.

CORE_RLB

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:

For global variable management the form uses the core_frm package and its set_param and get_param functions.

Program Unit properties

Value

Program Unit Type Package Spec

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

Program Unit properties

Value

Program Unit Type Package Spec

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

Program Unit properties

Value

Program Unit Type Package Spec

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