Class AR_CustomerShipToTaxExemptions_bus

Properties

LOCAL cMainTable$="AR_CustomerShipToTaxExemptions"  
LOCAL cIsSysDB=isFALSE  
LOCAL cPerformCreditChecking=isFALSE  
PROPERTY AuditTracking  

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

PROPERTY TaxCodesChanged   * Read Only *
PROPERTY FilterSet   * Read Only *

Methods

FUNCTION ApplyExemptions(tmpRecord$, tmpIOL$)  
FUNCTION Clear()  
FUNCTION ClearAll()  
FUNCTION Delete(key$)  

Deletes tax exemption record and updates audit tracking.

ParameterDescription
key$ [input, string] key to delete
Returns [boolean] retSUCCESS (1) or retFAILURE (0)
FUNCTION DeleteAll()  
FUNCTION ResetAll()  
FUNCTION ResetRow(key$)  
FUNCTION RestoreOriginalTaxExemptions(divNo$, custNo$, shipTo$)  

Restores original tax exemptions when changes are cancelled (used by customer maintenance)

Returns [boolean] retSUCCESS (1)
FUNCTION SaveOriginalTaxExemptions(divNo$, custNo$, shipTo$)  

Saves original tax exemptions before changes are made (used by customer maintenance)

Returns [boolean] retSUCCESS (1)
FUNCTION SetFilter(whereClause$, restrictKey$, tmpRecord$, tmpIOL$)  
FUNCTION SetFilter(whereClause$, restrictKey$, tmpRecord$, tmpIOL$, taxSchSrc$)  
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 tax exemption record and updates audit tracking.

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

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: SY_Maint

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

Properties inherited from: SY_MaintSet

FileChanged

Methods inherited from: CI_ARDivision_val

ClassValidateARDivision()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_ShipTo_val

ClassValidateShipTo()

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

Methods inherited from: SY_MaintSet

ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode()