|
FUNCTION ChangeEndingValue(gridCtl) |
Validates ending value.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION ChangeML_DelayTime() |
Validates and formats delayed execution time.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION ChangeNewValue(gridCtl) |
Validates new value.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION ChangeStartingValue(gridCtl) |
Validates starting value.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION OnFocusEndingValue(gridCtl) |
Saves original ending value before change.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION OnFocusNewValue(gridCtl) |
Saves original new value before change.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION OnFocusStartingValue(gridCtl) |
Saves original starting value before change.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION RowMods(gridCtl, rowNo) |
Method Stub to override the method in SY_Selection.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| rowNo |
[input, numeric] Grid row number |
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL AnySelection() |
Checks that the delete/change work table has records.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL BackupWarehouses() |
Creates a tables of warehouses used for delete and change warheouses
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL BT_Cancel() |
Cancels warehouse selection changes or cancels delayed execution.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL BT_Clear() |
Clears warehouse selections.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL BT_Delayed() |
Launches Delayed Execution dialog.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL BT_Explode() |
Explodes warehouse code with wildcards and warehouse code range.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL BT_OK() |
OK button logic for Delay Execution and Main dialogs.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL PERFORM BT_Print() |
Prints delete/change warehouses listing.
|
|
FUNCTION LOCAL BT_Proceed() |
Proceeds to change/delete warehouses.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL BT_RowDel() |
Deletes grid row.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL BT_RowDown() |
Moves grid row down.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL BT_RowIns() |
Inserts grid row.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL BT_RowUp() |
Moves grid row up.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL BT_Save() |
Saves warehouse selections.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL PERFORM BuildWorkFile() |
Builds work file for delete/change warhouses
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL CheckFileLock() |
Locks IM_Warehouse file.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL PERFORM CheckForInsertRow() |
Removes blank inserted row.
|
|
FUNCTION LOCAL PERFORM CheckTimeOut() |
Checks timeout for delayed execution.
|
|
FUNCTION LOCAL ClassOnFocusGrid(gridCtl) |
Grid control focus logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL PERFORM GetTime() |
Formats delayed execution time.
|
|
FUNCTION LOCAL GridToMemory() |
Writes grid records to memory file.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL LoadRow(gridCtl, currentRow) |
Loads memory file record into the grid and gets warehouse descriptions.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| currentRow |
[input, numeric] Grid row number |
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL NavigationButtonsSet() |
Enables/disables row buttons.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL OnExit() |
Prompts to save warehouse selection changes and save grid settings when exiting dialog.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL ParseErrorMsg(sourceWhse$, sourceKey$, status$) |
Parses error messages into individual work table records.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL PopulateWorkTable() |
Populates report work table.
|
| Returns |
[boolean] retSUCCESS(1) if work table has data, retFAILURE(0) if work table is empty. |
|
|
FUNCTION LOCAL PostLoad() |
Sets display value and set up grid.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL PostPopulateWorkTable() |
Function stub for additional logic to execute after work table is populated.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL PrintLog() |
Prints delete/change warehouses log.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL ResetGrid() |
Loads delete/change warehouse selection records into grid.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL SaveRow(gridCtl, currentRow) |
Checks null values and whether row has changed.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| currentRow |
[input, numeric] Grid row number |
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL ValidateEmpty() |
Validates a grid row does not have null values.
|
| Returns |
[boolean] retSUCCESS(1) or retFAILURE(0) |
|
|
FUNCTION LOCAL ValidateGrid() |
Enables/disables buttons based on values in the grid row.
|
| Returns |
[boolean] retSUCCESS(1) |
|
|
FUNCTION LOCAL WrapUp() |
Prints log and cleans up after deleting warehouses.
|
| Returns |
[boolean] retSUCCESS(1) |
|