FUNCTION ChangeOrderStatus(value$)
|
FUNCTION CheckPurchaseOrder()
|
FUNCTION ConfirmDelete()
|
FUNCTION CopyFromInvoiceHistory(invoiceKey$, copyOrdType$, copyMemos$)
Create purchase order from invoice sourced from P/O in A/P invoice history
|
Parameter | Description |
invoiceKey$ |
[input, string] key to invoice history header record to copy data from to create p/o |
copyOrdType$ |
[input, string] Order type of purchase order to be created |
copyMemos$ |
[input, string] Y/N value to copy receipt memo to created purchase order |
|
Returns |
[numeric] 1 for success, 0 for failure, -1 for warning |
|
FUNCTION CopyFromOrder(order$, type$, copyMemos$)
Create purchase order from an existing purchase order
|
Parameter | Description |
order$ |
[input, string] purchase order number to copy. |
type$ |
[input, string] order type for the new order. |
copyMemo$ |
[input, string] Y/N value to copy purchase order memos to the new order. |
|
Returns |
[boolean] True for success, False for failure. |
|
FUNCTION CopyFromOrderHistory(order$, type$, copyMemos$)
Create purchase order from purchase order in history
|
Parameter | Description |
order$ |
[input, string] purchase order number to copy. |
type$ |
[input, string] order type for the new order. |
copyMemo$ |
[input, string] Y/N value to copy purchase order memos to the new order. |
|
Returns |
[boolean] True for success, False for failure. |
|
FUNCTION CopyFromReceiptHistory(receiptKey$, copyOrdType$, copyMemos$)
|
FUNCTION CopyFromReceiptHistory(receiptKey$, copyOrdType$, copyMemos$, poNumber$)
Create purchase order from receipt in purchase order receipt history
|
Parameter | Description |
receiptKey$ |
[input, string] key to receipt history header record to create in purchase order entry |
copyOrdType$ |
[input, string] Order type of purchase order to be created |
copyMemos$ |
[input, string] Y/N value to copy receipt memo to created purchase order |
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 |
|
FUNCTION CopySalesOrder(copyAllLines$, useVendPricing)
|
FUNCTION Delete(key$)
Delete, overridden from PO_CommonEntryVendor
|
Parameter | Description |
key$ |
[input, string] key value of record to delete. |
|
Returns |
[boolean] True for success, False for failure |
|
FUNCTION GetContext$(destTable$)
|
FUNCTION GetContextSourceTables$(context$)
|
FUNCTION GetNextPurchaseOrderNo(value$)
|
FUNCTION SalesTaxRecalculation()
Sales Tax Recalculation, overridden from PO_CommonEntryVendor
|
Returns |
[boolean] True for success, False for failure |
|
FUNCTION SetCommonTaxInfo()
Set common tax info, overridden from PO_CommonEntryVendor
|
|
FUNCTION SetKey(key$)
|
FUNCTION UpdateBackOrderLost(value)
|
FUNCTION UpdateChangeOrderStatus(newOrderStatus$, newCompletionDate$)
|
FUNCTION UpdateNonTaxableAmt(value)
|
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()
|