FUNCTION InitializeRow(gridCtl)
Default logic to clear all the columns
|
Parameter | Description |
gridCtl |
[input, numeric] control value of grid |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL BT_Accept()
Logic to execute when the Accept button is pressed
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL BT_RowDel()
Button press logic for BT_RowDel, current row in grid will be deleted
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL BuildCostTypeList$(costCode$)
Logic to build cost type list based on cost code
|
Parameter | Description |
costCode$ |
[input, string] cost code value |
|
Returns |
[string] valid cost type list |
|
FUNCTION LOCAL ChangeCostCode(*)
Logic to execute when the value in the cost code control is changed
|
Parameter | Description |
* |
[input, numeric] control value of the grid. |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL ChangeDB_CostType(*)
Logic to execute when the value in the cost type control is changed
|
Parameter | Description |
* |
[input, numeric] control value of the grid. |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL ChangeML_VendorNo(gridctl)
Logic to execute when the value in the vendor number control is changed
|
Parameter | Description |
gridctl |
[input, numeric] control value of the grid. |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL ConfirmDelete()
Confirm Delete
|
Returns |
[boolean] True=continue with deleting, False=do not delete |
|
FUNCTION LOCAL ConfirmWrite()
Override of base class ConfirmWrite() to add display of a possible additional prompt (in PreWritePrompt()). The base class ConfirmWrite is processed before the display of the additional prompt.
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL EnableControls()
Logic to enable/disable controls on dialog
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL GetControlID(var$, rID$, ctlName$)
Translate variable name to control name
|
Parameter | Description |
var$ |
[input, string] variable name |
rID$ |
[output, string] folder/screen ID |
ctlName$ |
[output, string] control name |
|
Returns |
[numeric] control value |
|
FUNCTION LOCAL GetLineRecord(gridCtl, rowNo)
Logic to execute to get values of a row of the grid
|
Parameter | Description |
gridctl |
[input, numeric] control value of the grid |
rowNo |
[input, numeric] current row number |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL HideShowGridGroup(gridCtl, hidefields$, showfields$)
Hide and/or show group of grid columns
|
Parameter | Description |
gridctl |
[input, numeric] control value of the grid |
hidefields$ |
[input, string] comma-separated list of fields to hide |
showfields$ |
[input, string] comma-separated list of fields to show |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL LoadGridDropBoxes(gridCtl, row)
Logic to execute to load drop box values for lines grid
|
Parameter | Description |
gridCtl |
[input, numeric] control value of grid |
row |
[input, numeric] row number in grid |
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL LoadRow(gridCtl, rowNo)
Logic to execute to get and load values of a row of the grid
|
Parameter | Description |
gridCtl |
[input, numeric] control value of the grid |
rowNo |
[input, numeric] current row number |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL OnExitpHeader()
Function performs logic after the exit of the header panel
|
Returns |
[integer] Always returns retSUCCESS |
|
FUNCTION LOCAL OnExitpLines()
Logic to execute when leaving lines panel
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL OnExitpLinesW()
Logic to execute when leaving the wide lines panel
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL PostLoad()
Logic to execute after the display of the dialog
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL PostLoadPheader()
Logic to execute after the display of the Header folder
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL PostLoadpLines()
Logic to execute after the display of the Lines folder
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL PostLookup(control$)
This function executes after the ALE Lookup is performed and this is called from SY_Lookup.m4p
|
Parameter | Description |
control$ |
[input, string] ALE Control Lookup code |
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL PostReadRec()
Logic to execute after a record is read
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL RowMods(gridCtl, rowNo)
Logic to execute when loading a row in a grid
|
Parameter | Description |
gridCtl |
[input, numeric] grid control id |
rowNo |
[input, numeric] current row value |
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL SetUITotals()
Logic to execute post loading the screen and field calculation
|
Returns |
[boolean] Always returns retSUCCESS |
|
FUNCTION LOCAL SetupGrid(mainGrid, form$, grid$, option, secGrid)
Logic to execute to setup grid for lines panel
|
Parameter | Description |
mainGrid |
[input, numeric] control value of main grid |
form$ |
[input, string] grid identifier |
grid$ |
[input, string] name of main grid control |
option |
[input, numeric] maintenance mode of grid |
secGrid |
[input, numeric] control value of additional grid |
|
Returns |
[boolean] True if successful, false if not successful |
|
FUNCTION LOCAL TranslateColumns()
Logic to translate values in grid
|
Returns |
[boolean] Always returns retSUCCESS |
|