Class AR_RepetitiveInvoice_bus

Properties

LOCAL cDefaultStopBillingDate$="59991231"  
LOCAL cDefaultTermsCode$  
LOCAL cIsSysDB=isFALSE  
LOCAL cMainTable$="AR_RepetitiveInvoiceHeader"  
LOCAL cBatchModule$="A/R"  
LOCAL cBatchTotalVars$="TaxableSalesAmt+NonTaxableSalesAmt-FreightAmt-SalesTaxAmt"+SEP+"TaxableSalesAmt"+SEP+"NonTaxableSalesAmt"+SEP+"FreightAmt"+SEP+"SalesTaxAmt"  
LOCAL cBatchType$="01"  
LOCAL cBrowseOmit$  
LOCAL cPerformCustomerStatusChecking=isTRUE  
PROPERTY AR_BillToCustomerRpting$   * Read Only *
PROPERTY AR_CommissionCalcBasedOn$   * Read Only *
PROPERTY AR_Divisions$   * Read Only *
PROPERTY AR_IntegrateJobCost$   * Read Only *
PROPERTY AR_PrintInvoices$   * Read Only *
PROPERTY AR_RetainDetailedInvHist$   * Read Only *
PROPERTY AR_RetainDeletedInvoices$   * Read Only *
PROPERTY AR_SalespersonCommRpting$   * Read Only *
PROPERTY AR_SalesTaxReporting$   * Read Only *
PROPERTY AR_SegmentForSalesPostings$   * Read Only *
PROPERTY CreateInvoice   * Read Only *
PROPERTY DefaultItemCode$ SET ERR ! From AR_Customer, used in UI   * Read Only *
PROPERTY JC_JobNoFormat$   * Read Only *
PROPERTY JC_RetentionTaxable$   * Read Only *
PROPERTY OverrideComission   * Read Only *
PROPERTY SalesTaxCalcObj   * Read Only *

Methods

FUNCTION AllowCreditCard()  
FUNCTION AllowCreditCard(field$)  

This function determines if credit card is allowed in the invoice.

ParameterDescription
reason$ {optional} [input, string] field that is being validated when this function is called.
Returns [boolean] True = allowed, False = not allowed.
FUNCTION ChangeTaxSchedule()  
FUNCTION Clear()  

Clear object record state

Returns [boolean] True = success, False = failure.
FUNCTION ClearLastRecord()  
FUNCTION CopyRepetitiveInvoice(fromCustomer$, fromReference$, copyMemos)  

Creates a new repetitive invoice from selected repetitive invoice, will copy memos if avaialable and selected to copy

ParameterDescription
fromCustomer$ [input, string] customer to copy repetitive invoice from
fromReference$ [input string] reference to copy repetitive invoice from
copyMemos {optional} [input, boolean] true to copy memos else false
Returns [boolean] returns True = success, False = lines not copied
FUNCTION DELETE(key$)  
FUNCTION GetContext$(destTable$)  
FUNCTION GetContextSourceTables$(context$)  
FUNCTION OpenSalesTaxCalc()  
FUNCTION RecalcTax()  
FUNCTION ResetSelectThisProcess(ARDivision$, CustomerNo$, ReferenceNo$)  
FUNCTION Update(ItemCode$)  
FUNCTION Write()  

Properties inherited from: AR_CommonEntry

cCalcRetnRate, cCreditAccepted, cOverrideCommission, cBrowseOmit$, AllowBillToOverride, RetentionPercent, BillToSvcObj, UseBillToCreditLimit, UseBillToCreditHold, UseBillToTermsCode

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: SY_Customization

cDummyIol$

Properties inherited from: SY_LineEntryHeader_bus

BatchEnabled, Lines, ScriptPreTotalsDone

Methods inherited from: AR_CommonEntry

AdjustCalculatedValue(), CalcCommissionAmt(), CalcRetentionRate(), PostFind(), RecalcRetentionAmt(), RecalcSalesTax(), SalesTaxRecalculation(), SetCommonInfo(), SetRecalc(), SetTaxDetail(), CheckJobCustomer(), DeleteTax(), SetCommonChildColl(), SetTax(), ValidateARDivisionNo(), ValidateBillToCustomerNo(), ValidateBillToDivisionNo(), ValidateCommission(), ValidateCommissionAmt(), ValidateCommissionRate(), ValidateCreditCardID(), ValidateFreightAmt(), ValidateGroupARDivisionRequired(), ValidateGroupARSalespersonReporting(), ValidateGroupARSalesTax(), ValidateGroupBillToCustomerRpting(), ValidateGroupJCIntegrated(), ValidateJobNo(), ValidatePaymentType(), ValidatePrintInvoice(), ValidateSalespersonDivisionNo(), ValidateSalespersonNo(), ValidateSoldTo()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_SalesPersonNo_val

ClassValidateSalespersonNo()

Methods inherited from: SY_Customization

GetCustomizations(), 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()