GetContractMasterInformation

Get Update Contract Master Record

Minor Business Rule

Object Name: N5200010

Parent DLL: CCRIN

Location: Client/Server

Language: NER

This Business Function will retrieve one Contract Master (F5201) record. If no record is found, an error will be passed back to the calling program. The 
function will also update a Contract Master record. The specific fields updated will depend on the value of the processing flag. The function will also 

determine if a contract is a parent contract of another contract.

If the Contract is in an active invoice or revenue batch and that batch or invoice is deleted then the invoice or revenue batch number will be set to zero.


Data Structure

D5200010 - Get Contract Master Information

DOCOContract Number   I/OYes
DCTOType                        I/O                Yes

KCOOContract Compa                 I/O 

ICUInvoice Batch                 I/O 

ICUJRevenue Batch                 I/O 

DL01Description01                   O 

DL02Description02                   O 

DL03Description03                   O  

DCCompressed Description   O 

ODCMOwner Contract                    O 

OCNCOwner Contract Compress   O 

AN8OCustomer Address Number   O 

ANOBAlternate Billing Address   O 

AN8KArchitect Address Number   O

ADCMArchitect Contract   O

USA1User Add Num1                   O

USA2User Add Num2                   O

USA3User Add Num3                   O

USA4Remit To Address   O

USA5Send To Address                   O

DSContract Status                   O

CTContract Type                   O

MCUSProject Job                   O

JMCUHost Business Unit   O

COCompany                   O

PCTNParent Contract Number   O

PCTTParent Contract Type   O

PCKOParent Contract Company   O

RTNRRetainage Rule                   O

RGLCGL Offset Retention   O

RTN1Retainage Rule Stored Mat   O

RCTLRetainage Control Flag   O

EXR1Tax Explanation Code   O

TXA1Tax Area                   O

INVFInvoice Format Code   O

AIABAIA Billing Form                   O

CTOVContract Override Rule   O

PTCPayment Terms Code   O

BLWPBill When Paid                   O

PYWPPay When Paid                   O

BROVBurden Override                   O

FSLVFee Summarization Level   O

CRCDBase Currency                    O

CRCFBilling Currency                   O

CRRMContract Currency Mode   O

CRRContract Exchange Rate I/O

NTEXNot To Exceed                 I/O

NTEFNot To Exceed  Foreign I/O

RNTENot To Exceed Amount RestatedO

ERDBDate Exchange Rate Date BasisO

LMEXLimit Exceeded Flag  I/O

MCIAMinimum Contract Amount I/O

MCIFMinimum Contract Amount  Foreign I/O

CSDTContract Start Date    O

CDTEContract End Date    O

USD1Planned Start Date    O

USD2Planned Completion Date    O

USD3User Date 3                    O

USD4User Date 4                    O

AI01Aia Cat Code1                    O

AI02Aia Cat Code2                    O

AI03Aia Cat Code3                    O

AI04Aia Cat Code4                    O

AI05Aia Cat Code5                    O

AI11Aia Cat Code11                    O

AI12Aia Cat Code12                    O

AI13Aia Cat Code13                    O

AI14Aia Cat Code14                    O

AI15Aia Cat Code15                    O

CRRDCurrency Conversion Rate DivO

CTF2Cntl Flag 2                  I/O

CTF3Cntl Flag 3                     O

CTF4Cntl Flag 4                     O

CTF5Cntl Flag 5                     O

BCTKBatch Control Key     O

PIDProgram ID                  I/O

JOBNWorkstation ID                     O

USERUser ID                                     O

MUPMDate Record Updated     O

UPMTTime Last Updated     O

DTAIError Message                      O

EV01Process Flag                   I/O


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnContractNumberDOCOMATH_NUMERICREQBOTH

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.

szTypeDCTOcharREQBOTH

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

szContractCompanyKCOOcharOPTBOTH

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.

mnRevenueBatchICUMATH_NUMERICOPTBOTH

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.

mnInvoiceBatchICUJMATH_NUMERICOPTBOTH

A batch number the system automatically assigns when you run Revenue Journal Generation.

szDescription01DL01charOPTOUTPUT

A user defined name or remark.

szDescription02DL02charOPTOUTPUT

Additional text that further describes or clarifies a field in the system.

szDescription03DL03charOPTOUTPUT

Additional text that further describes or clarifies an element.

szCompressedDescriptionDCcharOPTOUTPUT

The compressed description contains the alpha name without slashes, dashes, commas, and other special characters.  The compressed 
description is the field used in the Name Search.

szOwnerContractODCMcharOPTOUTPUT

The contract number as recorded on the owner's books. If you enter this number on the Contract Master Revisions form, you can use it as a 
search criterion on the Contract Search form. The system updates this number in the reference field (VR01) of the accounts receivable 
record for billing.

szOwnerContractCompressOCNCcharOPTOUTPUT

The compressed owner contract number contains the number without spaces,slashes, dashes, commas, and other special characters.  
The compressed number is the field used in Contract Search.

mnCustomerAddressNumberAN8OMATH_NUMERICOPTOUTPUT

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

