Class AP_VendorContact_bus

Properties

LOCAL cIsSysDB=isFALSE  
LOCAL cMainTable$="AP_VendorContact"  
PROPERTY AuditTracking  

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

Methods

FUNCTION ConfirmDelete()  
FUNCTION Delete(key$)  
FUNCTION DeleteContacts(divNo$, vendNo$)  

Deletes all contact records for a vendor

ParameterDescription
divNo$ [input, string] AP division number
vendNo$ [input, string] Vendor number
Returns [boolean] retSUCCESS (1)
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()  

Writes contact record and updates audit tracking

Returns [boolean] retSUCCESS (1) or retFAILURE (0)

Properties inherited from: CI_VendorNo_val

HoldPayment, SeparateCheck

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_APDivision_val

ClassValidateAPDivision()

Methods inherited from: CI_Country_val

ClassValidateCountry()

Methods inherited from: CI_VendorNo_val

ClassValidateVendorNo()

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()