CreateBillingLinesFromChangeMgmt

Get Update Contract Billing Line Detail

Minor Business Rule

Object Name: N5200020

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D5200020A - Create Billing Lines From Change Management

Parameter NameData ItemData TypeReq/OptI/O/Both
mnContractNumberDOCOMATH_NUMERICREQINPUT

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.

szContractTypeDCTOcharREQINPUT

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

szContractCompanyKCOOcharREQINPUT

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.

szContractChangeNumberCOCHcharREQINPUT

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.

jdChangeDateCHDJDEDATEREQINPUT

The date of last change for the change order.  This date will control general ledger processing for the change order.

szChangeOrderDescriptionRMKcharREQINPUT

A generic field that you use for a remark, description, name, or address.

szBillingLineItemOPIMcharREQINPUT

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.

szBillingLineDescriptionDL01charREQINPUT

A user defined name or remark.

cBillingLineTypePRTPcharREQINPUT

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

mnScheduleOfValuesSCOFMATH_NUMERICREQINPUT

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.

szUnitOfMeasureUMcharOPTINPUT

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

mnQuantityUMATH_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.

mnUnitPriceUPMATH_NUMERICOPTINPUT

The list or base price you charge for one primary or pricing unit of this item.

szBusinessUnitMCUcharREQINPUT

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.

szSubsidiarySUBcharREQINPUT

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

szObjectOBJcharREQINPUT

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.

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  

szProgramIdPIDcharREQINPUT

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.

cNewOrExistingChgOrderEV01charREQINPUT

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

cProofOrFinalModeEV01charOPTINPUT

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

szErrorCodeDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

szCrossRefBusinessUnitMCUcharREQINPUT

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.

szCrossRefObjectOBJcharREQINPUT

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.

szCrossRefSubsidiarySUBcharREQINPUT

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

szCrossRefSubledgerSBLcharREQINPUT

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.

cCrossRefSubledgerTypeSBLTcharREQINPUT

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  

Related Functions

None

Related Tables

None
GetContractBillingLineDetail

GetContractBillingLineDetail

Get Update Contract Billing Line Detail

Minor Business Rule

Object Name: N5200020

Parent DLL: CCRIN

Location: Client/Server

Language: NER

This Business Function will retrieve one Contract Billing Line Detail (F5202) record. If no record is found, a Read Flag will be set to "0" and sent back to 
the calling program. If a record is found the Read Flag will be set to "1" and sent back to the calling program. The function will also update a Contract 

Billing Line Detail record. ( not in BSFN yet ). 

Modes flags will determine what keys are being sent to fetch data from the F5202. The modes are as follows:

Blank = DOCO, DCTO, KCOO and COCH    (P5201 / P5202)    

1 = DOCO, DCTO, KCOO, COCH, LNID, and OPIM (P5222)

2=  DOCO, DCTO, KCOO.  (P52250)


Data Structure

D5200020 - Get Update Contract Billing Line Detail

DOCOContract Number                       I/O
DCTOType                                     I/O

KCOOContract Company                    I/O

COCHContract Change Number     I/O

LnidLine Number                     I/O

opimOwner Pay Item                      I/O

DL01Description01                     I/O

sd1Planned Start Date       O

sd3Planned Completion Date       O 

chdChange Date                       O

trmoTerms Only                       O

chstChange Status                       O

rtnrRetainage Rule                       O

rtn1Retainage Rule Stored MaterialO

rtncRetainage Rule Change Order   O

mcusProject Number                       O

mcuBusiness Unit                       O

objObject Account                       O

subSubsidiary                       O

sblSubledger                       O

sbltSubledger Type                       O

coCompany                       O

glcG/L Offset                       O

prtpPricing Type                       O

scofSchedule of Values       O

fsofSchedule of Values  Foreign   O

rsofSchedule of Values  Restated O

uUnits                                       O

umUnit of Measure                       O

up Price per Unit                       O

fupForeign Unit Price       O

rupRestated Unit Price       O

exr1Tax Explanation Code       O