mnAlternateBillingAddressANOBMATH_NUMERICOPTOUTPUT

The address number of an alternate location to which the owner wants the invoice (application) sent.

mnArchitectAddressNumberAN8KMATH_NUMERICOPTOUTPUT

The address number of the architect for the contract or project.

mnUserAddNum1USA1MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

mnUserAddNum2USA2MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

mnUserAddNum3USA3MATH_NUMERICOPTOUTPUT

Address Number 3 - User

mnRemitToAddressUSA4MATH_NUMERICOPTOUTPUT

Address Number - Remit To

mnSendToAddressUSA5MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

szContrctStatusDScharOPTOUTPUT

A two-character code that provides status information about a contract. This status is edited against user defined codes (52/CS).

szContractTypeCTcharOPTOUTPUT

A user defined code (51/CT) that identifies the type of contract.

szProjectJobMCUScharOPTOUTPUT

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.

szHostBusinessUnitJMCUcharOPTOUTPUT

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

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.

mnParentContractNumberPCTNMATH_NUMERICOPTOUTPUT

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

szParentContractTypePCTTcharOPTOUTPUT

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

szParentContractCompanyPCKOcharOPTOUTPUT

Parent Contract Document Company.

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.

szGlOffsetRetentionRGLCcharOPTOUTPUT

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.

cRetainageControlFlagRCTLcharOPTOUTPUT

An option that determines whether the retainage amount is stored in the Accounts Receivable or General Accounting system and whether 
tax is calculated on the whole amount, including the retainage, or on each amount as it is billed. Valid values are: Blank The retainage is 
stored in the Accounts Receivable system and the tax is computed from the total taxable amount. 1 The retainage is stored in the Accounts 
Receivable system and the tax on the retainage amount is calculated and then subtracted from the total tax amount. This tax on retainage is 
deferred until the retainage is released. 2 The retainage is stored in the General Accounting system and the tax is computed from the total taxable 
amount. 3 The retainage is stored in the General Accounting system and the tax on the retainage amount is calculated and then subtracted from 
the total tax amount. This tax on retainage is deferred until the retainage is released.

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.

szInvoiceFormatCodeINVFcharOPTOUTPUT

A code that uniquely identifies a series of formats and determines the overall layout of the invoice.

szPaymentTermsCode01PTCcharOPTOUTPUT

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.

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.

cFeeSummarizationLevelFSLVcharOPTOUTPUT

The level of detail at which the system creates work file records for fee lines.     o If you leave this field blank, the system creates fees at a 
summarized level, with one work file record (F4812) per fee line.     o A value of "1" in this field indicates that the system should create the F4812 
records at a detailed level, with one work file record for each unique combination of key values. "Key Values" refers to any value that could be 
used as a key or a result in the Account Derivation Table.  Key value fields include:        Subledger - Customer Subledger Type - Home 
Business Unit Work Order Class - Company Job - Equipment Number Job Class - Component Code

szBaseCurrencyCRCDcharOPTOUTPUT

A code that identifies the currency of a transaction. 

szBillingCurrencyCRCFcharOPTOUTPUT

The currency code of the insured amount.

cContractCurrencyModeCRRMcharOPTOUTPUT

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_NUMERICOPTBOTH

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.

mnNotToExceedForeignNTEFMATH_NUMERICOPTBOTH

The maximum foreign not-to-exceed amount. The foreign not-to-exceed amount applies to the entire contract and all related change 
orders. 

cLimitExceededFlagLMEXcharOPTBOTH

A field that identifies any row (pay item, change order, or contract) for which the NTE limit has been exceeded. If the Billed to Date amount is 
greater than the NTE limit, the Limit Exceeded field is checked for the affected row. If the billed to date amount is less than the minimum 
invoice amount for the contract, the Limit Not Reached field is checked for the affected row, indicating that you have underbilled.

mnMinimumContractAmtMCIAMATH_NUMERICOPTBOTH

The minimum amount required for the contract. If the billing amount is less than the amount in this field, the system will not generate an 
invoice.

mnMinimumContractAmtForeignMCIFMATH_NUMERICOPTBOTH

The foreign minimum amount required for the contract. If the billing amount is less than the amount in this field, the system does not generate 
an invoice.

jdContractStartDateCSDTJDEDATEOPTOUTPUT

The date you actually start work on the contract.

jdContractEndDateCDTEJDEDATEOPTOUTPUT

The date you actually completed work on the contract.

jdPlannedStartDateUSD1JDEDATEOPTOUTPUT

User defined Julian Date 1.

jdPlannedCompletionDateUSD2JDEDATEOPTOUTPUT

User defined Julian Date 2.

jdUserDate3USD3JDEDATEOPTOUTPUT

A Julian date.

jdUserDate4USD4JDEDATEOPTOUTPUT

A Julian date.

szAiaCatCode1AI01charOPTOUTPUT

A user defined category code (52/01) that you can use to meet the specific needs of a contract.

szAiaCatCode2AI02charOPTOUTPUT

A user-defined category code (52/02) that you can use to meet the specific needs of a contract.

szAiaCatCode3AI03charOPTOUTPUT

