Class SO_SalesOrderPayment_bus

Properties

LOCAL cMainTable$="SO_SalesOrderPayment"  

Name of payment table

LOCAL cDisplayedKey$="SalesOrderNo$"  
key to display in messages
LOCAL cDocumentKey$="SalesOrderNo$"  
document key field
PROPERTY CreditCardVoidReqd   * Read Only *
Boolean property, when true a Credit card transaction processed exists that requires a void when deleted

Methods

FUNCTION CommitRow()  

This function commits changes to physical file

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

Credit Card specific pre-BT_Accept validation logic

Returns [boolean] True = need to process credit card through Sage Exchange, False = no need to process credit card
FUNCTION DeleteAll()  

This function deletes all payment records for the current document

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

This function validates payment and deposit record before the document is written

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

This function gets data from SO_SalesOrder_bus

Returns [boolean] True = success, False = failure

Properties inherited from: SO_CommonPayment_bus

cIsSysDB, AllowCashCustomer, OneCardDepositSeqNo$, OneCardPaymentSeqNo$, MultiCC, CommonInfoIOL$, BillToSvcObj, NetDocumentTotal, DocumentTotal, InHeaderDocTotalCalc

Methods inherited from: SO_CommonPayment_bus

AddDeposit(), AddPayment(), AdjustPayment(), AuthorizedTransactionExists(), CheckDepositAmount(), CLEAR(), CommitRow(), CreditCardAuthorized(), CreditCardCheckRequired(), CreditCardDelete(), CreditCardPreAccept(), CreditCardPreWrite(), DefaultCustomerCreditCard(), DeleteAll(), DepositExists(), DocumentPreWrite(), GetNextSeqNo$(), InitPaymentObj(), MultiCCInUse(), NoValidationWrite(), PaymentPreAuthorized(), ProcessAllCreditCards(), RecalcCorporateSalesTax(), SetCommonInfo(), SetHeaderBusObj(), SetKey(), SetPaymentKey(), SetRecordKey(), VoidAuthorizedTransaction(), WRITE(), AdjustTransaction(), AllowVoid(), CheckPaymentMethod(), GetDepositSalesTax(), InitPreAuthAmtOverrd(), OneCardRecordsValidation(), ProcessCreditCardByCategory(), RecalcTax(), SetChildColl(), SetCurrentKey(), SetDefaults(), ValidateCreditCardAuthorizationNo(), ValidateCreditCardID(), ValidateGroupCCLevel3Hdr(), ValidatePaymentType(), ValidatePaymentTypeCategory(), ValidateTransactionAmt(), ValidateTransAmtCheckDeposit()