Class AR_Customer_bus

Properties

LOCAL cMainTable$="AR_Customer"  
LOCAL cIsSysDB=isFALSE  
LOCAL cPerformCreditChecking  
LOCAL cAllowMultipleEMailAddresses  
LOCAL cItemTypes$  
LOCAL cAliasItemTypes$  
LOCAL cAllowAliasItems  
LOCAL cAllowAliasItemsOTF  
PROPERTY SOIntegrated   * Read Only *
PROPERTY ITIntegrated   * Read Only *
PROPERTY RAIntegrated   * Read Only *
PROPERTY JCIntegrated   * Read Only *
PROPERTY ALIntegrated   * Read Only *
PROPERTY IMIntegrated   * Read Only *
PROPERTY PLSetup   * Read Only *
PROPERTY CreditLimitChecking$   * Read Only *
PROPERTY SalespersonCommRpting   * Read Only *
PROPERTY ARSalesTaxReporting   * Read Only *
PROPERTY OpenItemBalForward$   * Read Only *
PROPERTY CustomerStatements   * Read Only *
PROPERTY FinanceChargeMethod$   * Read Only *
PROPERTY AllowStatisticsEdit   * Read Only *
PROPERTY AllowHistoryEdit   * Read Only *
PROPERTY SalesTaxExemptions   * Read Only *
PROPERTY ITCustomer   * Read Only *
PROPERTY CRMSetup   * Read Only *
PROPERTY CompanyID$   * Read Only *
PROPERTY CRMProspectCustomerNo$   * Read Only *
PROPERTY CRMProspectARDivisionNo$   * Read Only *
PROPERTY CRMLinkFailed   * Read Only *
PROPERTY CRMLinkFailedMsg$   * Read Only *
PROPERTY PromoteFailed   * Read Only *
PROPERTY SyncFailed   * Read Only *
PROPERTY ContactNew   * Read Only *
PROPERTY CRMGroup$   * Read Only *
PROPERTY BillToCustomerRpting$   * Read Only *
PROPERTY EnableDefaultPriceLevelByCust   * Read Only *
PROPERTY SOOption_IntegrateJobCost$   * Read Only *
PROPERTY SO_SplitCommissions$   * Read Only *
PROPERTY SplitCommRate1   * Read Only *
PROPERTY ValidSOCostTypes$   * Read Only *
PROPERTY CustomerInactivationObj   * Read Only *

Handle to AR_CustomerInactivation object

Methods

FUNCTION Clear()  
FUNCTION ConfirmDelete()  
FUNCTION ConfirmDelete(fromUtil)  
FUNCTION CopyFrom(key$)  
FUNCTION CopyFrom(key$, copyShipTo$)  
FUNCTION Delete(key$)  
FUNCTION Delete(key$, fromUtil)  
FUNCTION DeleteBillToSoldTo(divNo$, custNo$)  
FUNCTION DeleteContacts(divNo$, custNo$)  
FUNCTION DeleteCreditCards(divNo$, custNo$)  
FUNCTION DeleteDeliveryOptions(divNo$, custNo$)  
FUNCTION DeleteITCreditCards(divNo$, custNo$)  
FUNCTION DeletePriceLevelByCust(divNo$, custNo$)  
FUNCTION DeleteShipToAddresses(divNo$, custNo$)  
FUNCTION RenumberCustomer(newDivNo$, newCustNo$, newSalespersonNo$)  
FUNCTION SetContactNew()  
FUNCTION SetCopyKeyValue(col$, val$)  
FUNCTION SetCRMID(value$)  
FUNCTION SetPromoteFailed()  
FUNCTION StripRequiredVal$(extension$)  
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: SY_Maint

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

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(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()