LOCAL cHistoryFreightChange=isFALSE variable to flag that the field amount has changed for current document |
LOCAL cHistoryRecalcTaxes=isFALSE variable to flag the need to recalculate taxes for current document |
LOCAL cHistorySchedChange=isFALSE variable to flag that the tax schedule has changed for current document |
PROPERTY AP_SalesTaxReporting$ * Read Only * Sales Tax Reporting field value from Accounts Payable Options |
PROPERTY HistoryUpdated * Read Only * property to flag that an order has been updated in history |
PROPERTY OrderInHistory * Read Only * property to flag whether an order exists in the history table |
PROPERTY OrderLineInHistory * Read Only * property to flag whether a line exists in the history detail table |
PROPERTY PO_RetainDeletedPurchaseOrders$ * Read Only * Retain Deleted Purchase Orders field value from Purchase Order Options |
PROPERTY PO_RetainDeletedLines$ * Read Only * Retain Deleted Purchase Order Lines field value from Purchase Order Options |
PROPERTY PO_RetainPurchaseOrderHistory$ * Read Only * Retain Purchase Order History field value from Purchase Order Options |
PROPERTY PrecisionQty * Read Only * number of decimal places to use in quantity fields |
PROPERTY PrecisionCost * Read Only * number of decimal places to use in cost fields |
PROPERTY SaveDeleted property set externally by ui class of inheriting class to flag that a deleted order should be saved in history |
PROPERTY SaveDeletedReason$ property set externally by ui class of inheriting class that will contain the Cancel / Reason Code selected by user |
PROPERTY TaxExemptionChanged property to flag whether the tax exemption information has changed for current document |
FUNCTION AddInHistory(order$, historySeq$, lineRec$, lineIOL$) Add detail line into History | ||||||||||
| ||||||||||
| ||||||||||
FUNCTION BackOutHistory(order$, historySeq$, fromDelete) | ||||||||||
FUNCTION BackOutHistory(order$, historySeq$, fromDelete, cancelNewLine) Back Out detail line from History | ||||||||||
| ||||||||||
| ||||||||||
FUNCTION CheckForHistoryLine(order$, historySeq$) Check if a purchase order detail line is in history | ||||||||||
| ||||||||||
| ||||||||||
FUNCTION SetupRetainHistory() Setup information that needs to be done whether coming from conversion or utility. From conversion needs to be done outside of ON_CREATE | ||||||||||
| ||||||||||
FUNCTION UpdateDetailLineDescription(order$, histSeq$, itmDesc$, extDescKey$) Update purchase order detail line item description and extended description key | ||||||||||
| ||||||||||
| ||||||||||
FUNCTION LOCAL CheckForHistory(order$) Check if a purchase order number is in history table | ||||||||||
| ||||||||||
| ||||||||||
FUNCTION LOCAL DeleteOrderHistory(orderRec$, orderIOL$) Delete purchase order from history | ||||||||||
| ||||||||||
| ||||||||||
FUNCTION LOCAL SetHistoryCommonTaxInfo() Set Common Tax Information for history tax tables in system sales tax calculation object | ||||||||||
| ||||||||||
FUNCTION LOCAL WriteOrderHistory(orderRec$, orderIOL$, type$) Write purchase order into history | ||||||||||
| ||||||||||
|