|
FUNCTION AddInHistoryLine(workTicket$, historySeq$, lineRec$, lineIOL$) |
Add In Work Ticket Detail (Materials) to history
|
| Parameter | Description |
| workTicket$ |
[input, string] work ticket key |
| historySeq$ |
[input/output, string] history sequence number of record |
| lineRec$ |
[input, string] detail record data |
| lineIOL$ |
[input, string] detail IOList |
|
| Returns |
[boolean] True, always returns success |
|
|
FUNCTION AddInHistoryStep(stepRec$, stepIOL$) |
Add In Work Ticket Step to history
|
| Parameter | Description |
| stepRec$ |
[input, string] step record data |
| stepIOL$ |
[input, string] step IOList |
|
| Returns |
[boolean] True, always returns success |
|
|
FUNCTION BackOutHistoryLine(workTicket$, historySeq$, fromDelete, rowStatus$) |
Back Out Work Ticket Detail (Materials) from history
|
| Parameter | Description |
| workTicket$ |
[input, string] work ticket key |
| historySeq$ |
[input/output, string] history sequence number of record |
| fromDelete |
[input, boolean] true when method called from delete logic |
| rowStatus$ |
[input, string] row status of line, N-New line, M-Modified, R-Renumbered |
|
| Returns |
[boolean] True, always returns success |
|
|
FUNCTION BackOutHistoryLineDeleteStep(workTicket$, historySeq$, fromDelete, newStepLKey$, rowStatus$) |
Back Out Work Ticket Detail (Materials) from history when deleting a step
|
| Parameter | Description |
| workTicket$ |
[input, string] work ticket key |
| historySeq$ |
[input/output, string] history sequence number of record |
| fromDelete |
[input, boolean] true when method called from delete logic |
|
@prarm newStepLKey$ [input, string] new step line key
|
| Parameter | Description |
| rowStatus$ |
[input, string] row status of line, N-New line, M-Modified, R-Renumbered |
|
| Returns |
[boolean] True, always returns success |
|
|
FUNCTION BackOutHistoryStep(stepRec$, stepIOL$, fromDelete, newStepLKey$, rowStatus$) |
Back Out Work Ticket Step from history
|
| Parameter | Description |
| stepRec$ |
[input, string] step record data |
| stepIOL$ |
[input, string] step IOList |
| fromDelete |
[input, boolean] is the method called while deleting a step record? 1=True, 0=False |
| newStepLKey$ |
[input, string] new step line key (if applicable) |
| rowStatus$ |
[input, string] row status of line, N-New line, M-Modified, R-Renumbered |
|
| Returns |
[boolean] True, always returns success |
|
|
FUNCTION CheckForHistoryLine(workTicket$, historySeq$) |
Check For History Line
|
| Parameter | Description |
| workTicket$ |
[input, string] work ticket key |
| historySeq$ |
[input, string] work ticket history line sequence number |
|
| Returns |
[boolean] True if line is in history, False if not |
|
|
FUNCTION UpdateDetailLineDescription(workTicket$, historySeq$, itmDesc$, extDescKey$) |
Update Work Ticket Detail Line Description (Materials)
|
| Parameter | Description |
| workTicket$ |
[input, string] work ticket key |
| historySeq$ |
[input, string] work ticket history line sequence number |
| itmDesc$ |
[input, string] item code description |
| extDescKey$ |
[input, string] extended description key |
|
| Returns |
[boolean] True, always returns success |
|
|
FUNCTION LOCAL CheckForHistory(workTicket$) |
Check if a work ticket is in history table
|
| Parameter | Description |
| workTicket$ |
[input, string] Work Ticket number to check for |
|
| Returns |
[boolean] True if work ticket number is in history, False if it is not |
|
|
FUNCTION LOCAL DeleteWorkTicketHistory(workTicketRec$, workTicketIOL$) |
Delete work ticket from history
|
| Parameter | Description |
| workTicketRec$ |
[input, string] work ticket record data. |
| workTicketIOL$ |
[input, string] work ticket IOList. |
|
| Returns |
[boolean] True, always returns success |
|
|
FUNCTION LOCAL WriteWorkTicketHistory(workTicketRec$, workTicketIOL$) |
Write work ticket into history
|
| Parameter | Description |
| workTicketRec$ |
[input, string] work ticket record data. |
| workTicketIOL$ |
[input, string] work ticket IOList. |
|
| Returns |
[boolean] True if successful, False if method fails |
|