txa1Tax Rate/Area                       O

stamTax                                       O

atxnNon-Taxable Amount       O

atxaTaxable Amount                       O

ntexNot to Exceed                       O

FnteNot to Exceed - Foreign       O

rnteNot to Exceed - Restated       O

ntecNot to Exceed - Change Order Amount O

fntoNot to Exceed - Chg Ord Amt - ForeignO

rntoNot to Exceed - Chg Ord Amt - RestatedO

nteuNot to Exceed - Units       O

rrbcRecurring Billing Code       O

rrbaRecurring Billing Amount       O

FrbaRecurring Billing Amount -  Foreign O

rrraRecurring Billing Amount - RestatedO

exmpExempt Code                       O

alsqAlternate Sequence Code       O

blspBill Suspend                       O

blwpBill When Paid                       O

pywpPay When Paid                       O

mcblCurrent Billing Method       O

mkrpMark Up Percent                       O

fbasInvoice Fee Basis                       O

rfbsRevenue Fee Basis       O

racdRate Code Contract       O

roluRoll Units                       O

r001Bill Item Code                       O

accoAccount Override Flag       O

ad01Contract Category Code 1       O

ad02Contract Category Code 2       O

ad03Contract Category Code 3       O

ad04Contract Category Code 4       O

ad05Contract Category Code 5       O

ctf1Control Flag 1                       O

CTF2Control Flag 2                       O

CTF3Control Flag 3                       O

CTF4Control Flag 4                       O

CTF5Control Flag 5                       O

rmkRemark                                       O

tagReference Tag                       O

crrExchange Rate                       O

crcdCurrency Code From       O

crcfCurrency Code Origin       O

CRRDCurrency Conversion Rate Div I/O

crrmCurrency Mode                       O

PIDProgram ID                       O

JOBNWorkstation ID                       O

USERUser ID                                       O

MUPMDate Record Updated       O

UPMTTime Last Updated       O

EV01Read Flag                     I/O

EV01Mode Flag                     I


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnContractNumberDOCOMATH_NUMERICREQINPUT

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.

szTypeDCTOcharREQINPUT


szContractCompanyKCOOcharREQINPUT


^

szDescription001DL01charOPTOUTPUT

A user defined name or remark.

szCostCenterSubsequentMCUScharOPTOUTPUT

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.

szCompanyCOcharOPTOUTPUT

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.

szRetainageRuleRTNRcharOPTOUTPUT

A rule the system uses to calculate retainage on a contract. For example: Retn % - 10.00; Percent Complete - 50.00 Retn % - 5.00; Percent 
Complete - 95.00 This rule indicates that there is a 10% retainage until 50% of the job is complete. Then a 5% retainage is calculated for the next 
45% of the job until 95% of the job is complete. Once 95% of the job is complete, retainage is no longer withheld.

szCurrencyCodeFromCRCDcharOPTOUTPUT

A code that identifies the currency of a transaction. 

szCurrencyCodeOriginCRCFcharOPTOUTPUT

The currency code of the insured amount.

cCurrencyModeCRRMcharOPTBOTH

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.

mnNotToExceedNTEXMATH_NUMERICOPTOUTPUT

The maximum billing amount. You can specify not-to-exceed amounts for:   o  Contracts, which apply to the entire contract and all related 
change orders.   o  Change orders, which apply only to specific change orders.   o  Billing lines, which apply only to individual billing lines.

mnNottoExceedAmountRestateRNTEMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

mnCurrencyConverRateOvCRRMATH_NUMERICOPTOUTPUT

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

mnCurrencyConverRateDivCRRDMATH_NUMERICOPTBOTH

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. 

szProgramIdPIDcharOPTOUTPUT

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.

szWorkStationIdJOBNcharOPTOUTPUT

The code that identifies the work station ID that executed a particular job.

szUserIdUSERcharOPTOUTPUT

The code that identifies a user profile.

jdDateRecordUpdatedMUPMJDEDATEOPTOUTPUT

