|
FUNCTION ResetCostCodeType(origRec$, origIOL$) |
Logic to set original line values when new cost code is invalid
|
| Parameter | Description |
| origRec$ |
[input, string] original line record |
| origIOL$ |
[input, string] line iolist |
|
| Returns |
[boolean] True if successful, false if not successful |
|
|
FUNCTION RowReset() |
Logic to execute when reset row values
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION ValidateGroupCostCodeRequired() |
Group validation: CostCodeRequired
|
| Returns |
[boolean] Success if CostCode is non-blank, otherwise failure |
|
|
FUNCTION ValidateGroupCostTypeRequired() |
Group validation: CostTypeRequired
|
| Returns |
[boolean] Success if CostType is non-blank, otherwise failure |
|
|
FUNCTION ValidateGroupCostTypeSubcontractor() |
Group validation: CostTypeSubcontractor
|
| Returns |
[boolean] Success if CostType is Subcontractor 'S', otherwise failure |
|
|
FUNCTION ValidateGroupJobNo() |
Group Validation: JobNo
|
| Returns |
[boolean] Success if job number has been set, otherwise failure |
|
|
FUNCTION LOCAL ColumnOverrideAdditionalUnitsCompleted(colInfo) |
Sets additional units field mask
|
| Parameter | Description |
| colInfo |
[input, numeric] control id |
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL ColumnOverrideTransactionUnits(colInfo) |
Sets quantity mask
|
| Parameter | Description |
| colInfo |
[input, numeric] control id |
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL ColumnOverrideUnbilledCost(colInfo) |
Set cost mask
|
| Parameter | Description |
| colInfo |
[input, numeric] control id |
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL ColumnOverrideUnbilledUnits(colInfo) |
Sets quantity mask
|
| Parameter | Description |
| colInfo |
[input, numeric] control id |
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL ColumnOverrideUnitCost(colInfo) |
Sets unit cost mask
|
| Parameter | Description |
| colInfo |
[input, numeric] control id |
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL ColumnOverrideUnitPrice(colInfo) |
Sets price mask
|
| Parameter | Description |
| colInfo |
[input, numeric] control id |
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL GenerateFormatMask$(mask$, decimals) |
Logic to generate masked value
|
| Parameter | Description |
| mask$ |
[input, string] original mask |
| decimals |
[input, numeric] decimal points |
|
| Returns |
[string] mask value |
|
|
FUNCTION LOCAL ProgressMeter() |
|
FUNCTION LOCAL ProgressMeter(action$) |
|
FUNCTION LOCAL ProgressMeter(action$, msg$) |
Displays progress meter
|
| Parameter | Description |
| action$ |
{optional} [string, input] init, update, close |
| msg$ |
{optional} [string, input] type of lines copying |
|
| Returns |
[boolean] always true |
|
|
FUNCTION LOCAL ReadRec(key$) |
Logic to execute on read of record
|
| Parameter | Description |
| key$ |
[input, string] record key to read |
|
| Returns |
[integer] Returns 1 if record exists, 0 if record does not exist, editNEW (2) if new record |
|
|
FUNCTION LOCAL SetChildColl() |
Sets child collections
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL SetJobInformation() |
Logic to execute when setting default job related information
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL ValidateAccumulateLines() |
Logic to set number of lines
|
| Returns |
[boolean] Always returns success |
|
|
FUNCTION LOCAL ValidateAPDivisionNo(value$) |
Validates AP Division No field
|
| Parameter | Description |
| value$ |
[input,string] value being validated |
|
| Returns |
[boolean] True if successful, false if value fails validation |
|
|
FUNCTION LOCAL ValidateCostCode(value$) |
Override of base ValidateCostCode method to pre-set the distribution quantity for balance calculation
|
| Parameter | Description |
| value$ |
[input, string] Cost Code to be validated. |
|
| Returns |
[boolean] True if successful, false if value fails validation |
|
|
FUNCTION LOCAL ValidateCostType(value$) |
Validates Cost Type field
|
| Parameter | Description |
| value$ |
[input,string] value being validated |
|
| Returns |
[boolean] True if successful, false if value fails validation |
|
|
FUNCTION LOCAL ValidateVendorNo(value$) |
Validates Vendor No field
|
| Parameter | Description |
| value$ |
[input,string] value being validated |
|
| Returns |
[boolean] True if successful, false if value fails validation |
|