|
FUNCTION BillHasOptions(bill$, rev$, options$) |
|
FUNCTION ExplodeBillToWorktable(workFH, bill$, rev$, options$) |
|
FUNCTION ExplodeBillToWorktable(workFH, bill$, rev$, options$, addIOL$) |
|
FUNCTION ExplodeBillToWorktable(workFH) |
|
FUNCTION ExplodeBillToWorktable(workFH, addIOL$) |
Main function that explodes bill components to a work table.
|
| Parameter | Description |
| workFH |
[output, fileHandle] File handle to a working memory table that is returned with the components exploded for the given bill. |
| bill$ |
[input, string] Bill number to explode components for. |
| rev$ |
[input, string] Bill Revision number to explode components for. |
| options$ |
[input, string] Concatenated string of 2 character option codes to include into the components output. |
| addIOL$ |
[input, string] {optional} Comma separated list of additional fields to include in the work file that is returned. |
|
|
|
| Value | Description |
| retSUCCESS(1) |
If bill was exploded successfully into individual components. The workFH will have the components. |
| retFAILURE(0) |
If bill explosion encountered an error or bill was invalid. |
|
|
FUNCTION KitExists(kit$) |
|
FUNCTION SegmentSubstitution(tmpGLAcctKey$, tmpWarehouseCode$) |
|
FUNCTION LOCAL BillExplosionProcessDetail(hdrKey$, workFH, dtlFH) |
|
FUNCTION LOCAL ExplodeAllBillOptions(workFH) |
|
FUNCTION LOCAL ExplodeAllBillOptions(workFH, optionCategory$, optionCode$) |
|
FUNCTION LOCAL IsBill(item$, rev$) |
|
FUNCTION LOCAL IsBill(item$, rev$, hasLines) |
|
FUNCTION LOCAL ProgressMeter() |
|
FUNCTION LOCAL ProgressMeter(action$) |
|
FUNCTION LOCAL ProgressMeter(action$, msg$) |
|
FUNCTION LOCAL RoundQuantityToWholeInteger(value) |