A user defined category code (52/03) that you can use to meet the specific needs of a contract.

szAiaCatCode4AI04charOPTOUTPUT

A user defined category code (52/04) that you can use to meet the specific needs of a contract.

szAiaCatCode5AI05charOPTOUTPUT

A user defined category code (52/05) that you can use to meet the specific needs of a contract.

szContractCatCode11AI11charOPTOUTPUT

A user defined category code (system 52, code 11) that can be defined to meet the specific needs of a contract.

szContractCatCode12AI12charOPTOUTPUT

A user defined category code (system 52, code 12) that can be defined to meet the specific needs of a contract. 

szContractCatCode13AI13charOPTOUTPUT

A user defined category code (system 52, code 13) that can be defined to meet the specific needs of a contract.

szContractCatCode14AI14charOPTOUTPUT

A user defined category code (system 52, code 14) that can be defined to meet the specific needs of a contract.

szContractCatCode15AI15charOPTOUTPUT

A user defined category code (system 52, code 15) that can be defined to meet the specific needs of a contract.

mnContractExchangeRateCRRMATH_NUMERICOPTBOTH

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. 

cCntlFlag2CTF2charOPTBOTH

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

cCntlFlag4CTF4charOPTOUTPUT

Reserved by J.D. Edwards.

cCntlFlag5CTF5charOPTOUTPUT

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.

szErrorMessageDTAIcharOPTOUTPUT

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.

szArchitectContractADCMcharOPTOUTPUT

The Architect Contract Number as recorded on the owners books.  This information will be for reference and kept for use in Contract 
Search.

szRetainageRuleStoredMtRTN1charOPTOUTPUT

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

cAiaBillingFormAIABcharOPTOUTPUT

A Y is used to indicate that the AIA Form G702/G703 is to be printed;otherwise, you can select a specific format using the Invoice Writer.

cContractOverrideRuleCTOVcharOPTOUTPUT

A control field for controlling revenue recognition with overrides.

cBurdenOverrideBROVcharOPTOUTPUT

The following values are allowed for this field:    = Burden billed and recognized    1 Burden billed but not recognized    2 Burden recognized 
but not billed    3 Burden not recognized and not billed

mnNottoExceedAmountRestateRNTEMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

cDateExchangeRateDateBasiERDBcharOPTOUTPUT

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.

mnCurrencyConverRateDivCRRDMATH_NUMERICOPTOUTPUT

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. 

cCntlFlag3CTF3charOPTOUTPUT

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.

szBatchControlKeyBCTKcharOPTOUTPUT

Reserved by J.D. Edwards.

szProgramIdPIDcharOPTBOTH

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.

cProcessFlagEV01charOPTBOTH


^

Related Functions

None

Related Tables

None
IsContractAParentContract

IsContractAParentContract

Get Update Contract Master Record

Minor Business Rule

Object Name: N5200010

Parent DLL: CCRIN

Location: Client/Server

Language: NER

This Business Function will retrieve one Contract Master (F5201) record. If no record is found, an error will be passed back to the calling program. The 
function will also update a Contract Master record. The specific fields updated will depend on the value of the processing flag. The function will also 

determine if a contract is a parent contract of another contract.

If the Contract is in an active invoice or revenue batch and that batch or invoice is deleted then the invoice or revenue batch number will be set to zero.


^

Data Structure

D5200010 - Get Contract Master Information

DOCOContract Number   I/OYes
DCTOType                        I/O                Yes

KCOOContract Compa                 I/O 

ICUInvoice Batch                 I/O 

ICUJRevenue Batch                 I/O 

DL01Description01                   O 

DL02Description02                   O 

DL03Description03                   O  

DCCompressed Description   O 

ODCMOwner Contract                    O 

OCNCOwner Contract Compress   O 

AN8OCustomer Address Number   O 

ANOBAlternate Billing Address   O 

AN8KArchitect Address Number   O

ADCMArchitect Contract   O

USA1User Add Num1                   O

USA2User Add Num2                   O

USA3User Add Num3                   O

USA4Remit To Address   O

USA5Send To Address                   O

DSContract Status                   O

CTContract Type                   O

MCUSProject Job                   O

JMCUHost Business Unit   O

COCompany                   O

PCTNParent Contract Number   O

PCTTParent Contract Type   O

PCKOParent Contract Company   O

RTNRRetainage Rule                   O

RGLCGL Offset Retention   O

RTN1Retainage Rule Stored Mat   O

RCTLRetainage Control Flag   O

EXR1Tax Explanation Code   O

TXA1Tax Area                   O

INVFInvoice Format Code   O

AIABAIA Billing Form                   O

CTOVContract Override Rule   O

PTCPayment Terms Code   O

BLWPBill When Paid                   O

PYWPPay When Paid                   O

BROVBurden Override                   O

FSLVFee Summarization Level   O

CRCDBase Currency                    O

CRCFBilling Currency                   O

CRRMContract Currency Mode   O

CRRContract Exchange Rate I/O

NTEXNot To Exceed                 I/O

NTEFNot To Exceed  Foreign I/O

