Class PO_CommonEntryVendor

Properties

LOCAL cSetTaxCols$="SalesTaxAmt, TaxableAmt, NontaxableAmt"  
LOCAL cTaxModule$="P/O"  
LOCAL cVendorOtherColumns$=CPL("IOLIST VendorType$, ExemptionNoOnFile$, PrimaryPurchaseAddressCode$, "+"PrimaryContact$, PrimaryPurchaseAddressCode$, PrimaryContact$, FORM1099$")  
LOCAL cVendorSavedColumns$=CPL("IOLIST cVendorType$, ExemptionNoOnFile$, cPrimaryPurchaseAddressCode$, "+"cPrimaryContact$, tmpPurchaseAddressCode$, cPrimaryContact$, VendorFORM1099$")  
LOCAL cVendorPurchaseAddressColumns$=CPL("IOLIST VendorName$, AddressLine1$, AddressLine2$, AddressLine3$, City$, "+"State$, ZipCode$, CountryCode$, EmailAddress$, ExemptionNoOnFile$, TaxSchedule$, BatchFax$, FaxNo$, "+"TelephoneNo$, TelephoneExt$, TelephoneType$")  
LOCAL cPOHeaderPurchaseAddressColumns$=CPL("IOLIST PurchaseName$, PurchaseAddress1$, PurchaseAddress2$, "+"PurchaseAddress3$, PurchaseCity$, PurchaseState$, PurchaseZipCode$, PurchaseCountryCode$, "+"EmailAddress$, cExemptionNoOnFile$, TaxSchedule$, BatchFax$, FaxNo$, TelephoneNo$, TelephoneExt$, "+"TelephoneType$")  
PROPERTY AddPurchaseAddressOnTheFly  
PROPERTY AccumulateMiscChargeTotal   * Read Only *
PROPERTY AP_Divisions$   * Read Only *
PROPERTY AP_CalcSalesTaxInAPDataEntry$   * Read Only *
PROPERTY AP_Enable1099Reporting$   * Read Only *
PROPERTY AP_ExpenseFreightSeparately$   * Read Only *
PROPERTY AP_SalesTaxReporting$   * Read Only *
PROPERTY CreateEntry SET ERR ! Creating from another entry, used for skipping validations   * Read Only *
PROPERTY CalculateTax  
PROPERTY DeleteReceipt   * Read Only *
PROPERTY FaxNo$   * Read Only *
PROPERTY SalesTaxCalcObj   * Read Only *
PROPERTY TelephoneNo$   * Read Only *
PROPERTY TelephoneExt$   * Read Only *
PROPERTY TelephoneType$   * Read Only *
PROPERTY ConfirmTo$   * Read Only *

The contact's name from AP_VendorContact. To be used as default for 'Confirm To' multi-line in the ui.

PROPERTY SalesTaxExemptionNoOnFile$   * Read Only *
Returns the current sales tax exemption number on file (Y or N) setting

Methods

FUNCTION AccumulateMiscCharge(ExtensionAmt)  
FUNCTION CLEAR()  
FUNCTION ClearPurchaseOrderAddress()  
FUNCTION DELETE(key$)  
FUNCTION OpenSalesTaxCalc()  
FUNCTION SalesTaxCalculation()  
FUNCTION SalesTaxRecalculation()  
FUNCTION SetCommonTaxInfo()  
FUNCTION SetTaxDetail(Tax$, taxable$, nonTaxable$, nonRecoverable$)  
FUNCTION Write()  
FUNCTION LOCAL ChangeTaxForFreight(oldval, newval)  
FUNCTION LOCAL CheckTaxInfo()  
FUNCTION LOCAL DeleteTax(key$)  
FUNCTION LOCAL DoTermsInfo(TermsCode$, InvoiceDate$)  
FUNCTION LOCAL GetConfirmTo(contactCode$)  

Resets the value of the ConfirmTo$ property to be set in the ui.

