ProcessLumpSumBillingLine

Process Lump Sum Billing Line for Contract Billing Invoice

Minor Business Rule

Object Name: N5200208

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Process Lump Sum Billing Line

Source Name:N5200208
Data Structure:
D5200208
Function Name:ProcessLumpSumBillingLine

System Code:52
Function Category:
BAT
Function Use:
UPD
Designer:
Ira Frosch
Programmer:Ira Frosch


Revisions Log 
   Date   Modified bySAR NumberDescription
30 July 99Ira Frosch3231605Creation
08 Sept 99Ira Frosch33033189Add Schedule of Values Billing Limit Stop


1.Functional Description

1.1Purpose
This business function will perform the processing to create Workfile records (F4812) for a Lump Sum 
billing line.


1.2Setup Notes and Prerequisites

An F4812 cache should be created before entry into this business function.  The invoice number and 
pay item (Data Dictionary Item SFX) should be determined as well.


1.3Special Logic

This business function will perform the appropriate calculation for Lump Sum lines.  Only Domestic 
amounts are considered for the calculation (No foreign use in calculation).  This is required because 

only domestic amounts are stored in Job Cost.


The calculation is done in the following way:


1.Check if the current recurring billing matches the five current recurring billing codes.  If yes, 
create record for amount and stop.  If the Schedule of values is not equal to zero, calculate the 

remaining amount left. Subtract the previous taxable billed to date from the schedule of values, and bill 

