Class AR_SalespersonDocuments_bus

Properties

LOCAL cChildCollectionsSet=isFALSE  

This is a flag that is to denote that child collections have already been initialized. The inheritance in this object is potentially setting them up twice.

LOCAL cAddtlSetCols$="EmailCopy$"  

additional fields to add to the fields from the physical table when creating the memory table

LOCAL cAddtlSetSize=2  

additional value to add to the set size of the memory table

LOCAL cIsSysDB=isFALSE  

boolean value denoting whether the main table is a system table

LOCAL cMainTable$="AR_SalespersonDocuments"  

main table for class

PROPERTY CurrentSalespersonDivisionNo$  

current Salesperson Division Number

PROPERTY CurrentSalespersonNo$  

current Salesperson Number

PROPERTY Documents$   * Read Only *

list of documents that can be sent to salespeople

PROPERTY SO_SplitCommissions$   * Read Only *

current value of S/O Options Split Commissions field

Methods

FUNCTION CommitRow()  

Commit rows from memory table to physical table

Returns [boolean] True if successful, false if commit fails
FUNCTION ResetRow(key$)  

Reset a specific row

ParameterDescription
key$ [input,string] key of row to reset
Returns [boolean] Always returns True
FUNCTION ValidateGroupSplitCommissions()  

Validate Group Split Commissions

Returns [boolean] True if Split Commissions is enabled in S/O Options, False if not

Properties inherited from: PL_CommonKey_bus

cMainTable$, cIsSysDB, ActualCompanyALL, PaperlessType$, CompanyList$, ModuleList$, DocumentList$, EnabledFormTypes$, EnabledFormTypeTranslateList$, ReturnDocumentsWithModuleCode

Properties inherited from: PL_Constant

cDefaultMessage$, isALL$, isALLFILE$, isALLCOMPANY$, isALLMODULES$, isALLDOCUMENTS$, isBlank$, isRandom$, isSocialSecurity$, logJOURNALSANDREGISTERS$, logCUSTOMER$, logVENDOR$, logEMPLOYEE$, logREPORT$, logPERIODEND$, logFORMS$, frmINVOICES$, frmSTATEMENTS$, frmORDERS$, frmCHECKSTUBS$, frmDIRECTDEPOSITSTUBS$, frmCUSTOMERRMAS$, frmRMARECEIVERS$, frmRETURNORDERS$, frmQUOTES$, frmCustomerEmailHeader$, frmCustomerFaxHeader$, frmVendorEmailHeader$, frmVendorFaxHeader$, defaultPasswordMinLen, defaultPasswordMaxLen, tstPDFFile$, array.CompanyKey, array.CompanyCode, array.CompanyName, array.ModuleCode, array.ModuleName, array.ProgramName, array.ProgramDesc, emailDocumentType$, faxDocumentType$, covNONE, covLOCAL, covSERVER, covDEFAULT$, recipientTypeTO$, recipientTypeCC$, recipientTypeBCC$, attachFULLDESCRIPTION$, attachDOCUMENTNO$, deliveryTypeEMAIL$, deliveryTypeFAX$, deliveryStatusSUCCESSFUL$, deliveryStatusFAILURE$

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_SalespersonNo_val

ClassValidateSalespersonNo()

Methods inherited from: PL_CommonKey_bus

CheckPaperlessTypeFormExists(), CopyFrom(), GetCompanyInfo$(), GetDocumentInfo$(), GetDocumentList$(), GetModuleInfo$(), GetModuleList$(), GetTaskDescription$(), SetDefaults(), GetCompanyIndex(), GetDocumentIndex(), GetModuleIndex(), ValidateCompanyKey(), ValidateDocument(), ValidateDocumentType(), ValidateGroupPaperlessType(), ValidateModuleCode()

Methods inherited from: PL_Constant

DirectoryCheck(), GetDefaultCompanyParameter(), GetEDeliveryDropBoxDesc$(), LocationPathCheck(), ClassChangeDirectoryBrowse(), ClassOnFocusDirectoryBrowse(), ClassPushDirectoryBrowseBTN(), GetUNCNamedDrive(), InitializeArrays(), ParseTagField(), ResolveCSPath$()

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