ParameterDescription
contactCode$ [input, string] Contact Code to look up in AP_VendorContact file.
Returns [boolean] Always returns retSUCCESS.
FUNCTION LOCAL GetPhone()  
FUNCTION LOCAL GetVendorFields()  
FUNCTION LOCAL PostFind()  
FUNCTION LOCAL PreWrite()  
FUNCTION LOCAL SetChildColl()  
FUNCTION LOCAL SetCurrentKey(key$)  
FUNCTION LOCAL SetTax()  
FUNCTION LOCAL ValidateAPDivisionNo(value$)  
FUNCTION LOCAL ValidateForm1099(value$)  
FUNCTION LOCAL ValidateFreightAmt(value)  
FUNCTION LOCAL ValidateGroupAPDivisionRequired()  
FUNCTION LOCAL ValidateGroupAPSalesTax()  
FUNCTION LOCAL ValidateGroupTen99()  
FUNCTION LOCAL ValidateGroupVendorReq()  
FUNCTION LOCAL ValidatePrepaidFreightAmt(value)  
FUNCTION LOCAL ValidatePurchaseAddressCode(value$)  
FUNCTION LOCAL ValidateTaxSchedule(value$)  
FUNCTION LOCAL ValidateTermsCode(value$)  
FUNCTION LOCAL ValidateUseTax(value$)  
FUNCTION LOCAL ValidateVendorNo(vendor$)  

Properties inherited from: CI_1099_val

Default1099CalendarYr$, FirstValidBoxID$, LoadVendorFormOnly$, VendMaint, Ten99Reporting, VendorForm1099$, VendorType$

Properties inherited from: CI_VendorNo_Val

HoldPayment, SeparateCheck

Properties inherited from: PO_CommonEntry

cBatchModule$, cAllowMultipleEMailAddresses, AllocateFreight, CalledFromUpdate, IM_RequireMultipleWarehouses$, IM_QuantityAvailableToInclude$, IM_ReorderByWhse$, IM_SegmentForWhsePostings$, InDeleteEntry, IsMaterialRequisition, JC_DefaultJobType$, JC_JobNoFormat$, JC_PostWipToGL$, NotMultiWarehouseDefault$, OrderTotal, PrecisionCost, PrecisionQty, ReceiptClearPrepaidFreight, ReceiptFreightNotAllocated, RequiredDateColumn$, SO_IsSetup, SO_UseShippingCode$, IM_DefaultWarehouseCode$, DefaultWarehouseCode$, DefaultWarehouseStatus$, DefaultWhseRestrictEndDate$, PO_DefaultShipToCode$, PO_DefaultType$, PO_DefaultWarehouseCode$, PO_IntegrateInventory$, PO_IntegrateJobCost$, PO_IntegrateWorkOrder$, PO_PostAPInvoices$, PO_RetainPurchaseHistory, PO_SpecialItemCostAcctKey$, PO_MaterialReqAcctKey$, PO_DefaultFOBMessage$, PO_AllowAdditionsOfNewItems$, PO_AllowOverrideOfGLAccount$, PO_AllocateFreightByLine$, PO_AllowEntryOfLandedCost$, PO_IncludeAllocatedCostInUnitCost$, PO_IncludeAllDropShipLineItems$

Methods inherited from: CI_1099_val

ClassValidateBox1099(), ClassValidateForm1099()

Methods inherited from: CI_APDivision_val

ClassValidateAPDivision()

Methods inherited from: CI_APTerms_val

ClassValidateAPTerms()

Methods inherited from: CI_PurchaseAddrCode_val

ClassValidatePurchaseAddrCode()

Methods inherited from: CI_TaxSchedule_val

ClassValidateTaxSchedule()

Methods inherited from: CI_VendorFormatter

ParseVendor()

Methods inherited from: CI_VendorNo_Val

ClassValidateVendorNo()

Methods inherited from: PO_CommonEntry

ChangeDefaults(), CheckCopyFromWarehouse(), CheckPurchaseOrder(), Clear(), DELETE(), ResetHeader(), SetKey(), StripRequiredVal$(), Write(), CheckInvoiceHistory(), InDataEntry(), RemoveUsedIn(), RetrieveOptions(), SetChildColl(), SetDefaults(), SetOptions(), SetSOChildColl(), ValidateBatchNo(), ValidateGroupNotMatReq(), ValidateShipToCode(), ValidateShipVia(), ValidateWarehouseCode()