RNTENot To Exceed Amount RestatedO

ERDBDate Exchange Rate Date BasisO

LMEXLimit Exceeded Flag  I/O

MCIAMinimum Contract Amount I/O

MCIFMinimum Contract Amount  Foreign I/O

CSDTContract Start Date    O

CDTEContract End Date    O

USD1Planned Start Date    O

USD2Planned Completion Date    O

USD3User Date 3                    O

USD4User Date 4                    O

AI01Aia Cat Code1                    O

AI02Aia Cat Code2                    O

AI03Aia Cat Code3                    O

AI04Aia Cat Code4                    O

AI05Aia Cat Code5                    O

AI11Aia Cat Code11                    O

AI12Aia Cat Code12                    O

AI13Aia Cat Code13                    O

AI14Aia Cat Code14                    O

AI15Aia Cat Code15                    O

CRRDCurrency Conversion Rate DivO

CTF2Cntl Flag 2                  I/O

CTF3Cntl Flag 3                     O

CTF4Cntl Flag 4                     O

CTF5Cntl Flag 5                     O

BCTKBatch Control Key     O

PIDProgram ID                  I/O

JOBNWorkstation ID                     O

USERUser ID                                     O

MUPMDate Record Updated     O

UPMTTime Last Updated     O

DTAIError Message                      O

EV01Process Flag                   I/O


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnContractNumberDOCOMATH_NUMERICREQBOTH

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.

szTypeDCTOcharREQBOTH

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

szContractCompanyKCOOcharOPTBOTH

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.

mnRevenueBatchICUMATH_NUMERICOPTBOTH

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.

mnInvoiceBatchICUJMATH_NUMERICOPTBOTH

A batch number the system automatically assigns when you run Revenue Journal Generation.

szDescription01DL01charOPTOUTPUT

A user defined name or remark.

szDescription02DL02charOPTOUTPUT

Additional text that further describes or clarifies a field in the system.

szDescription03DL03charOPTOUTPUT

Additional text that further describes or clarifies an element.

szCompressedDescriptionDCcharOPTOUTPUT

The compressed description contains the alpha name without slashes, dashes, commas, and other special characters.  The compressed 
description is the field used in the Name Search.

szOwnerContractODCMcharOPTOUTPUT

The contract number as recorded on the owner's books. If you enter this number on the Contract Master Revisions form, you can use it as a 
search criterion on the Contract Search form. The system updates this number in the reference field (VR01) of the accounts receivable 
record for billing.

szOwnerContractCompressOCNCcharOPTOUTPUT

The compressed owner contract number contains the number without spaces,slashes, dashes, commas, and other special characters.  
The compressed number is the field used in Contract Search.

mnCustomerAddressNumberAN8OMATH_NUMERICOPTOUTPUT

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

mnAlternateBillingAddressANOBMATH_NUMERICOPTOUTPUT

The address number of an alternate location to which the owner wants the invoice (application) sent.

mnArchitectAddressNumberAN8KMATH_NUMERICOPTOUTPUT

The address number of the architect for the contract or project.

mnUserAddNum1USA1MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

mnUserAddNum2USA2MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

mnUserAddNum3USA3MATH_NUMERICOPTOUTPUT

Address Number 3 - User

mnRemitToAddressUSA4MATH_NUMERICOPTOUTPUT

Address Number - Remit To

mnSendToAddressUSA5MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

szContrctStatusDScharOPTOUTPUT

A two-character code that provides status information about a contract. This status is edited against user defined codes (52/CS).

szContractTypeCTcharOPTOUTPUT

A user defined code (51/CT) that identifies the type of contract.

szProjectJobMCUScharOPTOUTPUT

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.

szHostBusinessUnitJMCUcharOPTOUTPUT

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

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.

mnParentContractNumberPCTNMATH_NUMERICOPTOUTPUT

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

szParentContractTypePCTTcharOPTOUTPUT

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

szParentContractCompanyPCKOcharOPTOUTPUT

Parent Contract Document Company.

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.

szGlOffsetRetentionRGLCcharOPTOUTPUT

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.

cRetainageControlFlagRCTLcharOPTOUTPUT

An option that determines whether the retainage amount is stored in the Accounts Receivable or General Accounting system and whether 
tax is calculated on the whole amount, including the retainage, or on each amount as it is billed. Valid values are: Blank The retainage is 
stored in the Accounts Receivable system and the tax is computed from the total taxable amount. 1 The retainage is stored in the Accounts 
Receivable system and the tax on the retainage amount is calculated and then subtracted from the total tax amount. This tax on retainage is 
deferred until the retainage is released. 2 The retainage is stored in the General Accounting system and the tax is computed from the total taxable 
amount. 3 The retainage is stored in the General Accounting system and the tax on the retainage amount is calculated and then subtracted from 
the total tax amount. This tax on retainage is deferred until the retainage is released.

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.

szInvoiceFormatCodeINVFcharOPTOUTPUT

A code that uniquely identifies a series of formats and determines the overall layout of the invoice.

szPaymentTermsCode01PTCcharOPTOUTPUT

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.

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.