The date of last update. Used in the Financial Reporting Merge file (F1011) where field name is duplicated.

mnTimeLastUpdatedUPMTMATH_NUMERICOPTOUTPUT

The time that specifies when the program executed the last update to this record.

cReadFlagEV01charOPTBOTH

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

szContractChangeNumCOCHcharOPTINPUT

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.

mnLineNumberLNIDMATH_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.

szOwnerPayItemOPIMcharOPTINPUT

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.

jdPlannedStartDateSD1JDEDATEOPTOUTPUT

The date you plan to start work on the contract.

jdPlannedCompDateSD3JDEDATEOPTOUTPUT

The date of planned completion for the contract.

jdDateChangeCHDJDEDATEOPTOUTPUT

The date of last change for the change order.  This date will control general ledger processing for the change order.

cTermsOnlyTRMOcharOPTOUTPUT

A code that specifies whether this change affects contract terms other than price, such as an extension in time or a change in schedule. 
Valid vaules are:    Y Yes, the change does affect terms.    N No, the change does not affect terms.

szChangeStatusCHSTcharOPTOUTPUT

A user defined code (system 52, code CH) that indicates the change order status of a contract.

szRetainageRuleStoredMtRTN1charOPTOUTPUT

The Retainage Rule defined for Stored Material.  See Data Item "RTNR".

szRetainageRuleChangeRTNCcharOPTOUTPUT

Retainage Rule defined at the Change Order Level.

szCostCenterMCUcharOPTOUTPUT

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.

szObjectAccountOBJcharOPTOUTPUT

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.

szSubsidiarySUBcharOPTOUTPUT

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

szSubledgerSBLcharOPTOUTPUT

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.

cSubledgerTypeSBLTcharOPTOUTPUT

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  

szGlClassGLCcharOPTOUTPUT

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.

cPricingTypePRTPcharOPTOUTPUT

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

mnScheduleOfValuesSCOFMATH_NUMERICOPTOUTPUT


mnScheduleofValuesForeignFSOFMATH_NUMERICOPTOUTPUT


mnScheduleofValuesRestatedRSOFMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

mnUnitsUMATH_NUMERICOPTOUTPUT

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.

szUnitOfMeasureUMcharOPTOUTPUT

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

mnPricePerUnitUPMATH_NUMERICOPTOUTPUT

The list or base price you charge for one primary or pricing unit of this item.

mnAmtForPricePerUnitFUPMATH_NUMERICOPTOUTPUT

The foreign price per unit.

mnAmountRestatedPriceperUnRUPMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

szTaxExplanationCode1EXR1charOPTOUTPUT

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.

szTaxArea1TXA1charOPTOUTPUT

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.

mnAmtTax2STAMMATH_NUMERICOPTOUTPUT

The amount assessed and payable to tax authorities. It is the total of the VAT, use, and sales taxes (PST).

mnAmountTaxExemptATXNMATH_NUMERICOPTOUTPUT

The amount upon which taxes are not assessed. This is the portion of the transaction not subject to sales, use, or VAT taxes because the 
products are tax-exempt or zero-rated.

mnAmountTaxableATXAMATH_NUMERICOPTOUTPUT

The amount on which taxes are assessed.

mnNottoExceedAmountForeignFNTEMATH_NUMERICOPTOUTPUT

The foreign maximum billing amount. This amount applies only to individual billing lines. 

mnNotToExceedChgOrdNTECMATH_NUMERICOPTOUTPUT

The contracted amount beyond which you have agreed not to bill the customer. You can speccify a Not-to-Exceed (NTE) amount at any of 
the following three levels of a contract:   o  Contract. The amount applies to the entire contract and all subsequent change orders.   o  Change 
order. The amount applies to the specific change order.   o  Billing line. The amount applies to the specific billing line.

mnNotToExceedChgOrderForeiFNTOMATH_NUMERICOPTOUTPUT

The maximum foreign billing amount. This amount applies to the change order.

mnNottoExceedChgOrderAmt-RRNTOMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

