EditContractAccountInformation

Get Contract Billing Information

Minor Business Rule

Object Name: N5200120

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D5200120A - Edit F5212 Contract Match

Parameter NameData ItemData TypeReq/OptI/O/Both
cTransactionClassTCLScharREQINPUT

A code that identifies the classification of a billing transaction. Valid codes are: Blank An ad hoc entry in the active Billing Detail Workfile 
table (F4812). A Contract revenue, not a time and materials record. B NTE place holder. C Service contracts (SWM). D Service orders 
(SWM). E Claims (SWM). F Calls (SWM). R Retainage. 0 Components. 1 Labor entry. 2 Burden entry. 3 Equipment entry. 4 Reserved by PeopleSoft. 5 Purchasing 
accounts payable entry. 6 Journal entry. 7 Manual entry. 8 System-generated control record. 9 Reserved by PeopleSoft.

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.

szObjectAccountOBJcharREQINPUT

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.

szSubsidiarySUBcharREQINPUT

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

szSubledgerSBLcharOPTINPUT

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

cSubledgerTypeSBLTcharOPTINPUT

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

szJobTypeJBCDcharOPTINPUT

A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and 
apply that information to the employees who are linked to that job type.

szJobStepJBSTcharOPTINPUT

A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job 
type to determine pay rates by job in the Pay Rates table.

mnPDBACodePDBAMATH_NUMERICOPTINPUT

A code that defines the type of pay, deduction, benefit, or accrual. Pay types are numbered from 1 to 999. Deductions and benefits are 
numbered from 1000 to 9999.

mnEmpSuppNoAN8MATH_NUMERICOPTINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szEquipRateGroupACL0charOPTINPUT

A user defined code (12/CO) that groups similar items for billing. If you are an Equipment Management client and you use Equipment 
Billing, you must use this category code for rate group purposes only.

szEquipmentWorkedEQCGcharOPTINPUT

The ID number of the equipment an employee used to perform a job. For example, an employee might drive a company dump truck or 
operate a printing press. Use this field to distribute the cost of using the equipment to the proper account in the general ledger.

szHomeBUHMCUcharOPTINPUT

The number of the business unit in which the employee generally resides.

szCostPoolRP12charOPTINPUT

Category code 12 associated with the Business Unit Master file (F0006).  This is a user defined code (00/12) for use in flex account mapping 
and in printing selected information on reports.

cContractMatchExistsEV01charOPTOUTPUT

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

mnContractNoDOCOMATH_NUMERICOPTOUTPUT

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.

szContractDocTypeDCTOcharOPTOUTPUT

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

szContractKeyCoKCOOcharOPTOUTPUT

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.

szContractChgOrderCOCHcharOPTOUTPUT

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_NUMERICOPTOUTPUT

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.

szContractBillingLineOPIMcharOPTOUTPUT

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.

mnCustomerNoAN8OMATH_NUMERICOPTOUTPUT

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

szTaxExplanationCodeEXR1charOPTOUTPUT

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.

szTaxRateAreaTXA1charOPTOUTPUT

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.

szPaymentTermsPTCcharOPTOUTPUT

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.

cBillingTypePRTPcharOPTOUTPUT

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

szHostBUJMCUcharOPTOUTPUT

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

mnParentContNoPCTNMATH_NUMERICOPTOUTPUT

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

szParentContractTypePCTTcharOPTOUTPUT

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

szParentContractKeyCoPCKOcharOPTOUTPUT

Parent Contract Document Company.

cEligibilityOvrCodeCTF1charOPTOUTPUT

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.

szBaseCurrencyCRCDcharOPTOUTPUT

A code that identifies the currency of a transaction. 

szBillingCurrencyCRCFcharOPTOUTPUT

The currency code of the insured amount.

cCurrencyModeCRRMcharOPTOUTPUT

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.

szGlOffsetGLCcharOPTOUTPUT

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.

szGlOffsetRetRGLCcharOPTOUTPUT

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.

cProcessingModeEV01charREQINPUT

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

idCacheIDHCACHEIDREQBOTH

idCacheID 
This parameter is used in conjunction with the cUseCache parameter to determine how to cache the contract matching 

process.  A value should never be passed in to this parameter, unless it is a value generated by a previous call to this 

function.


cUseCacheEV01charREQINPUT

cUseCache

Enter a '1' to cache matching contract information and search through the cache when attemption to match to a 

contract.  When using cache you will need to make sure you pass the idCacheID field through all iterations of contract matching. 

 Additionally, you will need to use the idCacheID field to terminate the cache when you are done matching to contract 

information.


Any other value will not use the caching functionallity.


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.

idHF5212HF5212IDOPTNONE

A handle for the T and M, Unit Price and Lumpsum Cross Reference Accounts table (F5212).

Related Functions

None