cFeeSummarizationLevelFSLVcharOPTOUTPUT

The level of detail at which the system creates work file records for fee lines.     o If you leave this field blank, the system creates fees at a 
summarized level, with one work file record (F4812) per fee line.     o A value of "1" in this field indicates that the system should create the F4812 
records at a detailed level, with one work file record for each unique combination of key values. "Key Values" refers to any value that could be 
used as a key or a result in the Account Derivation Table.  Key value fields include:        Subledger - Customer Subledger Type - Home 
Business Unit Work Order Class - Company Job - Equipment Number Job Class - Component Code

szBaseCurrencyCRCDcharOPTOUTPUT

A code that identifies the currency of a transaction. 

szBillingCurrencyCRCFcharOPTOUTPUT

The currency code of the insured amount.

cContractCurrencyModeCRRMcharOPTOUTPUT

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_NUMERICOPTBOTH

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.

mnNotToExceedForeignNTEFMATH_NUMERICOPTBOTH

The maximum foreign not-to-exceed amount. The foreign not-to-exceed amount applies to the entire contract and all related change 
orders. 

cLimitExceededFlagLMEXcharOPTBOTH

A field that identifies any row (pay item, change order, or contract) for which the NTE limit has been exceeded. If the Billed to Date amount is 
greater than the NTE limit, the Limit Exceeded field is checked for the affected row. If the billed to date amount is less than the minimum 
invoice amount for the contract, the Limit Not Reached field is checked for the affected row, indicating that you have underbilled.

mnMinimumContractAmtMCIAMATH_NUMERICOPTBOTH

The minimum amount required for the contract. If the billing amount is less than the amount in this field, the system will not generate an 
invoice.

mnMinimumContractAmtForeignMCIFMATH_NUMERICOPTBOTH

The foreign minimum amount required for the contract. If the billing amount is less than the amount in this field, the system does not generate 
an invoice.

jdContractStartDateCSDTJDEDATEOPTOUTPUT

The date you actually start work on the contract.

jdContractEndDateCDTEJDEDATEOPTOUTPUT

The date you actually completed work on the contract.

jdPlannedStartDateUSD1JDEDATEOPTOUTPUT

User defined Julian Date 1.

jdPlannedCompletionDateUSD2JDEDATEOPTOUTPUT

User defined Julian Date 2.

jdUserDate3USD3JDEDATEOPTOUTPUT

A Julian date.

jdUserDate4USD4JDEDATEOPTOUTPUT

A Julian date.

szAiaCatCode1AI01charOPTOUTPUT

A user defined category code (52/01) that you can use to meet the specific needs of a contract.

szAiaCatCode2AI02charOPTOUTPUT

A user-defined category code (52/02) that you can use to meet the specific needs of a contract.

szAiaCatCode3AI03charOPTOUTPUT

A user defined category code (52/03) that you can use to meet the specific needs of a contract.

szAiaCatCode4AI04charOPTOUTPUT

A user defined category code (52/04) that you can use to meet the specific needs of a contract.

szAiaCatCode5AI05charOPTOUTPUT

A user defined category code (52/05) that you can use to meet the specific needs of a contract.

szContractCatCode11AI11charOPTOUTPUT

A user defined category code (system 52, code 11) that can be defined to meet the specific needs of a contract.

szContractCatCode12AI12charOPTOUTPUT

A user defined category code (system 52, code 12) that can be defined to meet the specific needs of a contract. 

szContractCatCode13AI13charOPTOUTPUT

A user defined category code (system 52, code 13) that can be defined to meet the specific needs of a contract.

szContractCatCode14AI14charOPTOUTPUT

A user defined category code (system 52, code 14) that can be defined to meet the specific needs of a contract.

szContractCatCode15AI15charOPTOUTPUT

A user defined category code (system 52, code 15) that can be defined to meet the specific needs of a contract.

mnContractExchangeRateCRRMATH_NUMERICOPTBOTH

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. 

cCntlFlag2CTF2charOPTBOTH

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

cCntlFlag4CTF4charOPTOUTPUT

Reserved by J.D. Edwards.

cCntlFlag5CTF5charOPTOUTPUT

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.

szErrorMessageDTAIcharOPTOUTPUT

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.

szArchitectContractADCMcharOPTOUTPUT

The Architect Contract Number as recorded on the owners books.  This information will be for reference and kept for use in Contract 
Search.

szRetainageRuleStoredMtRTN1charOPTOUTPUT

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

cAiaBillingFormAIABcharOPTOUTPUT

A Y is used to indicate that the AIA Form G702/G703 is to be printed;otherwise, you can select a specific format using the Invoice Writer.

cContractOverrideRuleCTOVcharOPTOUTPUT

A control field for controlling revenue recognition with overrides.

cBurdenOverrideBROVcharOPTOUTPUT

The following values are allowed for this field:    = Burden billed and recognized    1 Burden billed but not recognized    2 Burden recognized 
but not billed    3 Burden not recognized and not billed

mnNottoExceedAmountRestateRNTEMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

cDateExchangeRateDateBasiERDBcharOPTOUTPUT

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.