up to the recurring bill amount.  (For example, if previous billed to date = 5000, the schedule of 

values = 6000, and recurring bill amount = 2500, the remaining amount = 1000 (6000  5000) and the current 

bill amount = 1000.

2.Select and loop through F5212 records for this billing line and perform steps 3-8.

3.For each line, check to see if there if subsidiary or object = '*ALL'.  If yes, change value to 

all '*'

4.If no wildcards, check if account exists, next perform step 8, if first, retrieve Defined Ledger 

and then perform step 9.

5.If wildcard exists in object only, loop over F0901 with MCU and SUB match, check object with 

wildcard and perform step 8 for each match.

6.If wildcard exists in subsidiary only, loop over F0901 with MCU and OBJ match, check subsidiary 

with wildcard and perform step 8 for each match.

7.If wildcard exists in both object and subsidiary , loop over F0901with MCU, check subsidiary and 

object with wildcards and perform step 8 for each match.

8.For each match, retrieve from balances: Cost-Inception to Date, Actual Cost  This Period, 

Projected Final  Inception to Date. Accumulate for multiple F5212/F0901 lines.

9.If Calculation method = ' ', '2', '9'  perform Percent of Cost Method calculation

a. Markup Amt = SCOF  Project Final (ITD)

b. Markup % = Markup Amt / Project Final (ITD)  (If Project Final = 0, Markup % = 1)

c. Bill Amt 1 = Markup % * Actual Cost (This Period)

d. Current Amt 1 = Bill Amt 1  Previous Taxable Invoice Amt

10.If Calculation Method = ' ' , '1', '9', perform Percent Complete Method calculation

a. % Complete = Actual Cost (ITD) / Project Final (ITD) (If Project Final = 0, do not perform 

calculation)

b. Bill Amt 2 = % Complete * SCOF

c. Current Amt 2 = Bill Amt 2 - Previous Taxable Invoice Amt 

11.If Calculation Method = ' ' , '3', '9', perform Defined Ledger Method calculation

a. Bill Amt 2 = % Complete (from passed ledger) * SCOF

c. Current Amt 2 = Bill Amt 2 - Previous Taxable Invoice Amt 

12.If Calculation Method <> '9', Invoice Taxable Amt = Greater of ( |Current Amt 1| , |Current Amt 

2|, |Current Amt 3|), else Invoice Taxable Amt = Lesser of (| Current Amt 1|, |Current Amt 

2|,|Current Amt 3|)

13.Create F4812CacheRecord


If the information from the F5201/F5202 is not passed in, the system will retrieve it during the 

creation of the Default Invoice line.  



2.Technical Specifications


2.1Parameters:

See attachment for D5200208.

2.2Related Tables 

Table Table Description
F5212Lump Sum Cross Reference
F0901Account Master

F0902Account Balances


2.3Related Business Functions

Source NameFunction Name
X0051Retrieve G/L Balances
N5200150Wildcard Account Matching

N5200200CreateCBDefaultInvoice WorkfileRecord

XX0901Retrieve Account Master


2.4Processing 

//
// Process a lump sum line

//

evt_cRecordFound = ' '

//

// In case there is no recurring bill code or bill amount

//

evt_mnBillAmt = 0

evt_mnLedgerPercent = 0

//

// Check Recurring Billing Codes

//

If BF szBLRecurBillCode <> '   '

If BF szBLRecurBillCode = (szCmpRecurBillingCode1, szCmpRecurBillingCode2, 
szCmpRecurBillingCode3, szCmpRecurBillingCode4, szCmpRecurBillingCode5)

If BF szCurrencyMode = 'D'

if BF Schedule of Values != 0

evt_mnRemainingAmt = (BF Schedule of Values  BF Prior Taxable)
If mnRemainingAmt > BF mnRecurBillAmt
evt_mnBillAmt = BF mnRecurBillAmt
Else
evt_mnBillAmt = mnRemainingAmt

Endif

Else

evt_mnBillAmt = BF mnRecurBillAmt
Endif


Else
if BF Foreign Schedule of Values != 0

evt_mnRemainingAmt = (BF For Schedule of Values  BF Foreign Prior Taxable)
If mnRemainingAmt > BF mnForRecurBillAmt
evt_mnBillAmt = BF mnForRecurBillAmt

Else
evt_mnBillAmt = mnRemainingAmt
Endif
Else

evt_mnBillAmt = BF mnForRecurBillAmt
Endif


Endif
evt_cRecordFound = '1'

Endif

Endif

//

// If record not found, perform search through F5212

// 

If evt_cRecordFound = ' '

F5212.Select
//

If evt_cF5212Status = cOK
Do While evt_cF5212Status = cOK

F5212.FetchNext

//

If evt_cF5212Status = cOK

//

// Check if *ALL in Object or Subsidiary

// 

If szF5212_OBJ = '*ALL'

szF5212_OBJ = '******'

Endif

If szF5212_SUB = '*ALL'

szF5212_SUB = '******'

Endif

//

// Check if wildcards exist in OBJ or SUB

//

Call DoesWildcardExist(N5200090) (OBJ)

Call DoesWildcardExist(N5200090) (SUB)

//

// If first record and wildcard does not exist, retrieve specified ledger % for later calculation

//

//

// If wildcards do not exist

//

If cObject_Wildcard = ' ' and cSubsidiary_Wildcard = ' '

// 

// Retrieve account by MCU, OBJ, SUB

//

Call Check For Account Existence (XX0901) (with parameters szF5212_MCU, 
szF5212_OBJ, sF5212_SUB)

//

// Retrieve Cost-ITD, Cost-This Period, Projected Final from X0051 and add to accumulators 

//

//

// If first record, retrieve specified ledger % for later calculation

//

If $FIRST and ' ','3','9'

//

// Retrieve Percent from ledger type

//

Else

//

// Test Wildcards  1. Object Wildcard, no Sub wildcard 

//

If cObject_Wildcard = '1' and cSubsidiary_Wildcard = ' '

F0901.Select (szF5212_MCU, szF5212_SUB)

Do while Not EOF_F0901

F0901.FetchNext

If Not EOF_F0901

//

// Check if the wildcard matches 

//

Call Wildcard Account Matching (N5200150) 
(szF5212_OBJ,szF0901_OBJ)

If match
//

// Retrieve Cost-ITD, Cost-This Period, Projected Final from X0051 and add to accumulators 

//

Endif
Endif

End While

Endif

//

// Test Wildcards  2. No object Wildcard, Subsidiary wildcard

//

If cObject_Wildcard = ' ' and cSubsidiary_Wildcard = '1'

F0901.Select (szF5212_MCU, szF5212_OBJ)

Do while Not EOF_F0901

F0901.FetchNext

If Not EOF_F0901

//

// Check if the wildcard matches 

//

Call Wildcard Account Matching (N5200150) 
(szF5212_SUB,szF0901_SUB)

If match
//

// Retrieve Cost-ITD, Cost-This Period, Projected Final from X0051 and add to accumulators 

//

Endif
Endif

End While

Endif

//

// Test Wildcards  3. Object Wildcard + Subsidiary wildcard

//

If cObject_Wildcard = '1' and cSubsidiary_Wildcard = '1'

F0901.Select (szF5212_MCU, szF5212_OBJ)

Do while Not EOF_F0901

F0901.FetchNext

If Not EOF_F0901

//

// Check if the wildcard matches 

//

Call Wildcard Account Matching (N5200150) 
(szF5212_SUB,szF0901_SUB)

Call Wildcard Account Matching (N5200150) 

(szF5212_OBJ,szF0901_OBJ)

If match on both

//

// Retrieve Cost-ITD, Cost-This Period, Projected Final from X0051 and add to accumulators 

//

Endif
Endif

End While

Endif

Endif

Endif

Enddo

Endif

//

// Perform Calculations 

// 

// First, clear all workfields

//

evt_mnBillAmt1 = 0

evt_mnCurrentAmt1 = 0

evt_mnBillAmt2 = 0

evt_mnCurrentAmt2 = 0

evt_mnBillAmt3 = 0

evt_mnCurrentAmt3 = 0

//

// Perform Percent of Cost Calculation if necessary

//

If BF cLumpSumCalculationMethod = ' ', '2','9'
// 

// Calculate Markup Amt 

//

evt_mnMarkupAmt1 = BF mnScheduleOfValues  evt_mnProjectedFinal 
//

// Calculate Markup % 

//

If evt_ProjectedFinal <> 0

evt_mnMarkupPct = evt_mnMarkupAmt1 / evt_ProjectedFinal
Else

evt_mnMarkupPct = 1.00

Endif

// 

// Calculate Bill Amt 1

//

evt_mnBillAmt1 = evt_mnMarkupPct * evt_mnActualCostThisPeriod 

//

// Calculate Current Amt 1 (* Change from WorldSoftware  Taxable used instead of total)

//

evt_mnCurrentAmt1 = evt_mnBillAmt1  BF PreviousInvoiceTaxableAmt

//

Endif

//

// Calculate Percent Complete Method if necessary

//

If BF cLumpSumCalculationMethod = ' ', '1','9'

//

// Calculate % Complete  If projected final = 0, % complete = 0

//

If evt_ProjectedFinal 

Data Structure

D5200208 - Process Lump Sum Billing Line for Contract Billing Invoice

D5200208
Process Lump Sum Billing Line for Contract Billing Invoice


Parameters:


Data
ItemData Structure DescriptionI/ORequiredNotes

DOCOmnContractNoIY
DCTOszContractDocumentTypeIY

KCOOszContractKeyCoIY

COCHszContractChangeOrderIY

LNIDmnContractLineNoIY

ICUmnBatchNoIY

DTTOjdDateBillThruINIf zero, the system will

use the current date.

APDTjdApplicationDateIY

DGJjdGeneralLedgerDateIY

DSVJjdServiceDateIY

ERDBcExchangeRateDateBasisIY

RRBCszCmpRecurBillingCode1IYThis is the current invoice

Recur Bill Code

RRBCszCmpRecurBillingCode2IYThis is the current invoice

Recur Bill Code

RRBCszCmpRecurBillingCode3IYThis is the current invoice

Recur Bill Code

RRBCszCmpRecurBillingCode4IYThis is the current invoice

Recur Bill Code

RRBCszCmpRecurBillingCode5IYThis is the current invoice

Recur Bill Code

LSCMcLumpSumCalculationMethodIY'1'  Percent Complete,

'2'  Percent of cost,

'3'  Defined Ledger,

'9'  lesser of methods,

' ', the greater of the

methods

LTszLumpSumLedgerTypeIYLedger Type for calculating

method '3'

ERRCcErrorCodeONThis returns if there was

any errors

DOCZmnInvoiceNoIY

DCTIszInvoiceDocumentTypeIY

KCOIszInvoiceKeyCompany IY

SFXszPayItemIYThis is the pay item of

the billing line on the

invoice.

CRCDszBaseCurrencyINIf multicurrency is on,

this field is required.

CRCFszForeignCurrencyINIf multicurrency is on,

this field is required.

CRRMcCurrencyModeINIf multicurrency is on,

this field is required.

This is the mode from

the contract.

CRRDmnCurrencyRateINIf multicurrency is on,

this field is required.

This is the rate calculated

for this date.

SCOFmnScheduleOfValuesIN

FSOFmnForeignScheduleOfValuesIN

PTHPmnPriorInvTotalAmtIN

PATXmnPriorInvTaxableAmtIN

PTHPmnPriorInvTotalAmtIN

PATXmnPriorInvTaxableAmtIN

PTHPMnPriorInvPeriodAmtINThis period

DL01szBillingLineDescriptionIN

OPIMszBillingLineIN

PRTPcBillingLineTypeIN

MCUSszProjectNoINRequired for Default

Invoice record. Should be

from F5202 table.

EXR1szTaxExplanationCodeIN

TXA1szTaxRateAreaIN

PCTNszParentContractNoIN

PCTTszParentContractTypeIN

PCKOszParentContractKeyCoIN

JMCUszHostBusinessUnitIYUsed to determine the RP12

from the Business Unit

Master. (From F5201)

ACCOcAccountOverrideFlagINDetermines whether to set

override revenue account

MCUszBusinessUnitIYBusiness Unit from

F5202

OBJszObjectINNeeded only for override

revenue account

SUBszSubsidiary INNeeded only for override

revenue account

SBLszSubledgerIN

SBLTszSubledgerTypeIN

RRBCszBLRecurBillingCodeINThis is the Recurring

Billing Code from the

Billing Line

RRBAmnRecurBillAmtIN

FRBAmnForRecurBillAmtIN

VVTXcVertexActiveINRequired for Vertex

JOBSmnVertexJobNumberINRequired for Vertex

UmnUnitsON

AAmnCostAmtON

ITOLmnInvoiceTotalAmtON

ITAMmnInvoiceTaxAmtON

ITXAmnInvoiceTaxableAmtON

JTAXMnJournaledTaxON

IDSCmnDiscountAmtON

AA2mnCostAmtFON

CITLmnForInvTotalAmtON

CITXmnForInvTaxAmtON

CITAmnForInvTaxableAmtON

JTXFmnForJrnlTaxAmtON

CIDSmnForInvDiscountAmtON


Parameter NameData ItemData TypeReq/OptI/O/Both
mnContractNoDOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szContractDocumentTypeDCTOcharOPTINPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szContractKeyCoKCOOcharOPTINPUT

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szContractChangeOrderCOCHcharOPTINPUT

The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a 
change order for a contract, the system automatically increases the change order number by one. For example, the base contract is the change 
order number 000, the first change order is 001, the second is 002, and so on.

mnContractLineNoLNIDMATH_NUMERICOPTINPUT

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnBatchNumberICUMATH_NUMERICOPTINPUT

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

jdDateBillThruDTTOJDEDATEOPTINPUT

The ending date for which the transaction or code is applicable.

jdApplicationDateAPDTJDEDATEOPTINPUT

The date of the last or current application. (An application is assigned each time an invoice is issued for the contract.)

jdGLDateDGJJDEDATEOPTINPUT

A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

jdServiceDateDSVJJDEDATEOPTINPUT

A date that indicates when you purchased goods or services, or when you incurred a tax liability. 

cExchangeRateDateBasisERDBcharOPTINPUT

A code that controls which date the system uses to retrieve the exchange rate for the invoice. Valid values are: 1 Use the invoice date 
(default). 2 Use the G/L date of the invoice.

szRecurBillingCode1RRBCcharOPTINPUT

A code that specifies the frequency of the recurring billing amount for the billing line, such as M, MO, or MON for monthly. You can generate 
invoices that include a recurring billing amount by specifying the recurring billing code in the processing options for the Invoice Generation 
program (R52121) or on the Create Manual Invoice form of the Create Manual Invoice program (P52121). Valid values are stored in UDC 
52/RB.

szRecurBillingCode2RRBCcharOPTINPUT

A code that specifies the frequency of the recurring billing amount for the billing line, such as M, MO, or MON for monthly. You can generate 
invoices that include a recurring billing amount by specifying the recurring billing code in the processing options for the Invoice Generation 
program (R52121) or on the Create Manual Invoice form of the Create Manual Invoice program (P52121). Valid values are stored in UDC 
52/RB.

szRecurBillingCode3RRBCcharOPTINPUT

A code that specifies the frequency of the recurring billing amount for the billing line, such as M, MO, or MON for monthly. You can generate 
invoices that include a recurring billing amount by specifying the recurring billing code in the processing options for the Invoice Generation 
program (R52121) or on the Create Manual Invoice form of the Create Manual Invoice program (P52121). Valid values are stored in UDC 
52/RB.

szRecurBillingCode4RRBCcharOPTINPUT

A code that specifies the frequency of the recurring billing amount for the billing line, such as M, MO, or MON for monthly. You can generate 
invoices that include a recurring billing amount by specifying the recurring billing code in the processing options for the Invoice Generation 
program (R52121) or on the Create Manual Invoice form of the Create Manual Invoice program (P52121). Valid values are stored in UDC 
52/RB.

szRecurBillingCode5RRBCcharOPTINPUT

A code that specifies the frequency of the recurring billing amount for the billing line, such as M, MO, or MON for monthly. You can generate 
invoices that include a recurring billing amount by specifying the recurring billing code in the processing options for the Invoice Generation 
program (R52121) or on the Create Manual Invoice form of the Create Manual Invoice program (P52121). Valid values are stored in UDC 
52/RB.

cLumpSumCalculationMethodLSCMcharOPTINPUT

   Use this option to determine how lump sum lines are calculated. Valid values are:    Blank Use the greater of methods 1 and 2. The system 
defaults to Blank.    1       Calculate using the Percent Complete method. This method is calculated in the following manner: ((Actual 
Cost/Projected Final Cost) * Schedule of Values) - Prior Billed.    2       Calculate using the Markup Percent of Cost method. This method is calculated in 
the following manner: (((Schedule of Values -          Projected Final Cost) / Projected Final Cost) * (Actual Cost This Period)) - (Prior Billed 
This Period).    3       Calculate using the Defined Ledger method This method is calculated in the following manner: ((Percent Complete from 
Defined Ledger) *          Schedule of Values) - Prior Billed    This method only considers the first cross-reference account. If the account includes 
wildcards, the calculation will not be performed.            If the ledger is not entered, the F% ledger will be used.    9       Use the lesser of methods 1 
and 2.

szLumpSumLedgerTypeLTcharOPTINPUT

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

cErrorCodeERRCcharOPTINPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

mnInvoiceNoDOCZMATH_NUMERICOPTINPUT

The original document number.  This can be a voucher, an invoice, unapplied cash, a journal entry number, etc.  Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems.  See matching document 
(DOCM).  This document number (DOCO) is always the original document number, and the matching document number (DOCM) is the check, 
adjustment, or credit to be applied against the original document. For example: A/P Automated/Manual Payment: Original (DOCO) - Voucher; 
Matching Document (DOCM) - Payment  A/R Original Invoice: Original (DOCO) - Invoice  Receipt Application: Original (DOCO) - Invoice; Matching 
Document (DOCM) - Receipt Credit Memo/Adjustment: Original (DOCO) - Invoice; Matching Document (DOCM) -Credit Memo  Unapplied 
Case: Original (DOCO) - Receipt

szInvoiceDocumentTypeDCTIcharOPTINPUT

A user defined (00/DI) document type for invoice entry. Any document type set up for invoice-only entry should begin with the letter R 
(receivables). The default is RI, RR, or RM. Reserved document types have been defined for vouchers, invoices, receipts, and time sheets. The 
reserved document types are: P_ Accounts Payable Documents R_Accounts Receivable Documents T_ Payroll Documents I_Inventory 
Documents O_ Order Processing Documents  Note: Verify that the default document type for invoices is set up in both UDC 00/DT and UDC 00/DI.

szInvoiceKeyCoKCOIcharOPTINPUT

Invoice Document Company.

szInvoicePayItemSFXcharOPTINPUT

A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.

szBaseCurrencyCRCDcharOPTINPUT

A code that identifies the currency of a transaction. 

szForeignCurrencyCRCFcharOPTINPUT

The currency code of the insured amount.

cCurrencyModeCRRMcharOPTINPUT

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

mnCurrencyRateCRRDMATH_NUMERICOPTINPUT

A number (exchange rate) that a foreign currency amount is divided by to calculate a domestic currency amount. The number you enter in 
this field can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

mnScheduleOfValuesSCOFMATH_NUMERICOPTINPUT

The expected or budgeted amount assigned to a specific line item of the contract. The system uses this amount in conjunction with the 
percent of completion to calculate billing and retainage.

mnForeignScheduleofValuesFSOFMATH_NUMERICOPTINPUT

The foreign expected or foreign budgeted amount assigned to a specific line item of the contract. The system uses this amount in 
conjunction with the percent of completion to calculate billing and retainage.

mnPriorInvTotalAmtPTHPMATH_NUMERICOPTINPUT

The amount previously billed this period for the line item on the contract.

mnPriorInvTaxableAmtPATXMATH_NUMERICOPTINPUT

mnPriorInvPeriodAmtPTHPMATH_NUMERICOPTINPUT

The amount previously billed this period for the line item on the contract.

szBillingLineDescriptionDL01charOPTINPUT

A user defined name or remark.

szBillingLineOPIMcharOPTINPUT

The pay item number as defined by the owner. This field is alphanumeric and can be up to 15 characters in length. It is recommended that 
you use numeric information for this pay item number.

cBillingLineTypePRTPcharOPTINPUT

A code that specifies the billing terms that are defined by the billing line on the contract. The system uses the predefined codes for the 
pricing type to access formulas and other information related to the calculation of billing and revenue amounts for the billing line. Valid alphabetic 
codes are: B Burden T Time and Materials U Unit Price L Lump Sum F Fee Line C Component M Milestone P Progress D Direct Draw R Rated 
Draw Valid numeric codes are: 0 Burden 1 Time and Materials 2 Unit Price 3 Lump Sum 4 Fee Line 5 Component 6 Milestone 7 Progress 8 Direct 
Draw 9 Rated Draw

szProjectNoMCUScharOPTINPUT

Either a subsequent business unit or a project number. A subsequent business unit specifies where to charge costs (or revenues) when the 
original business unit has been closed or suspended. For example, the subsequent business unit can be used in corporate reorganizations 
when you close a business unit and direct all costs to the subsequent business unit. In this situation, you must enter journal entries to transfer 
existing balances. A project number is used to group business units within an overall business unit. For example, you can group jobs by 
project. In this case, the project business unit can also have accounts for tracking overhead costs that can be allocated to jobs.

szTaxExplanationCodeEXR1charOPTINPUT

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szTaxRateAreaTXA1charOPTINPUT

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

mnParentContractNumberPCTNMATH_NUMERICOPTINPUT

The parent contract number to which this particular contract is attached.

szParentContractTypePCTTcharOPTINPUT

The parent contract type to which this particular contract is attached.

szParentContractKeyCoPCKOcharOPTINPUT

Parent Contract Document Company.

szHostBusinessUnitJMCUcharOPTINPUT

The Business Unit responsible for the job.  This is particularly useful during transfer pricing.

cAccountOverrideFlagACCOcharOPTINPUT

An option that specifies whether the account information for a billing line identifies a revenue or cost (source) account. The system 
automatically supplies the account information (business unit, object, subsidiary, subledger, and subledger type) from the automatic accounting 
instructions (system 52, code BC). You can also enter a specific account. All billing lines, with the exception of T and M, use the account 
information.  Note: When this option is set to 1, the account information identifies a cost account. The system processes the billing line against the 
Billing AAI Information table (F48S95) during journal generation. This is similar to how the system processes a T and M billing line.

szBusinessUnitMCUcharOPTINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szObjectOBJcharOPTINPUT

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szSubsidiarySUBcharOPTINPUT

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

szSubledgerSBLcharOPTINPUT

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTINPUT

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szBLRecurringBillingCodeRRBCcharOPTINPUT

A code that specifies the frequency of the recurring billing amount for the billing line, such as M, MO, or MON for monthly. You can generate 
invoices that include a recurring billing amount by specifying the recurring billing code in the processing options for the Invoice Generation 
program (R52121) or on the Create Manual Invoice form of the Create Manual Invoice program (P52121). Valid values are stored in UDC 
52/RB.

mnRecurBillingAmtRRBAMATH_NUMERICOPTINPUT

A fixed amount you want to bill with each recurring frequency.

mnForRecurBillingAmtFRBAMATH_NUMERICOPTINPUT

A fixed amount that you want to bill with each recurring frequency.

cVertexActiveVVTXcharOPTINPUT

This flag determines whether to use the Vertex Tax Compliance system for tax calculations.  Values are: Y  Use Vertex system to calculate 
taxes.  N Do not use Vertex system to calculate taxes.  Instead, use JDE tax calculations. 

mnVertexJobNumberJOBSMATH_NUMERICOPTINPUT

The job number (work station ID) which executed the particular job.

mnUnitsUMATH_NUMERICOPTINPUT

The quantity of something that is identified by a unit of measure. For example, it can be the number of barrels, boxes, cubic yards, gallons, 
hours, and so on.

mnCostAmtAAMATH_NUMERICOPTOUTPUT

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnInvoiceTotalAmtITOLMATH_NUMERICOPTOUTPUT

The invoice amount for a billing detail transaction.

mnInvoiceTaxAmtITAMMATH_NUMERICOPTOUTPUT

The tax amount in the invoice.  This can be either the sales, use or VAT tax.

mnInvoiceTaxableAmtITXAMATH_NUMERICOPTOUTPUT

The portion of the invoice amount that is subject to tax.

mnJournaledTaxJTAXMATH_NUMERICOPTOUTPUT

The portion of the tax amount calculated for this entry that is not automatically generated by the post program.

mnInvoiceDiscountAmtIDSCMATH_NUMERICOPTOUTPUT

The amount of the discount available, as opposed to the amount of the discount actually taken.  The discount calculated is based on the 
invoice amount rather than the revenue amount.

mnCostAmtFAA2MATH_NUMERICOPTOUTPUT

Amount.

mnForInvTotalAmtCITLMATH_NUMERICOPTOUTPUT

The total amount of the invoice in foreign currency.

mnForInvTaxAmtCITXMATH_NUMERICOPTOUTPUT

The tax amount on the invoice in foreign currency.  This can be either the sales, use or VAT tax.

mnForInvTaxableAmtCITAMATH_NUMERICOPTOUTPUT

The portion of the foreign invoice amount that is subject to tax.

mnForJrnlTaxAmtJTXFMATH_NUMERICOPTOUTPUT

The portion of the tax amount calculated for this entry that is not automatically generated by the post program.

mnForInvDiscountAmtCIDSMATH_NUMERICOPTOUTPUT

The foreign currency amount of the discount available, as opposed to the amount of the discount actually taken.  The discount calculated is 
based on the foreign invoice amount.

mnGLCenturyCTRYMATH_NUMERICOPTINPUT

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnGLFiscalYearFYMATH_NUMERICOPTINPUT

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnGLPeriodNoPNMATH_NUMERICOPTINPUT

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnBTCenturyCTRYMATH_NUMERICOPTINPUT

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnBTFiscalYearFYMATH_NUMERICOPTINPUT

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnBTPeriodNoPNMATH_NUMERICOPTINPUT

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

szCompanyCOcharOPTINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szCallingProgramIdPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

mnCustomerNoAN8OMATH_NUMERICOPTINPUT

The address book number to which the system posts billing and accounts receivable transactions.

szPaymentTermsPTCcharOPTINPUT

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

mnPriorForInvPeriodAmtFTHPMATH_NUMERICOPTINPUT

The amount previously billed this period for the line item on the contract.

mnPriorForInvTotalAmtFTHPMATH_NUMERICOPTINPUT

The amount previously billed this period for the line item on the contract.

mnPriorForInvTaxableAmtFATXMATH_NUMERICOPTINPUT

szGlClassGLCcharOPTINPUT

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

szGlOffsetRetentionRGLCcharOPTINPUT

A code that designates the offset accounts for retainage, for example RETN or 1225. You set up the code as an automatic accounting 
instruction. Note:  Do not use code 9999. This is reserved for the post program and indicates that offsets should not be created.

szVertexTransactionTypeVVTYcharOPTINPUT

Vertex Sales and Use Tax transaction type.

szVertexProductCategoryVVTCcharOPTINPUT

User defined code used in the Vertex Tax Decision Maker for products or services that are non-taxable or are at a non-stanard rate.

mnNTECacheJobNoJOBSMATH_NUMERICOPTBOTH

The job number (work station ID) which executed the particular job.

cNTEAmtExceedFlagEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

cNTELevelExceedFlagEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None