| LOCAL cIsSysDB=isFALSE |
| LOCAL cMainTable$="PO_PurchaseOrderHeader" |
| LOCAL cMemoType$="01" |
[string] memo type for Purchase Order memos |
| LOCAL cVendorColumns$="VendorType$" |
[string] Vendor columns not in history required from vendor maintenance for copy process |
| LOCAL cDefaultServiceObject$ |
| LOCAL cTelephoneCountryCode$ |
[string] Country Code to be used when validating telephone number values. |
| PROPERTY AllowModifyCompleteOrder * Read Only * |
| PROPERTY AP_TrackDetailedInvPaymentHist$ * Read Only * |
[string] current setting of Track Detailed Invoice/Payment History field in A/P Options |
| PROPERTY AuditTracking |
[boolean] Flag to indicate whether to track changes in audit trail |
| PROPERTY CheckMfgTask * Read Only * |
[boolean] Flag to indicate a check for manufacturing tasks can be done. |
| PROPERTY CompletedPO * Read Only * |
| PROPERTY CopyOrderType$ * Read Only * |
| PROPERTY GeneratingOrders |
| PROPERTY InvoicedToDate * Read Only * |
| PROPERTY LastHeaderErrorMsg$ * Read Only * |
| PROPERTY LastHeaderErrorNum$ * Read Only * |
| PROPERTY OldMasterRepeatingOrderNo$ * Read Only * |
[string] old master/repeating order number when the value is changed, used in the detail class to adjust qty in the correct master order |
| PROPERTY OrderBalance * Read Only * |
| PROPERTY OrderCancelled * Read Only * |
| PROPERTY OrderInUse$ * Read Only * |
| PROPERTY PO_DefaultQuoteUnitCost$ * Read Only * |
[string] current setting of Default Unit Cost To Use For Quote field in P/O Options |
| PROPERTY PO_IPSetup * Read Only * |
[boolean] set to true if IP module is setup for this company |
| PROPERTY PO_MPSetup * Read Only * |
| PROPERTY PO_RetainReceiptHistory$ * Read Only * |
[string] current setting of Retain Receipt History field in P/O Options |
| PROPERTY PO_RequireCancelReasonCode$ * Read Only * |
[string] current setting of Require Cancel Reason Code field in P/O Options |
| PROPERTY PO_TrackPurchaseOrderChanges$ * Read Only * |
[string] P/O Setup Option "Purchase Order Changes to Track" |
| PROPERTY POSOFailed$ |
| PROPERTY POSOLineKeys$ |
| PROPERTY PrintPurchaseOrders$ * Read Only * |
| PROPERTY PurgePurchaseOrders |
| PROPERTY QuoteVendors * Read Only * |
[objhandle] Object handle to an instance of PO_PurchaseOrderQuoteVendors_bus |
| PROPERTY SOCustPONo$ * Read Only * |
| PROPERTY SOJobNo$ * Read Only * |
| PROPERTY SOOrderType$ * Read Only * |
| PROPERTY UpdatePostingDate$ |
| PROPERTY UpdateType$ |
| PROPERTY VendorStatusErrorMsg$ * Read Only * |
[string] Error message for inactive Vendor during copy from process |
| PROPERTY WTLinkUpdateError |
[boolean] Flag to indicate that work ticket links were not updated successfully in work tickets. |
| PROPERTY WTLinkUpdateErrMsg$ |
[string] Concatenated string of error messages encountered when attempting to update the work ticket links. This list will be SEP separated. |
| FUNCTION CanWorkTicketBeChanged(workTicket$) | ||||||||||||
Function whether the work ticket can be changed in purchase order, this is determined by seeing if the work ticket can be locked or has transactions in Transaction Entry. | ||||||||||||
| ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION ChangeOrderStatus(value$) | ||||||||||||
| FUNCTION CheckPurchaseOrder() | ||||||||||||
| FUNCTION CleanUpWorkTicketLinks(usr$, pOrder$) | ||||||||||||
Function will purge any records remaining in the PO_WorkTicketLinkWork table that match the given user and purchase order. | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION Clear() | ||||||||||||
Override to base class PO_CommonEntryCustomer object. This is overridden to clean up work ticket link tables. | ||||||||||||
| ||||||||||||
| FUNCTION CommitLines() | ||||||||||||
Function is an override from SY_LineEntryHeader_bus. This is overridden to link work tickets after the lines are committed. | ||||||||||||
| ||||||||||||
| FUNCTION ConfirmDelete() | ||||||||||||
| FUNCTION CopyFromInvoiceHistory(invoiceKey$, copyOrdType$, copyMemos$, tmpCopyUnitCost$) | ||||||||||||
Create purchase order from invoice sourced from P/O in A/P invoice history | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION CopyFromOrder(order$, type$, copyMemos$, tmpCopyUnitCost$) | ||||||||||||
Create purchase order from an existing purchase order | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION CopyFromOrderHistory(order$, type$, copyMemos$, tmpCopyUnitCost$) | ||||||||||||
Create purchase order from purchase order in history | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION CopyFromReceiptHistory(receiptKey$, copyOrdType$, copyMemos$, tmpCopyUnitCost$) | ||||||||||||
| FUNCTION CopyFromReceiptHistory(receiptKey$, copyOrdType$, copyMemos$, tmpCopyUnitCost$, poNumber$) | ||||||||||||
Create purchase order from receipt in purchase order receipt history | ||||||||||||
| ||||||||||||
| FUNCTION CopySalesOrder(copyAllLines$, useVendPricing) | ||||||||||||
| FUNCTION Delete(key$) | ||||||||||||
Delete, overridden from PO_CommonEntryVendor | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION GenerateFromQuote(quoteNo$, copyComments$, copyMemos$) | ||||||||||||
Generate purchase order from quote | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||||
| FUNCTION GetNextPurchaseOrderNo(value$) | ||||||||||||
| FUNCTION GetPrintQuoteValue$() | ||||||||||||
Get Print Quote value for quote vendor selected on the p/o header | ||||||||||||
| ||||||||||||
| FUNCTION IsWorkTicketClosed(workTicket$) | ||||||||||||
Function that returns the state of whether the given work ticket has a state of closed or not. | ||||||||||||
| ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION ResetLine(lKey$) | ||||||||||||
Function overridden from base class SY_LineEntryHeader_bus. This function overridden to remove pending work ticket links when resetting a line. | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION SalesTaxRecalculation() | ||||||||||||
Sales Tax Recalculation, overridden from PO_CommonEntryVendor | ||||||||||||
| ||||||||||||
| FUNCTION SetCommonTaxInfo() | ||||||||||||
Set common tax info, overridden from PO_CommonEntryVendor | ||||||||||||
| ||||||||||||
| FUNCTION SetKey(key$) | ||||||||||||
| FUNCTION SetPrintQuoteValue(tmpPrintQuote$) | ||||||||||||
Set Print Quote value for quote vendor selected on the p/o header | ||||||||||||
| ||||||||||||
| ||||||||||||
| 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 | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION Write() |
|
cHistoryFreightChange, cHistoryRecalcTaxes, cHistorySchedChange, AP_SalesTaxReporting$, HistoryUpdated, OrderInHistory, OrderLineInHistory, PO_RetainDeletedPurchaseOrders$, PO_RetainDeletedLines$, PO_RetainPurchaseOrderHistory$, PO_CancelReasonCodeRequired$, PrecisionQty, PrecisionCost, SaveDeleted, SaveDeletedReason$, TaxExemptionChanged |
|
AddInHistory(), BackOutHistory(), CheckForHistoryLine(), SetupRetainHistory(), UpdateDetailLineDescription(), UpdateWorkTicketLinkInfo(), CheckForHistory(), DeleteOrderHistory(), SetHistoryCommonTaxInfo(), WriteOrderHistory() |
|