mnCurrencyConverRateDivCRRDMATH_NUMERICOPTOUTPUT

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. 

cCntlFlag3CTF3charOPTOUTPUT

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.

szBatchControlKeyBCTKcharOPTOUTPUT

Reserved by J.D. Edwards.

szProgramIdPIDcharOPTBOTH

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.

cProcessFlagEV01charOPTBOTH


^

Related Functions

None

Related Tables

None
UpdateContractMasterRecord

UpdateContractMasterRecord

Get Update Contract Master Record

Minor Business Rule

Object Name: N5200010

Parent DLL: CCRIN

Location: Client/Server

Language: NER

This Business Function will retrieve one Contract Master (F5201) record. If no record is found, an error will be passed back to the calling program. The 
function will also update a Contract Master record. The specific fields updated will depend on the value of the processing flag. The function will also 

determine if a contract is a parent contract of another contract.

If the Contract is in an active invoice or revenue batch and that batch or invoice is deleted then the invoice or revenue batch number will be set to zero.


^

Data Structure

D5200010 - Get Contract Master Information

DOCOContract Number   I/OYes
DCTOType                        I/O                Yes

KCOOContract Compa                 I/O 

ICUInvoice Batch                 I/O 

ICUJRevenue Batch                 I/O 

DL01Description01                   O 

DL02Description02                   O 

DL03Description03                   O  

DCCompressed Description   O 

ODCMOwner Contract                    O 

OCNCOwner Contract Compress   O 

AN8OCustomer Address Number   O 

ANOBAlternate Billing Address   O 

AN8KArchitect Address Number   O

ADCMArchitect Contract   O

USA1User Add Num1                   O

USA2User Add Num2                   O

USA3User Add Num3                   O

USA4Remit To Address   O

USA5Send To Address                   O

DSContract Status                   O

CTContract Type                   O

MCUSProject Job                   O

JMCUHost Business Unit   O

COCompany                   O

PCTNParent Contract Number   O

PCTTParent Contract Type   O

PCKOParent Contract Company   O

RTNRRetainage Rule                   O

RGLCGL Offset Retention   O

RTN1Retainage Rule Stored Mat   O

RCTLRetainage Control Flag   O

EXR1Tax Explanation Code   O

TXA1Tax Area                   O

INVFInvoice Format Code   O

AIABAIA Billing Form                   O

CTOVContract Override Rule   O

PTCPayment Terms Code   O

BLWPBill When Paid                   O

PYWPPay When Paid                   O

BROVBurden Override                   O

FSLVFee Summarization Level   O

CRCDBase Currency                    O

CRCFBilling Currency                   O

CRRMContract Currency Mode   O

CRRContract Exchange Rate I/O

NTEXNot To Exceed                 I/O

NTEFNot To Exceed  Foreign I/O

RNTENot To Exceed Amount RestatedO

ERDBDate Exchange Rate Date BasisO

LMEXLimit Exceeded Flag  I/O

MCIAMinimum Contract Amount I/O

MCIFMinimum Contract Amount  Foreign I/O

CSDTContract Start Date    O

CDTEContract End Date    O

USD1Planned Start Date    O

USD2Planned Completion Date    O

USD3User Date 3                    O

USD4User Date 4                    O

AI01Aia Cat Code1                    O

AI02Aia Cat Code2                    O

AI03Aia Cat Code3                    O

AI04Aia Cat Code4                    O

AI05Aia Cat Code5                    O

AI11Aia Cat Code11                    O

AI12Aia Cat Code12                    O

AI13Aia Cat Code13                    O

AI14Aia Cat Code14                    O

AI15Aia Cat Code15                    O

CRRDCurrency Conversion Rate DivO

CTF2Cntl Flag 2                  I/O

CTF3Cntl Flag 3                     O

CTF4Cntl Flag 4                     O

CTF5Cntl Flag 5                     O

BCTKBatch Control Key     O

PIDProgram ID                  I/O

JOBNWorkstation ID                     O

USERUser ID                                     O

MUPMDate Record Updated     O

UPMTTime Last Updated     O

DTAIError Message                      O

EV01Process Flag                   I/O


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnContractNumberDOCOMATH_NUMERICREQBOTH

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.

szTypeDCTOcharREQBOTH

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

szContractCompanyKCOOcharOPTBOTH

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.

mnRevenueBatchICUMATH_NUMERICOPTBOTH

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.

mnInvoiceBatchICUJMATH_NUMERICOPTBOTH

A batch number the system automatically assigns when you run Revenue Journal Generation.

szDescription01DL01charOPTOUTPUT

A user defined name or remark.

szDescription02DL02charOPTOUTPUT

Additional text that further describes or clarifies a field in the system.

szDescription03DL03charOPTOUTPUT

Additional text that further describes or clarifies an element.

szCompressedDescriptionDCcharOPTOUTPUT

The compressed description contains the alpha name without slashes, dashes, commas, and other special characters.  The compressed 
description is the field used in the Name Search.

szOwnerContractODCMcharOPTOUTPUT

