|
FUNCTION Clear() |
Function overridden from SY_Maint, overridden to release user count.
|
| Returns |
value from the call to the base class. |
|
|
FUNCTION DistributeBalance() |
|
FUNCTION Find(key$) |
|
FUNCTION GetStepLineKey$(workTicket$, step$) |
Function returns the step line key for the given work ticket and step number
|
| Parameter | Description |
| workTicket$ |
[input, string] work ticket number that the step belongs to |
| step$ |
[input, string] step number on the work ticket. |
|
| Returns |
[string] returns the StepLineKey$ for the given work ticket and step number. |
|
|
FUNCTION GetStepNumber$(workTicket$, stepKey$) |
Function will lookup the given Work Ticket + Step Line Key combination in the
PM_WorkTicketHistoryStep table and return the corresponding step number.
|
| Parameter | Description |
| workTicket$ |
[input, string] Value of the WorkTicketKey to use for lookup |
| stepKey$ |
[input, string] Value of the StepLineKey to use for lookup |
|
| Returns |
[string] Returns the StepNo field from PM_WorkTicketStep |
|
if lookup was successful otherwise retiurns null.
|
|
FUNCTION PostDeleteRec() |
|
FUNCTION ResetCostCodeType(origRec$, origIOL$) |
|
FUNCTION RowReset() |
|
FUNCTION SetKey(LineKy$) |
|
FUNCTION ValidateGroupPMIntegrated() |
Verifies PM is integrated before allowing a change to any field in the ValidationGroup
|
|
|
| Value | Description |
| retSUCCESS(1) |
If PMIntegratedAP = isTRUE |
| retFAILURE(0) |
If PMIntegratedAP = isFALSE |
|
|
FUNCTION ValidateLines() |
|
FUNCTION ValidateWorkTicketStepNo(value$) |
Function to validate the StepNo$ is valid for a previously set WotkTicketKey$,
when valid, retrieve the LineKey from the record and execute SetValue for WorkTicketStepLineKey$
|
| Parameter | Description |
| value$ |
[input/output, string] Value of the StepNo$ to validate |
|
|
|
| Value | Description |
| retSUCCESS(1) |
StepNo is valid |
| retFAILURE(0) |
StepNo is not valid |
|
|
FUNCTION LOCAL CalculateOverhead() |
Method used to calculate Overhead on transaction linked to a PM Work Ticket / Step
|
|
FUNCTION LOCAL ColumnOverrideDistributionAmt(colInfo) |
|
FUNCTION LOCAL ColumnOverrideQuantityDistributed(colInfo) |
|
FUNCTION LOCAL ColumnOverrideUnitCost(colInfo) |
|
FUNCTION LOCAL ColumnOverrideVariableOverheadCost(colInfo) |
Function that sets the VariableOverheadCost mask from the dynamic value for number of decimals of cost found in the CI Setup Options.
|
| Parameter | Description |
| colInfo |
[input, objecthandle] Object handle to the dictionary object for the VariableOverheadCost column |
|
| Returns |
Always returs retSUCCESS(1) |
|
|
FUNCTION LOCAL GenerateFormatMask$(mask$, decimals) |
|
FUNCTION LOCAL InitWorkTable() |
|
FUNCTION LOCAL RetrieveVendor(div$, vendor$, vendorSvc) |
|
FUNCTION LOCAL SetChildColl() |
|
FUNCTION LOCAL SetCurrentKey(key$) |
SetCurrentKey contains logic required following SetKey() to set initial state required for existing and new records.
|
| Returns |
[boolean] True (1) if successful, false (0) if failure |
|
|
FUNCTION LOCAL SetDefaults() |
Overrides base class function from SY_Maint which sets initial values of columns to a new record.
|
| Returns |
Always returns retSUCCESS(1) |
|
|
FUNCTION LOCAL PERFORM SetJCChildColl() |
|
FUNCTION LOCAL PERFORM SetJobInformation() |
|
FUNCTION LOCAL SetPMChildColl() |
Setup Child Collections for PM classes required when PM is Integrated with AP
|
| Returns |
[boolean] Always returns success (1) |
|
|
FUNCTION LOCAL ValidateAccountKey(value$) |
|
FUNCTION LOCAL ValidateAccumulateLines() |
|
FUNCTION LOCAL ValidateCostCode(value$) |
|
FUNCTION LOCAL ValidateCostType(value$) |
|
FUNCTION LOCAL ValidateDistributionAmt(value) |
|
FUNCTION LOCAL ValidateDistributionPercentage(value) |
|
FUNCTION LOCAL ValidateGroupJCIntegrated() |
|
FUNCTION LOCAL ValidateGroupJobNo() |
|
FUNCTION LOCAL ValidateJobNo(value$) |
|
FUNCTION LOCAL ValidateQuantityDistributed(value) |
|
FUNCTION LOCAL ValidateRetentionRate(value) |
|
FUNCTION LOCAL ValidateUnitCost(value) |
|
FUNCTION LOCAL ValidateWorkTicketKey(value$) |
Validates the Work Ticket Key. This will verify that the work ticket key exists in work ticket history table.
|
| Parameter | Description |
| value$ |
[input, string] Value to be validated |
|
|
|
| Value | Description |
| retSUCCESS(1) |
Work ticket number is valid |
| retFAILURE(0) |
Work ticket number is not valid |
| retWARNING(-1) |
Work ticket number is valid, but warning message set. |
|
|
FUNCTION LOCAL ValidateWorkTicketStepLineKey(value$) |
Validates the Work Ticket Step LineKey. This will verify that the work ticket Key + step LineKey exists in work ticket history step table.
|
| Parameter | Description |
| value$ |
[input, date] Value to be validated |
|
|
|
| Value | Description |
| retSUCCESS(1) |
WorkTicketKey + WorkTicketStepLineKey is valid |
| retFAILURE(0) |
WorkTicketKey + WorkTicketStepLineKey is not valid |
|