|
FUNCTION CopyInvoiceHistoryLines(invoiceKey$, allLines$) |
Create return order lines from invoice lines in a/p invoice history sourced from p/o
|
| Parameter | Description |
| invoiceKey$ |
[input, string] key to invoice history header record to copy from |
| allLines$ |
[input, string] Y/N value, Y=set return quantity equal to quantity invoiced |
|
| Returns |
[boolean] True for success, False for failure |
|
|
FUNCTION CopyOrderHistoryLines(poNo$, allLines$) |
Create return order lines from a purchase order in history
|
| Parameter | Description |
| poNo$ |
[input, string] purchase order number to copy from |
| allLines$ |
[input, string] Y/N value, Y=set return quantity equal to quantity invoiced |
|
| Returns |
[boolean] True for success, False for failure |
|
|
FUNCTION CopyPurchaseOrderLines(poNo$, returnComplete) |
|
FUNCTION CopyReceiptHistoryLines(receiptKey$, allLines$) |
|
FUNCTION CopyReceiptHistoryLines(receiptKey$, allLines$, poNumber$) |
Create return order lines from receipt lines in purchase order receipt history
|
| Parameter | Description |
| receiptKey$ |
[input, string] key to receipt history header record to copy from |
| allLines$ |
[input, string] Y/N value, Y=set return quantity equal to quantity invoiced |
| poNumber$ |
{optional} [input, string] applied purchase order number to copy receipt history detail from, when blank detail from all applied p/o's will be copied |
|
| Returns |
[boolean] True for success, False for failure |
|
|
FUNCTION DistributionMissingInfo(distKey$, distRow, retLine$) |
|
FUNCTION GetBatchTotalVars(vars$) |
|
FUNCTION GetBatchTotalVars(vars$, reverse) |
|
FUNCTION GetContext$(destTable$) |
|
FUNCTION GetContextSourceTables$(context$) |
|
FUNCTION GetQuantityOnHand(onHandQty) |
|
FUNCTION ResetPurchaseOrderRow() |
|
FUNCTION ResetRow(lineKey$) |
|
FUNCTION ResetRowsWithDistribution() |
|
FUNCTION ResetWorkTicketInfo(workTicket$, wtStepKey$, wtLineKey$) |
Reset work ticket fields on a line
|
| Returns |
[boolean] True for success, False for failure |
|
|
FUNCTION RetrievePurchaseOrderLine() |
|
FUNCTION SetHeaderInfo() |
|
FUNCTION SetKey(key$) |
|
FUNCTION UpdateReturnBalanceBatchTotal(adjust) |
|
FUNCTION ValidateGroupFAIntegration() |
|
FUNCTION ValidateWorkTicketStepNo(value$) |
Validate work ticket step number
|
| Parameter | Description |
| value$ |
[input, string] value to vaidate |
|
| Returns |
[boolean] True for success, False for failure |
|
|
FUNCTION WRITE() |