The contract number as recorded on the owner's books. If you enter this number on the Contract Master Revisions form, you can use it as a 
search criterion on the Contract Search form. The system updates this number in the reference field (VR01) of the accounts receivable 
record for billing.

szOwnerContractCompressOCNCcharOPTOUTPUT

The compressed owner contract number contains the number without spaces,slashes, dashes, commas, and other special characters.  
The compressed number is the field used in Contract Search.

mnCustomerAddressNumberAN8OMATH_NUMERICOPTOUTPUT

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

mnAlternateBillingAddressANOBMATH_NUMERICOPTOUTPUT

The address number of an alternate location to which the owner wants the invoice (application) sent.

mnArchitectAddressNumberAN8KMATH_NUMERICOPTOUTPUT

The address number of the architect for the contract or project.

mnUserAddNum1USA1MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

mnUserAddNum2USA2MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

mnUserAddNum3USA3MATH_NUMERICOPTOUTPUT

Address Number 3 - User

mnRemitToAddressUSA4MATH_NUMERICOPTOUTPUT

Address Number - Remit To

mnSendToAddressUSA5MATH_NUMERICOPTOUTPUT

User defined address book number.  This will be verified against Address Book.

szContrctStatusDScharOPTOUTPUT

A two-character code that provides status information about a contract. This status is edited against user defined codes (52/CS).

szContractTypeCTcharOPTOUTPUT

A user defined code (51/CT) that identifies the type of contract.

szProjectJobMCUScharOPTOUTPUT

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.

szHostBusinessUnitJMCUcharOPTOUTPUT

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

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.

mnParentContractNumberPCTNMATH_NUMERICOPTOUTPUT

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

szParentContractTypePCTTcharOPTOUTPUT

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

szParentContractCompanyPCKOcharOPTOUTPUT

Parent Contract Document Company.

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.

szGlOffsetRetentionRGLCcharOPTOUTPUT

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.

cRetainageControlFlagRCTLcharOPTOUTPUT

An option that determines whether the retainage amount is stored in the Accounts Receivable or General Accounting system and whether 
tax is calculated on the whole amount, including the retainage, or on each amount as it is billed. Valid values are: Blank The retainage is 
stored in the Accounts Receivable system and the tax is computed from the total taxable amount. 1 The retainage is stored in the Accounts 
Receivable system and the tax on the retainage amount is calculated and then subtracted from the total tax amount. This tax on retainage is 
deferred until the retainage is released. 2 The retainage is stored in the General Accounting system and the tax is computed from the total taxable 
amount. 3 The retainage is stored in the General Accounting system and the tax on the retainage amount is calculated and then subtracted from 
the total tax amount. This tax on retainage is deferred until the retainage is released.

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.

szInvoiceFormatCodeINVFcharOPTOUTPUT

A code that uniquely identifies a series of formats and determines the overall layout of the invoice.

szPaymentTermsCode01PTCcharOPTOUTPUT

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.

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.

cFeeSummarizationLevelFSLVcharOPTOUTPUT

The level of detail at which the system creates work file records for fee lines.     o If you leave this field blank, the system creates fees at a 
summarized level, with one work file record (F4812) per fee line.     o A value of "1" in this field indicates that the system should create the F4812 
records at a detailed level, with one work file record for each unique combination of key values. "Key Values" refers to any value that could be 
used as a key or a result in the Account Derivation Table.  Key value fields include:        Subledger - Customer Subledger Type - Home 
Business Unit Work Order Class - Company Job - Equipment Number Job Class - Component Code

szBaseCurrencyCRCDcharOPTOUTPUT

A code that identifies the currency of a transaction. 

szBillingCurrencyCRCFcharOPTOUTPUT

The currency code of the insured amount.

cContractCurrencyModeCRRMcharOPTOUTPUT

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_NUMERICOPTBOTH

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.

mnNotToExceedForeignNTEFMATH_NUMERICOPTBOTH

The maximum foreign not-to-exceed amount. The foreign not-to-exceed amount applies to the entire contract and all related change 
orders. 

cLimitExceededFlagLMEXcharOPTBOTH

A field that identifies any row (pay item, change order, or contract) for which the NTE limit has been exceeded. If the Billed to Date amount is 
greater than the NTE limit, the Limit Exceeded field is checked for the affected row. If the billed to date amount is less than the minimum 
invoice amount for the contract, the Limit Not Reached field is checked for the affected row, indicating that you have underbilled.

mnMinimumContractAmtMCIAMATH_NUMERICOPTBOTH

The minimum amount required for the contract. If the billing amount is less than the amount in this field, the system will not generate an 
invoice.

mnMinimumContractAmtForeignMCIFMATH_NUMERICOPTBOTH

The foreign minimum amount required for the contract. If the billing amount is less than the amount in this field, the system does not generate 
an invoice.

jdContractStartDateCSDTJDEDATEOPTOUTPUT

The date you actually start work on the contract.

jdContractEndDateCDTEJDEDATEOPTOUTPUT

The date you actually completed work on the contract.

jdPlannedStartDateUSD1JDEDATEOPTOUTPUT

User defined Julian Date 1.

jdPlannedCompletionDateUSD2JDEDATEOPTOUTPUT

