LOCAL cApplyDiscFreightOnly$="F" |
LOCAL cApplyDiscTaxOnly$="S" |
LOCAL cBatchType$="02" |
LOCAL cBatchTotalVars$="ReturnBalance"+SEP+"TaxableAmt"+SEP+"NonTaxableAmt"+SEP+"ReturnedDepositAmt"+SEP+"DiscountAmt"+SEP+"FreightAmt"+SEP+"SalesTaxAmt" |
LOCAL cDetailFromIol$ |
LOCAL cDetailToIol$ |
LOCAL cFromPurchaseOrderIolist$ |
LOCAL cIsSysDB=isFALSE |
LOCAL cMainTable$="PO_ReturnHeader" |
LOCAL cMemoType$="03" memo type for P/O Return memos |
LOCAL cPOOptions$=", AllowEntryOfTaxAndFreight$, ApplyDiscountsToFreightAndTax$" |
LOCAL cPOType$="Return Order" |
LOCAL cRestartFile$ |
LOCAL cToReturnIolist$ |
LOCAL cValidOrderType$ |
LOCAL cDefaultServiceObject$="PO_ReturnDefaults_Svc" |
PROPERTY AP_TrackDetailedInvPaymentHist$ * Read Only * current setting of Track Detailed Invoice/Payment History field in A/P Options |
PROPERTY CompletedPO * Read Only * |
PROPERTY CopiedPO * Read Only * |
PROPERTY GeneratingOrders |
PROPERTY PO_ApplyDiscountsToFreightAndTax$ * Read Only * |
PROPERTY PO_AllowEntryOfTaxAndFreight$ * Read Only * |
PROPERTY PO_PrintReturnOrder$ |
PROPERTY PO_RetainPurchaseOrderHistory$ * Read Only * current setting of Retain Purchase Order History field in P/O Options |
PROPERTY PO_RetainReceiptHistory$ * Read Only * current setting of Retain Receipt History field in P/O Options |
PROPERTY FaxNo$ * Read Only * |
PROPERTY InvoiceExists * Read Only * |
PROPERTY ReceiptExists$ * Read Only * |
PROPERTY ReturnComplete * Read Only * |
PROPERTY ValidationMessageQueue$ |
PROPERTY VendorStatusErrorMsg$ * Read Only * Error message for inactive Vendor during copy from process |
FUNCTION AccumulateMiscCharge(ExtensionAmt) | ||||||||||||
FUNCTION CopyFromInvoiceHistory(invoiceKey$, allLines$) Create 1-step return of goods from an A/P invoice history invoice sourced from P/O | ||||||||||||
| ||||||||||||
| ||||||||||||
FUNCTION CopyFromOrderHistory(order$, allLines$) Create 1-step return of goods from purchase order in history | ||||||||||||
| ||||||||||||
| ||||||||||||
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 | ||||||||||||
| ||||||||||||
| ||||||||||||
FUNCTION CopyPurchaseOrderLines() | ||||||||||||
FUNCTION CopyPurchaseOrderLines(returnComplete) | ||||||||||||
FUNCTION DELETE(key$) | ||||||||||||
FUNCTION GetContext$(destTable$) | ||||||||||||
FUNCTION GetContextSourceTables$(context$) | ||||||||||||
FUNCTION GetNextReturnNo(tmpReturnNo$) | ||||||||||||
FUNCTION SetBrowseFilter() | ||||||||||||
FUNCTION UpdateForFreightAllocation(amt) | ||||||||||||
FUNCTION ValidateCopyFrom(copyFrom$, copyFromNo$, copyFromRcpt$, copyKey$) | ||||||||||||
FUNCTION ValidateCopyFrom(copyFrom$, copyFromNo$, copyFromRcpt$, copyKey$, multiPO$) Validate Copy From values | ||||||||||||
| ||||||||||||
| ||||||||||||
FUNCTION Write() |
cSetTaxCols$, cTaxModule$, cVendorOtherColumns$, cVendorSavedColumns$, cVendorPurchaseAddressColumns$, cPOHeaderPurchaseAddressColumns$, AddPurchaseAddressOnTheFly, AccumulateMiscChargeTotal, AP_Divisions$, AP_CalcSalesTaxInAPDataEntry$, AP_Enable1099Reporting$, AP_ExpenseFreightSeparately$, AP_SalesTaxReporting$, CreateEntry, CalculateTax, DeleteReceipt, FaxNo$, SalesTaxCalcObj, TelephoneNo$, TelephoneExt$, TelephoneType$, ConfirmTo$, SalesTaxExemptionNoOnFile$ |
CalcCost(), ClearCCByBatch(), ClearCCByDeKey(), ClearCCByJournal(), ClearCCWorkFile(), PERFORM ClearCommits(), PERFORM PostTableReadCI_TierCostCalc(), PERFORM PreNextRecordCI_TierCostCalc(), PERFORM PreTableWriteCI_TierCostCalc(), PERFORM ProcessTierDistribution() |
AccumulateMiscCharge(), CLEAR(), ClearPurchaseOrderAddress(), DELETE(), OpenSalesTaxCalc(), SalesTaxCalculation(), SalesTaxRecalculation(), SetCommonTaxInfo(), SetTaxDetail(), Write(), ChangeTaxForFreight(), CheckTaxInfo(), DeleteTax(), DoTermsInfo(), GetConfirmTo(), GetPhone(), GetVendorFields(), PostFind(), PreWrite(), SetChildColl(), SetCurrentKey(), SetTax(), ValidateAPDivisionNo(), ValidateForm1099(), ValidateFreightAmt(), ValidateGroupAPDivisionRequired(), ValidateGroupAPSalesTax(), ValidateGroupTen99(), ValidateGroupVendorReq(), ValidatePrepaidFreightAmt(), ValidatePurchaseAddressCode(), ValidateTaxSchedule(), ValidateTermsCode(), ValidateUseTax(), ValidateVendorNo() |