CreateUpdateProgressDrawXref

Create/Update Progress/Draw Line Cross Reference

Minor Business Rule

Object Name: N5200160

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.1Purpose
This business function performs the processing to create/delete Milestone/Progress/Draw Cross Reference records (F52161) for billing lines that are 
being cross-referenced.  The function will also update the Milestone/Progress Billing Information Table (F5216) when a progress line is cross-referenced to 

another progress line.


1.2Setup Notes and Prerequisites


The mode flag is use to determine the type of processing to be performed.  Blank will select/create cross reference records, 1 will delete cross reference 

recods, 2 is used to identify records that are cross referenced and pass back flag to the application.



Data Structure

D5200160 - Create/Update Progress/Draw Line Cross Reference

Parameter NameData ItemData TypeReq/OptI/O/Both
mnContractNoDOCOMATH_NUMERICOPTNONE

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.

szContractTypeDCTOcharOPTNONE

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

szContractKeyCoKCOOcharOPTNONE

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.

szContractChangeNumCOCHcharOPTNONE

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_NUMERICOPTNONE

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.

cBillingLineTypePRTPcharOPTNONE

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

szContractChangeNumberXREFCOCXcharOPTNONE

The cross-referenced change order number. 

mnContractLineNumberXREFLNIXMATH_NUMERICOPTNONE

cBillingLineTypeXrefPRTPcharOPTNONE

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

cModeFlagEV01charOPTNONE

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

cCrossReferenceExistsXREFcharOPTNONE

A flag that indicates whether the associated billing line has a defined cross-reference. Leave this field blank if no cross-reference exists.

Related Functions

None

Related Tables

None