mnNotToExceedUnitsNTEUMATH_NUMERICOPTOUTPUT

This field specifies the unit limit for a contract at the owner pay item level.

szRecurringBillingCodeRRBCcharOPTOUTPUT

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.

mnRecurringBillingAmtRRBAMATH_NUMERICOPTOUTPUT

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

mnRecurringBillingAmountReRRRAMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

cExemptCodeEXMPcharOPTOUTPUT

An option that allows you to override, on a billing line-by-billing line basis, the Not to Exceed limit expressed at the contract header or 
change order level. Valid values are: Blank No NTE rule specified. 1 Exempt from NTE limits for revenue and invoice processing. 2 The NTE limit 
applies to invoice and revenue amounts at this level. 3 The NTE limit applies to revenue amounts at this level. If invoice processing exceeds the 
limit, the system issues a warning. 4 The NTE limit applies to invoice amounts at this level. If revenue processing exceeds the limit, the 
system issues a warning

szAlternateSequenceCodeALSQcharOPTOUTPUT

Alternate Sequence Code used to display contract information in a sequence other than the default line number sequence (Future Use).

cBillSuspendBLSPcharOPTOUTPUT

The Billing Rule Flag attaches to each pay item on a contract. The flag indicates:    blank Add billing records to the Invoice Summary Work 
file (F4822) and bill the appropriate amounts.    1     Add billing records to the work file but do not bill any amounts.    2     Do not create billing 
records for the work file.    3     Add billing records to the work file and ignore any Not to Exceed Limits. Note:  This field works with the NTE field. 
The flag determines how the system handles a situation where the NTE has been exceeded.

cBillWhenPaidBLWPcharOPTOUTPUT

An option that indicates when invoices can be billed to the owner of the contract. Valid values are: Blank Supplier invoices, both paid and 
unpaid, can be billed. 1 Only supplier invoices that have been paid can be billed.

cPayWhenPaidPYWPcharOPTOUTPUT

This field is used to identify Pay When Paid transactions. Accounts Payable A 'W' will be used to identify Pay When Paid Voucher 
transactions.

cCurrentBillingMethodMCBLcharOPTOUTPUT

This field controls how pro-forma current billing amount is calculated.    blank Method based on percent complete for referenced costs.    1     
Method based on contract header percent complete using percent complete correlated with billing date.

mnMarkUpPercentMKRPMATH_NUMERICOPTOUTPUT

Percent of markup you want the system to use when it calculates the billing amounts for fee lines for owner pay items. You enter either a 
percent in this field or a rate code in the Rate Code field. Enter the percentage as a whole number. For example, you enter 10% as 10

cFeeBasisCostOrInvFBAScharOPTOUTPUT

The fee basis the system will use when it derives the billing amount for the fee line. Valid values:    1 Use Invoice Amount.    2 Use Cost 
Amount.

cRevenueFeeBasisRFBScharOPTOUTPUT

The fee basis the system will use when it derives the revenue amount for the fee line.    1 Use Revenue Amount    2 Use Cost Amount  If you 
leave this field blank, the system automatically selects the revenue amount.

szRateCodeContractRACDcharOPTOUTPUT

Rate Code used in the Contract Billing System for Owner Pay Items which are Fee based lines.  By defining a specific rate code, you have 
the ability to set up date sensitive fee percentages.

cRollUnitsROLUcharOPTOUTPUT

This is a flag for Time and Material items to tell the system whether or not to roll the sum of the detail workfile (F4812) units into the summary 
billing workfile (F4822).    blank Do not roll units    1     Add units if the unit of measure in the F4812 file matches that in Owner Pay Item Detail 
(F5202).

szCategoryCodeGl001R001charOPTOUTPUT

Category code 1 associated with the Account Master table (F0901). This is a user defined code (09/01) for use in flex account mapping and 
in printing selected information on reports.

cAccountOverrideFlagACCOcharOPTOUTPUT

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.

szContractCode1AD01charOPTOUTPUT

Contract Category Code 1. A user defined category code (system 52, code A1) you can define to meet the specific needs of a contract.

szContractCode2AD02charOPTOUTPUT

Contract Category Code 2. A user defined category code (system 52, code A2) you can define to meet the specific needs of a contract.

szContractCode3AD03charOPTOUTPUT

Contract Category Code 3. A user defined category code (system 52, code A3) you can define to meet the specific needs of this line item in 
the contract.

szContractCode4AD04charOPTOUTPUT

Contract Category Code 4

szContractCode5AD05charOPTOUTPUT

Contract Category Code 5

cControlFlag1CTF1charOPTOUTPUT

This control flag is used to override the service billing constants eligibility code when work file records (F4812) are created during invoicing.  
Possible Values Are:    0     Eligible For Invoicing and Revenue Recognition.    1     Eligible for Invoicing only.    2     Eligible for Revenue 
Recognition only.    3     Non Billable.    4     Eligible for Cost only.    blank No override.

cControlFlag2CTF2charOPTOUTPUT

A marker that is used internally to determine whether a Not-To-Exceed limit has been set at any level in the contract.

cControlFlag3CTF3charOPTOUTPUT

A value that determines how progress billing lines are cross referenced.    1   This value defines this progress billing line as a basis line; it's 
billing events are determined by it's own cross-reference. A progress billing line becomes a basis line when another progress billing line is 
cross-referenced to it.    2   This value defines this progress billing line as a dependent line; it's billing events are determined by the progress 
basis line to which it is cross-referenced. A progress billing line becomes a dependent when it is cross-referenced to another progress line.

cControlFlag4CTF4charOPTOUTPUT

Reserved by J.D. Edwards.

cControlFlag5CTF5charOPTOUTPUT

A code that specifies how the system processes the Not-to-Exceed (NTE) limits for a contract. You can define this code at the contract 
level, change order level, or billing line level, or any combination of the three. Valid values are: Blank No NTE rule is specified. 1 Exempt from NTE 
limits for revenue and invoice processing. This code is valid only at the change order or billing line level. 2 The NTE limit applies to invoice 
and revenue amounts at this level. 3 The NTE limit applies to revenue amounts at this level. If invoice processing exceeds the limit, the 
system issues a warning. 4 The NTE limit applies to invoice amounts at his level. If revenue processing exceeds the limit, the system issues a 
warning.

szNameRemarkRMKcharOPTOUTPUT

A generic field that you use for a remark, description, name, or address.

szTagReferenceTAGcharOPTOUTPUT

(Future Use) In anticipation of the future creation of a Physical Count facility within the inventory system which allows for the use of 
pre-numbered multi-part tags.

mnRecurrBillingAmountFoFRBAMATH_NUMERICOPTOUTPUT

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

cModeFlagEV02charOPTINPUT

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

szVertexTransactionTypeVVTYcharOPTOUTPUT

Vertex Sales and Use Tax transaction type.

szVertexProductCategoryVVTCcharOPTOUTPUT

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.

Related Functions

None

Related Tables

None
UpdateRtngRuleForChgOrdZero

UpdateRtngRuleForChgOrdZero

Get Update Contract Billing Line Detail

Minor Business Rule

Object Name: N5200020

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D5200020B - Update Retainage Rule for Chg Order Zero Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentOrderInvoiceE_DOCODOCOMATH_NUMERICREQINPUT

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.

szOrderType_DCTODCTOcharREQINPUT

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

szCompanyKeyOrderNo_KCOOKCOOcharREQINPUT

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.

szContractChangeNum_COCHCOCHcharREQINPUT

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.

szRetainageRule_RTNRRTNRcharREQINPUT

A rule the system uses to calculate retainage on a contract. For example: Retn % - 10.00; Percent Complete - 50.00 Retn % - 5.00; Percent 
Complete - 95.00 This rule indicates that there is a 10% retainage until 50% of the job is complete. Then a 5% retainage is calculated for the next 
45% of the job until 95% of the job is complete. Once 95% of the job is complete, retainage is no longer withheld.

Related Functions

None

Related Tables

None