|
FUNCTION AccumulateMiscCharge(ExtensionAmt) |
|
FUNCTION Clear() |
Override to base class PO_CommonEntryVendor object.
|
| Returns |
Returns the value from the call to the base class. |
|
|
FUNCTION CopyFromInvoiceHistory(invoiceKey$, allLines$) |
Create 1-step return of goods from an A/P invoice history invoice sourced from P/O
|
| Parameter | Description |
| invoiceKey$ |
[input, string] key to invoice history header record to copy data from to create ROG |
| allLines$ |
[input, string] Y/N value, Y=set return quantity for all lines copied from source |
|
| Returns |
[numeric] 1 for success, 0 for failure, -1 for warning |
|
|
FUNCTION CopyFromOrderHistory(order$, allLines$) |
Create 1-step return of goods from purchase order in history
|
| Parameter | Description |
| order$ |
[input, string] purchase order number to copy data from to create ROG. |
| allLines$ |
[input, string] Y/N value, Y=set return quantity for all lines copied from source |
|
| Returns |
[boolean] 1 for success, 0 for failure. |
|
|
FUNCTION CopyFromPurchaseOrder(poNumber$) |
|
FUNCTION CopyFromReceiptHistory(receiptKey$, allLines$) |
|
FUNCTION CopyFromReceiptHistory(receiptKey$, allLines$, poNumber$) |
Create 1-step return of goods from receipt in purchase order receipt history
|
| Parameter | Description |
| receiptKey$ |
[input, string] key to receipt history header record to copy data from to create ROG |
| allLines$ |
[input, string] Y/N value, Y=set return quantity for all lines copied from source |
| 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] 1 for success, 0 for Failure |
|
|
FUNCTION CopyPurchaseOrderLines() |
|
FUNCTION CopyPurchaseOrderLines(returnComplete) |
|
FUNCTION DELETE(key$) |
|
FUNCTION GetContext$(destTable$) |
|
FUNCTION GetContextSourceTables$(context$) |
|
FUNCTION GetNextReturnNo(tmpReturnNo$) |
|
FUNCTION HasWorkTicketLinks(pOrder$) |
Function checks to see if any line on the given purchase order is linked to a work ticket.
|
| Parameter | Description |
| pOrder$ |
[input, string] Purchase order number to check for work ticket links. |
|
|
|
| Value | Description |
| True |
- Purchase order has at least one line linked to a work ticket |
| False |
- Purchase order has no lines linked to a work ticket. |
|
|
FUNCTION SetBrowseFilter() |
|
FUNCTION UpdateForFreightAllocation(amt) |
|
FUNCTION ValidateCopyFrom(copyFrom$, copyFromNo$, copyFromRcpt$, copyKey$) |
|
FUNCTION ValidateCopyFrom(copyFrom$, copyFromNo$, copyFromRcpt$, copyKey$, multiPO$) |
Validate Copy From values
|
| Parameter | Description |
| copyFrom$ |
[input, string] copy from source. |
| copyFromNo$ |
[input/output, string] copy from document number, if copyKey$ is being passed in, copyFromNo$ becomes an output value. |
| copyFromRcpt$ |
[input/output, string] copy from receipt type and number (if copy from receipt history), if copyKey$ is being passed in, copyFromRcpt$ becomes an output value. |
| copyKey$ |
[input/output, string] key value of record to copy. If value is passed in it will be validated and take precedence over any value passed into copyFromNo$ and copyFromRcpt$. |
| multiPO$ |
{optional} [output, string] multiple p/o's applied for copy from, Y or N |
|
| Returns |
[boolean] True for success, False for failure |
|
|
FUNCTION Write() |