Class AR_SalespersonDocuments_svc

Properties

LOCAL cIsSysDB=isFALSE  

boolean value denoting whether the main table is a system table

LOCAL cMainTable$="AR_SalespersonDocuments"  
main table for class

Methods

FUNCTION GetEmailAddress(tmpDocument$, tmpARDivNo$, tmpCustNo$, tmpSlspnDivNo$, tmpSlspnNo$, tmpTo$, tmpCc$, tmpBcc$)  

Get email address for a salesperson, returning the value as either To, Cc or Bcc based on setup for the document and salesperson

ParameterDescription
tmpDocument$ [input,string] Document being emailed
tmpARDivNo$ [input,string] A/R Division Number, only required if Document is 'A/R Statement'
tmpCustNo$ [input,string] Customer Number, only required if Document is 'A/R Statement'
tmpSlspnDivNo$ [input,string] Salesperson Division Number, only required if Document is not 'A/R Statement'
tmpSlspnNo$ [input,string] Salesperson Number, only required if Document is not 'A/R Statement'
tmpTo$ [output,string] contains salesperson email address when the setup has the recipient as To
tmpCc$ [output,string] contains salesperson email address when the setup has the recipient as Cc
tmpBcc$ [output,string] contains salesperson email address when the setup has the recipient as Bcc
Returns [boolean] True if successful, false if failure

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$, 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$

Properties inherited from: SY_Service

BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess

Methods inherited from: PL_Constant

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

Methods inherited from: SY_Service

BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl()