Class JC_JobBilling_bus

Properties

LOCAL cBatchModule$="J/C"  

Module code for batch processing

LOCAL cBatchTotalVars$="TaxableAmt+NonTaxableAmt-RetentionAmt+SalesTaxAmt"+SEP+"TaxableAmt"+SEP+"NonTaxableAmt"+SEP+"RetentionAmt"+SEP+"SalesTaxAmt"  
Field list of batch total calculation
LOCAL cBatchType$="02"  
Batch type
LOCAL cMainTable$="JC_JobBillingHeader"  
Table maintained by business object
LOCAL cIsSysDB=isFALSE  
System file identifier
LOCAL cRestartFile$="JC_JobBillingRestart"  
Table name for restart file
LOCAL cTaxModule$="J/C"  
Module code for tax calculation
PROPERTY JC_RetentionTaxable$   * Read Only *
Property that contains JC option Retention Taxable
PROPERTY AR_SalespersonCommRpting$   * Read Only *
Property that contains AR option Salesperson Commission Reporting
PROPERTY AR_SalesTaxReporting$   * Read Only *
Property that contains AR option Sales Tax Reporting
PROPERTY AR_OpenItemBalForward$   * Read Only *
Property that contains AR option Open Item or Balance Forward
PROPERTY AR_OpenInvoiceFH   * Read Only *
Property that contains file handle of AR Open invoice table
PROPERTY SalesTaxCalcObj   * Read Only *
Property that contains object handle for sales tax calculation
PROPERTY CustomerEInvoice$   * Read Only *
Customer option: eInvoice Payments (Y/N)
PROPERTY EInvoice$   * Read Only *
Company option: Enable Payments for eInvoices (Y/N)

Methods

FUNCTION AdjustCalculatedValue(column$, value)  

Adjusts the specified column by the value

ParameterDescription
column$ [input, string] column name
value [input, numeric] value for the column to set
Returns [boolean] True = success, False = failure
FUNCTION CalcCommissionAmt()  

Calculates commission

Returns [boolean] True = success, False = failure
FUNCTION ClearInvoice(job$)  

clears invoice record in table of used invoice number

ParameterDescription
job$ [input, string] job number
Returns [boolean] Always returns success
FUNCTION DELETE(key$)  

Deletes current record

ParameterDescription
key$ [input, string] key value of record to delete
Returns [numeric] 1 = success, 0 = failure, -1 = warning
FUNCTION GetNextInvoiceNo(nextInvoiceNo$)  

Gets next invoice number

ParameterDescription
nextInvoiceNo$ [output, string] retrieved next invoice number
Returns [boolean] True = success, False = failure
FUNCTION GetTaxClass(taxClass$)  

Gets tax class for fixed contract job

ParameterDescription
taxClass$ [output, string] "TX" or "NT"
Returns [boolean] True = success
FUNCTION RecalcRetentionAmt()  

Recalculates retention

Returns [boolean] Always returns success
FUNCTION RecalcSalesTax()  

Recalculates tax

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

Sets value of sales tax

Returns [boolean] Always returns success
FUNCTION ResetInvoice(InvNo$)  

Sets invoice type

ParameterDescription
InvNo$ [input, string] invoice number
Returns [boolean] Always returns success
FUNCTION SetCredit()  

Multiplies -1 for credit memo

Returns [boolean] Always returns success
FUNCTION SetPerformCreditCheck()  

Sets credit checking flag

Returns [boolean] Always returns success
FUNCTION SetRecalc()  

Sets flags for tax, retention, and commission recalculation

Returns [boolean] Always returns success
FUNCTION SetRecalcRetention()  

Sets flag for retention recalculation

Returns [boolean] Always returns success
FUNCTION SetTaxDetail(salesTax$, taxable$, nonTaxable$)  

Sets sales tax calculation detail

ParameterDescription
salesTax$ [input, string] sales tax amount
taxable$ [input, string] taxable amount
nonTaxable$ [input, string] none taxable amount
Returns [boolean] Always returns success
FUNCTION Write()  

Writes record

Returns [boolean] True = success, False = failure

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: SY_Customization

cDummyIol$

Methods inherited from: CI_ARDivision_val

ClassValidateARDivision()

Methods inherited from: CI_ARTerms_val

ClassValidateARTerms()

Methods inherited from: CI_CustomerFormatter

ParseCustomer()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_SalespersonNo_Val

ClassValidateSalespersonNo()

Methods inherited from: CI_TaxSchedule_Val

ClassValidateTaxSchedule()

Methods inherited from: JC_CommonEntry

SetChildColl()

Methods inherited from: SY_Customization

GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite()