Class AP_Vendor_bus

Properties

LOCAL cIsSysDB=isFALSE  
LOCAL cMainTable$="AP_Vendor"  
LOCAL cSearchAC_EntityName$="Vendor"  

[string] SY_SearchData_AC entity name

LOCAL cAllowMultipleEMailAddresses  
PROPERTY AP_EnableACHElectronicPayments$   * Read Only *
PROPERTY AP_EnableExpenseDistTables$   * Read Only *
PROPERTY AP_VendorChangesToTrack$   * Read Only *

Current value of Vendor Changes To Track in A/P Options

PROPERTY AllowStatisticsEdit   * Read Only *
PROPERTY AllowHistoryEdit   * Read Only *
PROPERTY APSalesTaxInDataEntry   * Read Only *
PROPERTY APSalesTaxReporting   * Read Only *
PROPERTY AuditTracking  

[boolean] Flag to indicate whether to track changes in audit trail

PROPERTY IMIntegrated   * Read Only *
PROPERTY JCIntegrated   * Read Only *
PROPERTY POIntegrated   * Read Only *
PROPERTY PLSetup   * Read Only *
PROPERTY ResetElectronicPayments  
PROPERTY oVendorInactivation   * Read Only *

Handle of AP_VendorInactivation object

PROPERTY PMIntegratedPO   * Read Only *

Boolean set to true (1) when the PM Option integrate to PO has been selected

PROPERTY AllowAPVendorSensitiveAccess   * Read Only *

Methods

FUNCTION CheckRemitAddressUpdate(div$, vend$)  
FUNCTION Clear()  

This function clears vendor records

Returns [boolean] True = success, False = failure
FUNCTION ConfirmDelete()  
FUNCTION ConfirmDelete(fromUtil)  
FUNCTION CopyFrom(key$)  
FUNCTION CopyFrom(key$, copyPurchaseAddr$)  
FUNCTION Delete(key$)  
FUNCTION Delete(key$, fromUtil)  
FUNCTION DeleteAliasItems(divNo$, vendNo$)  
FUNCTION DeleteContacts(divNo$, vendNo$)  
FUNCTION DeleteDeliveryOptions(divNo$, vendNo$)  
FUNCTION DeleteItemVendor(divNo$, vendNo$)  
FUNCTION DeleteVendorPurchaseAddress(divNo$, vendNo$)  
FUNCTION DeleteVendorRemitToAddress(divNo$, vendNo$)  
FUNCTION RenumberVendor(newDivNo$, newVendNo$)  
FUNCTION UpdateRemitToAddress(div$, vend$)  
FUNCTION ValidateGroupConsumerPII()  

Group validation for fields that belong to the ConsumerPII group. Will not allow changes after the encryption of consumer PII process has been completed on a record.

Returns [Boolean]
ValueDescription
retFAILURE (0) - if NOT(NUL(EncryptedVals$))
retSUCCESS (1) - if NUL(EncryptedVals$)
FUNCTION Write()  

Properties inherited from: CI_1099_val

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

Properties inherited from: CI_CommonPII

AllowSensitiveAccess

Properties inherited from: SY_Maint

cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest, SkipNullCheck$, AFSRequiredFields$

Methods inherited from: CI_1099_val

ClassValidateBox1099(), ClassValidateForm1099()

Methods inherited from: CI_Account_val

ClassOverrideAccount(), ClassValidateAccount(), ResetAccountIndex()

Methods inherited from: CI_APContact_val

ClassValidateAPContact()

Methods inherited from: CI_APDivision_val

ClassValidateAPDivision()

Methods inherited from: CI_APTerms_val

ClassValidateAPTerms()

Methods inherited from: CI_CommonPII

GetDecryptedCols(), CheckEncryptedCols(), ClearEncryptedCols(), DecryptRec(), EncryptRec(), GetEncryptedCols(), InitEncryptInfo(), MaskColumnValue$(), ResetEncryptedCols()

Methods inherited from: CI_Country_val

ClassValidateCountry()

Methods inherited from: CI_PurchaseAddrCode_val

ClassValidatePurchaseAddrCode()

Methods inherited from: CI_TableCode_val

ClassValidateTableCode()

Methods inherited from: CI_TaxClass_val

ClassValidateTaxClass()

Methods inherited from: CI_TaxSchedule_val

ClassValidateTaxSchedule()

Methods inherited from: CI_VendorFormatter

ParseVendor()

Methods inherited from: CI_ZipCode_val

ClassValidateZIPCode()

Methods inherited from: SY_Maint

ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitSearchForUpdate(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), PreWriteScripts(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()