Class AR_CashReceiptsDeposit_bus

Inherits

SY_Maint

Properties

LOCAL cMainTable$="AR_CashReceiptsDeposit"  
LOCAL cIsSysDB=isFALSE  
LOCAL cBatchModule$="A/R"  
LOCAL cBatchType$="02"  
LOCAL cBatchTotalVars$="DepositBalance"  
LOCAL cBrowseIndex$  
PROPERTY BatchEnabled  
PROPERTY ErrorBatchNo$  
PROPERTY AllowACH   * Read Only *

AllowACH = Booleon when true ACH is enabled in company maintenance

PROPERTY AllowCreditCard   * Read Only *

AllowCreditCard = Booleon when true AR_Options.AllowCreditCard$ is set to Yes (Currently, this option is only applied in Cash Receipts Entry)

PROPERTY RequireDepositAmt$   * Read Only *

RequireDepositAmt$ = AR Option.RequireDepositAmt$ value

PROPERTY AllowCreditCardVoidReAuth   * Read Only *

AllowCreditCardVoidReAuth = Booleon when true user has the right to void / reauthorize previously authorized credit card transactions

PROPERTY AllowACHVoidReAuth   * Read Only *

AllowACHVoidReAuth = Booleon when true user has the right to void / reauthorize previously authorized ACH transactions

PROPERTY AuthorizedCCTransExists   * Read Only *

Boolean property that when true indicates a record exists in the cash receipt deposit that contains an authorized credit card transaction tied to a payment type setup to process credit card transactions via SPS Exchange.

PROPERTY ARPeriodStartingDate$   * Read Only *
PROPERTY GLPeriodStartingDate$   * Read Only *

Starting date of current GL fiscal period

Methods

FUNCTION BatchPreDelete(tmpBatchNo$)  
FUNCTION CheckDeleteSecurity(tmpBatchNo$)  

Standard method in SY_BatchManagerSelect_UI useed to determine if selected batch can be deleted, overridden to check for credit card transactions and if the user has sufficient rights to void credit card transactions and delete records with them

Returns [boolean] True = Batch can be deleted, False = User does not have sufficient rights to delete
FUNCTION CLEAR()  
FUNCTION CreditCardPreDelete()  

Determines if document has authorized SPS credit card transaction that needs to be voided

Returns [numeric] (1) no transaction found

(0) transaction found and user has no right to void (-1) transaction found and user has right to void

FUNCTION DELETE(key$)  
FUNCTION DeleteBatch(batchNo$)  
FUNCTION GetBatchHandle(UIObj)  
FUNCTION GetBatchTotalVars(vars$)  
FUNCTION GetBatchTotalVars(vars$, reverse)  
FUNCTION GetCurrentDepositEntries(tmpCash, tmpCredit, tmpACH)  
FUNCTION GetNextDepositNo(value$)  
FUNCTION GetNextDepositNo()  
FUNCTION MergeBatchAdditional(tmpSourceBatch$, tmpDestBatch$)  

Merge a batch

ParameterDescription
tmpSourceBatch$ [input, string] source batch number to merge
tmpDestBatch$ [input, string] destination batch number to merge
Returns [boolean] True = success
FUNCTION MoveFirst()  
FUNCTION MoveLast()  
FUNCTION MoveNext()  
FUNCTION MovePrevious()  
FUNCTION ProcessCCVoid()  

sets the cProcessVoid local property to true so the the credit card void transaction will be processed when previously authorized when deleting (existing records) or clearing (new records) the record state

Returns [boolean] True = success, False = failure (the user does not have sufficent security rights to process the void transaction).
FUNCTION RenumberBatchAdditional(tmpSourceBatch$, tmpDestBatch$)  

Renumber a batch

ParameterDescription
tmpSourceBatch$ [input, string] source batch number to renumber
tmpDestBatch$ [input, string] destination batch number to renumber
Returns [boolean] True = success
FUNCTION SelectBatch(batchNo$)  
FUNCTION SelectNewBatch(batchNo$, private$, comment$)  
FUNCTION SetBatchTotalVars(vars$)  
FUNCTION SetCurrentKey(key$)  
FUNCTION SetDefaults()  
FUNCTION SkipCCVoid()  

sets the cSkipCCVoid local property to true so the the credit card void transaction will not be processed when previously authorized when deleting (existing records) or clearing (new records) the record state

Returns [boolean] True = success, False = failure (the user does not have sufficent security rights to skip the void transaction).
FUNCTION TransferBatchAdditional(tmpSourceBatch$, tmpDestBatch$)  

Transfer documents in deposit to another batch

ParameterDescription
tmpSourceBatch$ [input, string] source batch number to transfer from
tmpDestBatch$ [input, string] destination batch number to transfer to
Returns [boolean] True = success
FUNCTION VerifyBatch(batchNo$, batchTotals$, count)  

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