Related Tables

None
GetContractInformation

GetContractInformation

Get Contract Billing Information

Minor Business Rule

Object Name: N5200120

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D5200120 - Contract Billing Transaction Identifier

Parameter NameData ItemData TypeReq/OptI/O/Both
cTransactionClassTCLScharREQINPUT

A code that identifies the classification of a billing transaction. Valid codes are: Blank An ad hoc entry in the active Billing Detail Workfile 
table (F4812). A Contract revenue, not a time and materials record. B NTE place holder. C Service contracts (SWM). D Service orders 
(SWM). E Claims (SWM). F Calls (SWM). R Retainage. 0 Components. 1 Labor entry. 2 Burden entry. 3 Equipment entry. 4 Reserved by PeopleSoft. 5 Purchasing 
accounts payable entry. 6 Journal entry. 7 Manual entry. 8 System-generated control record. 9 Reserved by PeopleSoft.

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.

szObjectAccountOBJcharREQINPUT

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.

szSubsidiarySUBcharREQINPUT

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

szSubledgerSBLcharOPTINPUT

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

cSubledgerTypeSBLTcharOPTINPUT

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

szJobTypeJBCDcharOPTINPUT

A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and 
apply that information to the employees who are linked to that job type.

szJobStepJBSTcharOPTINPUT

A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job 
type to determine pay rates by job in the Pay Rates table.

mnPDBACodePDBAMATH_NUMERICOPTINPUT

A code that defines the type of pay, deduction, benefit, or accrual. Pay types are numbered from 1 to 999. Deductions and benefits are 
numbered from 1000 to 9999.

mnEmpSuppNoAN8MATH_NUMERICOPTINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szEquipRateGroupACL0charOPTINPUT

A user defined code (12/CO) that groups similar items for billing. If you are an Equipment Management client and you use Equipment 
Billing, you must use this category code for rate group purposes only.

szEquipmentWorkedEQCGcharOPTINPUT

The ID number of the equipment an employee used to perform a job. For example, an employee might drive a company dump truck or 
operate a printing press. Use this field to distribute the cost of using the equipment to the proper account in the general ledger.

szHomeBUHMCUcharOPTINPUT

The number of the business unit in which the employee generally resides.

szCostPoolRP12charOPTINPUT

Category code 12 associated with the Business Unit Master file (F0006).  This is a user defined code (00/12) for use in flex account mapping 
and in printing selected information on reports.

cContractMatchExistsEV01charOPTOUTPUT

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

mnContractNoDOCOMATH_NUMERICOPTOUTPUT

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.

szContractDocTypeDCTOcharOPTOUTPUT

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

szContractKeyCoKCOOcharOPTOUTPUT

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.

szContractChgOrderCOCHcharOPTOUTPUT

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_NUMERICOPTOUTPUT

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.

szContractBillingLineOPIMcharOPTOUTPUT

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.

mnCustomerNoAN8OMATH_NUMERICOPTOUTPUT

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

szTaxExplanationCodeEXR1charOPTOUTPUT

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.

szTaxRateAreaTXA1charOPTOUTPUT

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.

szPaymentTermsPTCcharOPTOUTPUT

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.

cBillingTypePRTPcharOPTOUTPUT

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

szHostBUJMCUcharOPTOUTPUT

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

mnParentContNoPCTNMATH_NUMERICOPTOUTPUT

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

szParentContractTypePCTTcharOPTOUTPUT

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

szParentContractKeyCoPCKOcharOPTOUTPUT

Parent Contract Document Company.

cEligibilityOvrCodeCTF1charOPTOUTPUT

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.

szBaseCurrencyCRCDcharOPTOUTPUT

A code that identifies the currency of a transaction. 

szBillingCurrencyCRCFcharOPTOUTPUT

The currency code of the insured amount.

cCurrencyModeCRRMcharOPTOUTPUT

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.

szGlOffsetGLCcharOPTOUTPUT

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.

szGlOffsetRetRGLCcharOPTOUTPUT

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.

idCacheIDHCACHEIDREQBOTH

idCacheID 
This parameter is used in conjunction with the cUseCache parameter to determine how to cache the contract matching 

process.  A value should never be passed in to this parameter, unless it is a value generated by a previous call to this 

function.

cUseCacheEV01charREQINPUT

cUseCache

Enter a '1' to cache matching contract information and search through the cache when attemption to match to a 

contract.  When using cache you will need to make sure you pass the idCacheID field through all iterations of contract matching. 

 Additionally, you will need to use the idCacheID field to terminate the cache when you are done matching to contract 

information.


Any other value will not use the caching functionallity.

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.

idHF5212HF5212IDOPTNONE

A handle for the T and M, Unit Price and Lumpsum Cross Reference Accounts table (F5212).

Related Functions

None

Related Tables

None