Class AR_Customer_bus

Properties

LOCAL cMainTable$="AR_Customer"  
LOCAL cIsSysDB=isFALSE  
LOCAL cPerformCreditChecking  
LOCAL cSearchAC_EntityName$="Customer"  

SY_SearchData_AC entity name

LOCAL cAllowMultipleEMailAddresses  
LOCAL cItemTypes$  
LOCAL cAliasItemTypes$  
LOCAL cAllowAliasItems  
LOCAL cAllowAliasItemsOTF  
PROPERTY AuditTracking  

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

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 AR_TrackCustomerChanges$   * Read Only *

Current value of Track Customer Changes in A/R Options

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: CI_CreditCardGUID_val

cARDivisionNoCol$, cCustomerNoCol$, AllowCreditCard, AllowACH

Properties inherited from: CI_CUConvertData

cCompanyEntityID$, cPersonEntityID$, cCompanyLinkFiles$, cPersonLinkFiles$, cAddressLinkFiles$, cCompanyCreateLinkFiles$, cPersonCreateLinkFiles$, cAddressCreateLinkFiles$, cCompanyWhereClause$

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: CI_ItemCode_val

cItemTypes$, cAllowAliasItems, cAliasItemTypes$, cItemCodeDescCol$, cItemTypeCol$, cExtDescKeyCol$, ItemTypes$, AllowAliasItems, AliasItemTypes$, ExtendedDescriptionBusiness, ItemCodeDescCol$, AllowPhantom, AllowEngineering, AllowInactive, InvalidPurchase, IMIntegrated

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_ARContact_val

ClassValidateARContact()

Methods inherited from: CI_ARDivision_val

ClassValidateARDivision()

Methods inherited from: CI_ARTerms_val

ClassValidateARTerms()

Methods inherited from: CI_CostCode_val

SetValidCostTypeForSOCC(), ClassValidateCostCode()

Methods inherited from: CI_Country_val

ClassValidateCountry()

Methods inherited from: CI_CreditCardGUID_val

ClassValidateCreditCardGUID()

Methods inherited from: CI_CUConvertData

CheckPostCode(), CloseTables(), CreateAdditionalLinks(), CreateLink(), CRMIDChanged(), DissolveLink(), FormatCountryToCRM(), FormatCountryToMAS(), FormatInactiveReasonToCRM(), FormatPersonToCRM(), FormatPersonToMAS(), FormatPhoneNumberToCRM(), FormatPhoneNumberToMAS(), FormatStateToMAS(), FormatTaxScheduleToCRM(), FormatTermsCodeToCRM(), GenerateContactCode$(), GenerateNewCRMID(), GenerateShipToCode$(), GenerateTimeStamp$(), GetAddressLinkID$(), GetEmailLinkID$(), GetPhoneLinkID$(), GetTaxSchedule(), LinkedToCRM(), PromoteCompanyToCustomer(), PushData(), PushMasData(), SetCustomerTemplate(), CheckColumnsToSkip(), GetCRMValidationGroupMembers$(), PERFORM InstantiateLinkObject(), PERFORM OpenCountryFile(), OpenTable(), PushDataReadLine(), PERFORM SetCRMCompanyFields(), PERFORM SetKeyLength(), PERFORM TranslateField(), UpdatePrimaryContactID(), ValidateGroupCRM()

Methods inherited from: CI_CustomerFormatter

ParseCustomer()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_ItemCode_val

Write(), PERFORM CheckForAlias(), PERFORM CheckUseIn(), CheckValidBill(), ClassOverrideDescription(), ClassOverrideItemCode(), ClassValidateDescription(), ClassValidateItemCode(), ItemTypeSetDefaults(), PERFORM ItemTypeSetDefaults(), UpdateGridExtendedDescKey(), ValidateGroupNotCurrentItemType()

Methods inherited from: CI_PaymentType_val

ClassValidatePaymentType()

Methods inherited from: CI_SalespersonNo_val

ClassValidateSalespersonNo()

Methods inherited from: CI_ShipCode_val

ClassValidateShipCode()

Methods inherited from: CI_ShipTo_val

ClassValidateShipTo()

Methods inherited from: CI_TaxSchedule_val

ClassValidateTaxSchedule()

Methods inherited from: CI_ZipCode_val

ClassValidateZIPCode()

Methods inherited from: SY_FunctionHook

PostTableRead(), PreNextRecord(), PreTableWrite()

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