Records dialog functions

The BAM generates functions for working with dialog code events that control search, display, or input; and that trigger actions at the business record level.

Table 1. Records dialog events
Function Name Description
PUBLIC FUNCTION dlgEvent_record_OnActionAppend( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called to overwrite a predefined action to append a row.
PUBLIC FUNCTION dlgEvent_record_OnActionInsert( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called to overwrite a predefined action to insert a row.
PUBLIC FUNCTION dlgEvent_record_OnActionUpdate( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called to overwrite a predefined action to update a row.
PUBLIC FUNCTION dlgEvent_record_OnActionStatesChange( 
   dlg ui.DIALOG, 
   uiMode SMALLINT )
Function called to make action state changes at the record level.
PUBLIC FUNCTION dlgEvent_record_BeforeDisplay( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code events before display at the record level.
PUBLIC FUNCTION dlgEvent_record_AfterDisplay( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code events after display at the record level.
PUBLIC FUNCTION dlgEvent_record_BeforeInput( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by a dialog code event before input at the record level.
PUBLIC FUNCTION dlgEvent_record_AfterInput( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event after input at the record level.
PUBLIC FUNCTION dlgEvent_record_BeforeConstruct( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event before user searches at the record level.
PUBLIC FUNCTION dlgEvent_record_AfterConstruct( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event after user searches at the record level.
PUBLIC FUNCTION dlgEvent_record_BeforeRow( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event before user enters a row at the record level.
PUBLIC FUNCTION dlgEvent_record_AfterRow( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event after the user leaves a row.
PUBLIC FUNCTION dlgEvent_record_BeforeInsert( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event before user inserts a row.
PUBLIC FUNCTION dlgEvent_record_AfterInsert( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event before user inserts a row.
PUBLIC FUNCTION dlgEvent_record_BeforeDelete( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event before user deletes a row.
PUBLIC FUNCTION dlgEvent_record_AfterDelete( 
   dlg ui.DIALOG, 
   uiMode SMALLINT,
   dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type)
  RETURNS (libdbappEvents.DlgCtrlInstruction_Type)
Function called by dialog code event after user deletes a row.
PUBLIC FUNCTION dlgEvent_record_OnFieldsActivation( 
   dlg ui.DIALOG, 
   uiMode SMALLINT )
Function called to activate fields at the record level.