User defined Julian Date 2.

jdUserDate3USD3JDEDATEOPTOUTPUT

A Julian date.

jdUserDate4USD4JDEDATEOPTOUTPUT

A Julian date.

szAiaCatCode1AI01charOPTOUTPUT

A user defined category code (52/01) that you can use to meet the specific needs of a contract.

szAiaCatCode2AI02charOPTOUTPUT

A user-defined category code (52/02) that you can use to meet the specific needs of a contract.

szAiaCatCode3AI03charOPTOUTPUT

A user defined category code (52/03) that you can use to meet the specific needs of a contract.

szAiaCatCode4AI04charOPTOUTPUT

A user defined category code (52/04) that you can use to meet the specific needs of a contract.

szAiaCatCode5AI05charOPTOUTPUT

A user defined category code (52/05) that you can use to meet the specific needs of a contract.

szContractCatCode11AI11charOPTOUTPUT

A user defined category code (system 52, code 11) that can be defined to meet the specific needs of a contract.

szContractCatCode12AI12charOPTOUTPUT

A user defined category code (system 52, code 12) that can be defined to meet the specific needs of a contract. 

szContractCatCode13AI13charOPTOUTPUT

A user defined category code (system 52, code 13) that can be defined to meet the specific needs of a contract.

szContractCatCode14AI14charOPTOUTPUT

A user defined category code (system 52, code 14) that can be defined to meet the specific needs of a contract.

szContractCatCode15AI15charOPTOUTPUT

A user defined category code (system 52, code 15) that can be defined to meet the specific needs of a contract.

mnContractExchangeRateCRRMATH_NUMERICOPTBOTH

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. 

cCntlFlag2CTF2charOPTBOTH

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

cCntlFlag4CTF4charOPTOUTPUT

Reserved by J.D. Edwards.

cCntlFlag5CTF5charOPTOUTPUT

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.

szErrorMessageDTAIcharOPTOUTPUT

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.

szArchitectContractADCMcharOPTOUTPUT

The Architect Contract Number as recorded on the owners books.  This information will be for reference and kept for use in Contract 
Search.

szRetainageRuleStoredMtRTN1charOPTOUTPUT

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

cAiaBillingFormAIABcharOPTOUTPUT

A Y is used to indicate that the AIA Form G702/G703 is to be printed;otherwise, you can select a specific format using the Invoice Writer.

cContractOverrideRuleCTOVcharOPTOUTPUT

A control field for controlling revenue recognition with overrides.

cBurdenOverrideBROVcharOPTOUTPUT

The following values are allowed for this field:    = Burden billed and recognized    1 Burden billed but not recognized    2 Burden recognized 
but not billed    3 Burden not recognized and not billed

mnNottoExceedAmountRestateRNTEMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

cDateExchangeRateDateBasiERDBcharOPTOUTPUT

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.

mnCurrencyConverRateDivCRRDMATH_NUMERICOPTOUTPUT

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. 

cCntlFlag3CTF3charOPTOUTPUT

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.

szBatchControlKeyBCTKcharOPTOUTPUT

Reserved by J.D. Edwards.

szProgramIdPIDcharOPTBOTH

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.

cProcessFlagEV01charOPTBOTH


^

Related Functions

None

Related Tables

None
OUTPUT

A user defined category code (system 52, code 15) that can be defined to meet the specific needs of a contract.

mnContractExchangeRateCRRMATH_NUMERICOPTBOTH

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. 

cCntlFlag2CTF2charOPTBOTH

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

cCntlFlag4CTF4charOPTOUTPUT

Reserved by J.D. Edwards.

cCntlFlag5CTF5charOPTOUTPUT

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.

szErrorMessageDTAIcharOPTOUTPUT

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.

szArchitectContractADCMcharOPTOUTPUT

The Architect Contract Number as recorded on the owners books.  This information will be for reference and kept for use in Contract 
Search.

szRetainageRuleStoredMtRTN1charOPTOUTPUT

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

cAiaBillingFormAIABcharOPTOUTPUT

A Y is used to indicate that the AIA Form G702/G703 is to be printed;otherwise, you can select a specific format using the Invoice Writer.

cContractOverrideRuleCTOVcharOPTOUTPUT

A control field for controlling revenue recognition with overrides.

cBurdenOverrideBROVcharOPTOUTPUT

The following values are allowed for this field:    = Burden billed and recognized    1 Burden billed but not recognized    2 Burden recognized 
but not billed    3 Burden not recognized and not billed

mnNottoExceedAmountRestateRNTEMATH_NUMERICOPTOUTPUT

Reserved by J.D. Edwards.

cDateExchangeRateDateBasiERDBcharOPTOUTPUT

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.

mnCurrencyConverRateDivCRRDMATH_NUMERICOPTOUTPUT

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. 

cCntlFlag3CTF3charOPTOUTPUT

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.

szBatchControlKeyBCTKcharOPTOUTPUT

Reserved by J.D. Edwards.

szProgramIdPIDcharOPTBOTH

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.

cProcessFlagEV01charOPTBOTH


^

Related Functions