This class is used to Validate the Fields in the AP_VendorElectronicPayment Table. This table keeps track of the Bank Accounts by Vendor where the Vendor's payment will be deposited The purpose of this enhancement is to give users the ability to pay their vendors electronically. |
|
CI_APDivision_val, CI_CommonPII, CI_RoutingTransitNo_val, CI_VendorNo_val, SY_Maint, SY_MaintSet |
| LOCAL cMainTable$="AP_VendorElectronicPayment" |
| LOCAL cIsSysDB=isFALSE |
| PROPERTY AuditTracking |
[boolean] Flag to indicate whether to track changes in audit trail |
| PROPERTY CheckForBankAccountType |
| PROPERTY CheckForRoutingNo |
| PROPERTY CheckForPreNoteSent |
| FUNCTION CheckForInUse() | ||||
| FUNCTION CheckForPreNotePayments(div$, vendorNo$) | ||||
Method to search for Records with a PreNoteSent value of "Y" or "A" Called from ConfirmDelete method in AP_Vendor_Bus to ensure that user will get prompted to reset the PreNotSent value to "N" @RETURN (boolean) Success if records are found | ||||
| FUNCTION Delete(key$) | ||||
Deletes electronic payment record and updates audit tracking | ||||
| ||||
| ||||
| FUNCTION DeleteRecords(div$, vendorNo$) | ||||
Method to remove all records for current Vendor Called from Delete method in AP_Vendor_Bus @RETURN (boolean) | ||||
| FUNCTION GetNextPriority$(div$, vendorNo$) | ||||
Method returns next available Priority Number Will go to the end of the file for that Vendor and increment the Priority by 1 @RETURN (string) Next Priority Number | ||||
| FUNCTION GetYTDDepositAmt(div$, vendorNo$, bankAccountReference$, ytd) | ||||
| FUNCTION RenumberVendor(oDiv$, oVend$, nDiv$, nVend$, resetPreNote) | ||||
Update the Electronic Payment File and set the PreNotSent field back to "N" Always updating AP Vendor Electronic Payment File regardless of AP Option ACH Electronic Payment or Record Flag Enable Electronic Payment. We want to make sure if they have records in Electronic Payment File that they stay with the Vendor @RETURN (boolean) | ||||
| FUNCTION SetHeader(div$, vendorNo$, headerKy$) | ||||
| FUNCTION SetKeyValue(col$, val$) | ||||
| FUNCTION SwapLines(firstKey$, secondKey$) | ||||
Swaps the records, key remains the same, just swaps non key fields @RETURN (boolean) | ||||
| FUNCTION Write() | ||||
Writes electronic payment record and updates audit tracking | ||||
|
|
AllowSensitiveAccess |
|
HoldPayment, SeparateCheck |
|
cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest, SkipNullCheck$, AFSRequiredFields$ |
|
FileChanged |
|
ClassValidateAPDivision() |
|
GetDecryptedCols(), CheckEncryptedCols(), ClearEncryptedCols(), DecryptRec(), EncryptRec(), GetEncryptedCols(), InitEncryptInfo(), MaskColumnValue$(), ResetEncryptedCols() |
|
ClassValidateRoutingTransitNo() |
|
ClassValidateVendorNo() |
|
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() |
|
ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode() |
|