Class AR_CashReceipts_bus

Properties

LOCAL cMainTable$="AR_CashReceiptsHeader"  
LOCAL cIsSysDB=isFALSE  
LOCAL cPerformCreditChecking=isFALSE  
LOCAL cPerformCustomerStatusChecking=isTRUE  
PROPERTY AR_TrackJCRetentionRecvbls$=cAROptions_TrackJCRetentionRecvbls$  
PROPERTY AR_IntegrateJobCost$=cAROptions_IntegrateJobCost$  
PROPERTY AR_RetainDeletedInvoices$=cAROptions_RetainDeletedInvoices$  
PROPERTY AR_RetainDetailedInvHist$=cAROptions_RetainDetailedInvHist$  
PROPERTY JC_JobNoFormat$=cJCOptions_JobNoFormat$  
PROPERTY DepositObject   * Read Only *

Handle to AR_CashReceiptsDeposit_bus

PROPERTY DepositUIObject  

Handle to AR_CashReceiptsDeposit_ui

PROPERTY OpenItemCustomer   * Read Only *

Current AR_Customer OpenItemCustomer column value

PROPERTY ReceiptIOL$   * Read Only *

AR_CashReceiptsHeader IOList (compiled)

PROPERTY SkipVoid   * Read Only *

Returns the value of cSkipCCVoid, used by AR_CashReceiptsDeposit_bus'BatchPreDelete()

PROPERTY ProcessVoid   * Read Only *

Returns the value of cProcessCCVoid, used by AR_CashReceiptsDeposit_bus'BatchPreDelete()

PROPERTY EInvoice   * Read Only *

If true, eInvoicing is set up in System Configuration

Methods

FUNCTION AutoDistributeBalance()  
FUNCTION CheckHeaderLinesBalance()  

Verify total from the header is fully distributed on the detail lines

Returns [boolean] True = success, False = failure
FUNCTION Clear()  

Clear object record state

Returns [boolean] True = success, False = failure.
FUNCTION CreditCardPreWrite()  

Pre-Write Credit Card validations

Returns [boolean] True = success, False = failure
FUNCTION Delete(key$)  

Delete current record

ParameterDescription
key$ [input, string] key value of record to delete
Returns [boolean] True = success, False = failure, -1 = warning
FUNCTION FindCustomer(in.InvoiceNo$, out.Customer$, out.InvoiceNo$, out.InvoiceType$, out.InvoiceNoFH, out.FromInvHistory$)  
FUNCTION GetNextCreditCardEntryNo(nextCCEntryNo$)  

Get Next available Credit Card/ACH Entry Number.

ParameterDescription
nextCCEntryNo$ [output, string] next available entry number
Returns [boolean] True = success
FUNCTION InvoiceCollectionAdd(invNo$, Type$)  
FUNCTION InvoiceCollectionDelete(invNo$, Type$)  
FUNCTION SetHeader(header$)  
FUNCTION SetKey(key$)  

Override of base class SetKey(key$) to allow for pre-set key column validations

ParameterDescription
key$ [input, string], full AR_CashReceiptsHeader key value being set
Returns [integer] 0 = failure, 1 = success existing record retrieved, 2 = success new record
FUNCTION UpdateCorpSalesTax(divNo$, custNo$, invNo$, invType$, postingAdjustment)  

Update CorporateSalesTax for additions / edits made on a detail line

ParameterDescription
divNo$ [input, string] AR Division Number
custNo$ [input, string] AR Customer Number
invNo$ [input, string] Invoice Number
invType$ [input, string] Invoice Type
postingAdjustment [input, numeric] Detail line Add-In, Back-Out amount
Returns [boolean] True = success, False = failure
FUNCTION Write()  

Write current record

Returns [boolean] True = success, False = failure, -1 = warning

Properties inherited from: AR_CreditCardCommonEntry

SYS_CreditCardBatchAuthTrans$, AllowChangeAfterProcessing, AR_SalesTaxReporting$, oCustomerChild, CreditCardIdentifierCol$, CreditCardImpliedWrite, ProcessInBatch$, SwipeCard, CorporateID$, CCTransExistsInBatch, ACHTransExistsInBatch, CreditCardIDCols$, CreditCardAddressCols$, CustomerAddressCols$, VaultOnly, InFixMode, SaveVaultRecOnly, CreditCardDefaultErrorNum$, SE_ARAllowAddEditCreditCards, SE_ARAllowAddEditACH

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: CI_Invoice_val

InvoiceNoLength

Properties inherited from: SY_LineEntryHeader_bus

BatchEnabled, Lines, ScriptPreTotalsDone

Methods inherited from: AR_CreditCardCommonEntry

BatchPreDelete(), CheckCreditCardAccount(), CheckDeleteSecurity(), CheckRequired(), CreditCardPreClear(), CreditCardPreDelete(), CreditCardPreWrite(), CreditCardSetDocumentDefaults(), DefaultSalesTaxInfo(), CCTransInBatch(), CheckForCCPayments(), CleanUpVault(), CreditCardPostClear(), CreditCardPostDelete(), CreditCardPostWrite(), CreditCardTransAmt(), GetARSalesTax(), IsCreditCardAuthorized(), IsCreditCardGUIDOnFile(), SetCurrentKey(), SetDefaults(), ValidateAuthorizationTime(), ValidateCorporateCustIDPurchOrder(), ValidateCorporateSalesTax(), ValidateCorporateTaxOverrd(), ValidateCreditCardAuthorizationNo(), ValidateCreditCardTransactionID(), ValidateExpirationDateMonth(), ValidateExpirationDateYear(), ValidateGroupACH(), ValidateGroupCreditCard(), ValidateGroupPayment(), ValidatePaymentType(), ValidateSaveCreditCard()

Methods inherited from: CI_ARDivision_Val

ClassValidateARDivision()

Methods inherited from: CI_CommonInvoiceSelection_bus

InvoiceCollectionAdd(), InvoiceCollectionDelete(), InvoiceCollectionFind()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_Invoice_val

ClassOverrideInvoice()

Methods inherited from: CI_NextNumber

FormatLotSerialNo$(), IncrementSerialNo(), NextNumber(), FindPrefix(), GetColumnInfo(), IncrementNumber()

Methods inherited from: SY_FunctionHook

PostTableRead(), PreNextRecord(), PreTableWrite()

Methods inherited from: SY_LineEntryHeader_bus

ActivityLogOverride(), ActivityLogPrepare(), AddLine(), AFMapTotalColumns(), CLEAR(), CommitLines(), DELETE(), Delete(), DeleteLine(), EditLine(), InsertLine(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ResetLine(), ScriptPreTotals(), SetCurrentKey(), SetHeader(), Write(), WriteLine(), ActivityLogCreateFile(), ActivityLogWasLineRenumbered(), ClearLastRecord()