GenerateInvoiceCache

F4822GenerateInvoiceRecord

Minor Business Rule

Object Name: B48S0280

Parent DLL: CCRIN

Location: Client/Server

Language: C

RetainageCalculation= ' 'Used in N5200216/N5200218 to ADD TO the existing values in the cache.
     = '1'Used in N48S0220 to REPLACE specific fields (RTNG, FTNG, DDTR, FDTR, 

STAM, CTAM, THPD, FHPD, ADSC, and CDS) in the cache.

Data Structure

D48S0280A - GenerateInvoiceCache

Parameter NameData ItemData TypeReq/OptI/O/Both
idSeqSumInformationOBIDIDREQINPUT

The Object Identifier uniquely identifies a control on a form.

mnAddressNumberJobArAN8OMATH_NUMERICREQINPUT

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

mnAddNoAlternatePayeeAN8JMATH_NUMERICOPTINPUT

An alternate address to which accounts payable can send payments due.

szCompanyCOcharREQINPUT

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.

szCostCenterMCUcharREQINPUT

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.

szSubledgerSBLcharREQINPUT

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.

cSubledgerTypeSBLTcharREQINPUT

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  

jdDateBillFromBTFRJDEDATEREQINPUT

The from date used to determine if a transaction is billed. The transaction is billed if the general ledger date falls between the from date and 
the through date.

jdBilledThroughDateBTDTJDEDATEREQINPUT

This field will be used in the Recurring Billing module as part of a date-oriented billing method, as opposed to period-oriented billing.  This 
field will contain the latest date for which billings have been generated for the associated billing line.

jdDtForGLAndVouch1DGLJDEDATEREQINPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

jdDateServiceCurrencyDSVJJDEDATEREQINPUT

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

mnBatchNumberICUMATH_NUMERICREQINPUT

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.

mnDocumentOrderAltDOCZMATH_NUMERICREQBOTH


szDocTypeInvoiceOnlyDCTIcharREQINPUT


szDocumentCompanyInvoiceKCOIcharREQINPUT


jdApplicatnDateAPDTJDEDATEREQINPUT

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

mnAmountFieldAAMATH_NUMERICREQINPUT


mnAmountCurrencyACRMATH_NUMERICREQINPUT

The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set 
to Y, the foreign amount is multiplied by the exchange rate to arrive at the domestic amount. If the Multi-Currency Conversion option is set to Z, 
the foreign amount is divided by the exchange rate.

mnThisPeriodTHPDMATH_NUMERICREQINPUT

The amount that is being billed for this contract pay item.

mnThisPeriodForeignFHPDMATH_NUMERICREQINPUT

The amount that is being billed for this contract pay item. On entry screens,you can enter this amount one of three ways:     o A Dollar 
Amount.     o A Percent Complete. Enter a percent sign % before or after the percent complete amount. For example, you can enter 10% complete as 
%10 or 10%.        The system calculates this amount as the Schedule of Values minus prior payments.     o Number of Units. Enter a forward 
slash / before or after the number of units. For example, you can enter 10 units as /10 or 10/. The system calculates this amount as the number 
of units multiplied by the unit rate. You must have a unit rate payment type and a valid unit price for the contract pay item in order to use this 
entry method.

szTaxArea1TXA1charREQINPUT

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.

szTaxExplanationCode1EXR1charREQINPUT


mnAmtTax2STAMMATH_NUMERICREQINPUT


mnForeignTaxAmountCTAMMATH_NUMERICREQINPUT


mnAmountTaxableATXAMATH_NUMERICREQINPUT

The amount on which taxes are assessed.

mnForeignTaxableAmountCTXAMATH_NUMERICREQINPUT

That portion of the sale that is subject to tax in foreign currency.

mnAmountTaxExemptATXNMATH_NUMERICREQINPUT

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

mnForeignTaxExemptCTXNMATH_NUMERICREQINPUT

The foreign amount associated with this document which is not subject to sales, use or value-added tax due to the nature of the transaction 
and not due to the nature of the parties to the transaction (as in tax exemption).

mnTotalAmountLaborTLABMATH_NUMERICREQINPUT

The total labor amount of the invoice or bill.

mnTotalAmountLaborForeiFLABMATH_NUMERICREQINPUT

The total labor foreign amount of the invoice or bill.

mnTotalAmountBurdenTBURMATH_NUMERICREQINPUT

The total burden amount of the invoice or bill.

mnAmtDiscountAvailableADSCMATH_NUMERICREQINPUT

The amount of the invoice or voucher pay item that is eligible to be subtracted from the gross amount when the transaction is paid. The 
system calculates discount amounts based on the payment term entered on the transaction.  Note: If the system calculates the discount, verify 
that it applies to the pay item specified. Usually, freight, sales tax, and labor charges that are included in the gross amount do not qualify for 
discounts.

mnForeignDiscountAvailCDSMATH_NUMERICREQINPUT


cCurrencyModeCRRMcharREQINPUT

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.

szCurrencyCodeFromCRCDcharREQINPUT


szCurrencyCodeOriginCRCFcharREQINPUT

The currency code of the insured amount.

mnCurrencyConverRateDivCRRDMATH_NUMERICREQINPUT

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. 

cModeOfInputValuesMIVLcharREQINPUT


cErrorCodeEV01charOPTOUTPUT

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

szObjectAccountOBJcharOPTINPUT

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

szSubsidiarySUBcharOPTINPUT

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

szDocumentTypeDCTcharOPTINPUT

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

mnAddressNumberAN8MATH_NUMERICOPTINPUT

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

szJobClassRP11charOPTINPUT

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

szWorkOrderClassWR07charOPTINPUT

A user defined code (00/W7) that indicates the service type for the work order.

szPhaseWR01charOPTINPUT

A user defined code (00/W1) that indicates the current stage or phase of development for a work order. You can assign a work order to only 
one phase code at a time. Note: Certain forms contain a processing option that allows you to enter a default value for this field. If you enter a 
default value on a form for which you have set this processing option, the system displays the value in the appropriate fields on any work 
orders that you create. The system also displays the value on the Project Setup form. You can either accept or override the default value.

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.

szJobCategoryJBCDcharOPTINPUT

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.

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

szEquipmentWorkedPayrollEQCGcharOPTINPUT

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.

szClassCode0ACL0charOPTINPUT

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.

szCostCenterHomeHMCUcharOPTINPUT

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

szPayrollTaxTypePTAXcharOPTINPUT

A code that specifies the type of payroll tax being processed. This is a user defined code (07/TX). To set up state minimum wage amounts, 
you must enter MW in this field. To do so, you must first add MW to UDC 07/TX. However, you should not change the codes and definitions 
that J.D. Edwards provides with the software.

szBillItemCodeR001charOPTINPUT

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

szCategoryCodeGl002R002charOPTINPUT

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

szLocationR003charOPTINPUT

Category code 3 associated with the Account Master table (F0901). The system uses this user defined code (09/03) in mapping flexible 
account numbers and printing selected account information on reports.

mnRateInvoiceBRTIMATH_NUMERICOPTINPUT

A rate that the system uses to mark up the invoice amount reflected in the billing of professional services workers such as draftsmen, 
engineers, or consultants. This rate does not affect the employee's paycheck. You can use the markup rate as an override rate or a maximum 
rate. The calculation of the override rate for the total invoice markup is as follows: (Override Rate x Unit) x (1 + Markup Percent) + Markup 
Amount When you specify a maximum or cap rate, the system compares the rate override with the rate from the cost transaction. The system then 
uses the lower rate as the override rate. You set up the override or maximum unit rate using the Billing Rate / Markup Table program (P48096). 
Within the Service Billing and Contract Billing systems, you can mark up the revenue amount at a different rate from the invoice amount. The 
Independent Revenue/Invoice Amounts option in the Billing System Constants table (F48091) controls this function. Use generation type 1 to 
specify a table for invoice, revenue, and component markup rates and use generation type 2 to specify a table for revenue and component 
markup rates. Use generation type 1 to specify the invoice and revenue markup rates only when the Independent Revenue/Invoice amounts 
are set to not equal in the Billing Constants.

szProgramIdPIDcharREQINPUT

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

szWorkStationIdJOBNcharREQINPUT

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

szUserIdUSERcharREQINPUT

The code that identifies a user profile.

jdDateRecordUpdatedMUPMJDEDATEREQINPUT

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

mnTimeLastUpdatedUPMTMATH_NUMERICREQINPUT

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

szPaymentTermsARTRARcharREQINPUT

A code that indicates the default payment terms for a customer. Payment terms determine the due date, discount amount, and discount due 
date that the system assigns when you create an invoice. Use a blank code for the payment terms that you use most frequently.  Examples 
of payment terms include: Blank Net 15   1 1/10 net 30   2 2/10 net 30   D Due upon receipt   N Net 30   P Prox 25th  

szGlClassGLCcharREQINPUT

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.

cKeyTypeGLOffsetTableTKG1charOPTINPUT


mnDocVoucherInvoiceEDOCMATH_NUMERICOPTINPUT

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szComponentCodeCCODcharOPTINPUT

A component code identifies a provisional burden that is accounted for at the billing detail transaction level.

mnBillingControlIdBCIMATH_NUMERICOPTINPUT

A unique number that the system assigns to each billing record. The system assigns the number from the Next Numbers - Automatic table 
(F0002) for system 15, line 2 (Billing Control).

mnTotalAmountBurdenForeFBURMATH_NUMERICREQINPUT

The total burden foreign amount of the invoice or bill.

mnAmountDocumentsEnteredDOCNMATH_NUMERICREQBOTH

If you are using the batch control feature, the number of transactions entered into the batch. If you are not using batch control, the system 
displays the number as negative. Note: The batch review screen is used by many J.D. Edwards systems. As a result, this field might not apply to 
batches created by your particular system.

mnAmountEnteredAMEMATH_NUMERICREQBOTH


szDocumentPayItemSFXcharREQBOTH

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

szCompositeKeyBlockBLKKcharOPTOUTPUT

The Composit Key Block contains the values of multiple key fields grouped in various sequences.  In the Service Billing system, it is used 
in conjunction with the Invoice Sequence/Summarization Table.  The system uses the Invoice Seq/Summ Key to determine how the key 
fields are sequenced and groups the field values into this Composit Key Block.

jdDateDueJulianDDJJDEDATEREQINPUT

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

mnCurrencyConverRateOvCRRMATH_NUMERICREQINPUT


mnDocumentOrderInvoiceEDOCOMATH_NUMERICOPTINPUT

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

szOrderTypeDCTOcharOPTINPUT

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

szCompanyKeyOrderNoKCOOcharOPTINPUT

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.

mnParentContNumberPCTNMATH_NUMERICOPTINPUT

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

szParentContractTypePCTTcharOPTINPUT

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

szParentContractDocumentCoPCKOcharOPTINPUT

Parent Contract Document Company.

szContractChangeNumCOCHcharOPTINPUT

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

mnLineNumberLNIDMATH_NUMERICOPTINPUT

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

szOwnerPayItemOPIMcharOPTINPUT

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

mnPercntRetainagePRETMATH_NUMERICOPTINPUT

The retainage rate for the contract. The rate is a percentage that is expressed as a whole number. For example, you enter a retainage rate 
of 10.5 percent as 10.5.

szGlOffsetRetentionRGLCcharREQINPUT

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.

szAuthorizeTransactionIDATRIcharOPTINPUT

This field indicates the identification number for authorization.  You can track your prepayment authorization transaction with this 
identification number.

cModeOfInputSmMISMcharOPTBOTH

This code indicates the mode of input for Stored Materials.    blank indicates dollar amount entered.    %       indicates percent complete 
entered.

mnApplicationNoAPPLMATH_NUMERICOPTINPUT

The last or current application number for the specified contract. (The system assigns a new application number each time an invoice is 
issued for the contract.)

mnAdjustmentNoADJNMATH_NUMERICOPTINPUT

A number used to control changes to closed applications. Closed applications represent invoices that have been sent. This number is 
always zero unless you reopen a previous application.

cBillingTypePRTPcharOPTINPUT

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

cBillSuspendFlagBLSPcharOPTINPUT

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

mnUnitsUMATH_NUMERICOPTINPUT

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

szUnitOfMeasureUMcharOPTINPUT

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

mnUnitPriceUPMATH_NUMERICOPTINPUT

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

mnForUnitPriceFUPMATH_NUMERICOPTINPUT

The foreign price per unit.

mnPriorUnitsInvPUHPMATH_NUMERICOPTINPUT

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

mnPriorInvTotalAmtPTHPMATH_NUMERICOPTINPUT

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

mnForPriorInvTotalAmtFTHPMATH_NUMERICOPTINPUT

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

mnPriorInvTaxAmtPTAMMATH_NUMERICOPTINPUT

The tax amount previously billed for the billing line on the contract.

mnForPriorInvTaxAmtFPTAMATH_NUMERICOPTINPUT

The foreign tax amount previously billed for the billing line on the contract.

mnPriorInvTaxableAmtPATXMATH_NUMERICOPTINPUT


mnForPriorInvTaxableAmtFATXMATH_NUMERICOPTINPUT


szRetRuleRTNRcharOPTINPUT

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.

cRetControlFlagRCTLcharOPTINPUT

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.

mnRetAmtRTNGMATH_NUMERICOPTINPUT

This field is the retained dollars for a contract line.

mnForRetAmtFTNGMATH_NUMERICOPTINPUT

xThis field is the retained dollars for a contract line.

mnPriorRetAmtRTNPMATH_NUMERICOPTINPUT


mnForPriorRetAmtFTNPMATH_NUMERICOPTINPUT


mnDefTaxAmtDDTRMATH_NUMERICOPTINPUT

The deferred tax associated with the retainage amount.

mnForDefTaxAmtFDTRMATH_NUMERICOPTINPUT

The deferred tax associated with the retainage stored in the foreign currency of the transaction.

mnPriorStoredMatInvAmtPSMAMATH_NUMERICOPTINPUT

The amount previously billed for Stored Material for the line item on the contract.

mnForPriorStoredMatInvAmtFSMAMATH_NUMERICOPTINPUT


mnPriorStoredMatRetAmtSMRPMATH_NUMERICOPTINPUT

The prior retained amount for the stored materials.

mnForPriorStoredMatRetAmtSMPFMATH_NUMERICOPTNONE

szGeoCodeShipFromVGCSFcharOPTINPUT

The location (warehouse or store location) from which a product was shipped or where a service is performed. This location is used by the 
Quantum calculating tax engine to determine the appropriate taxing jurisdiction.

szGeoCodeOrderAcceptVGCOAcharOPTINPUT

The jurisdiction where a sales transaction is approved or a contract is accepted by the seller.

szVertexTransactionTypeVVTYcharOPTINPUT

Vertex Sales and Use Tax transaction type.

szVertexProductCategoryVVTCcharOPTINPUT

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

szAccountIdAIDcharOPTINPUT

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

szAccountId5AID5charOPTINPUT

The General Ledger Account number can be one of four numbers.  These are: (1) the BU/Object/Subsidiary, (2) the 25-digit unstructured 
number, (3) the 8-digit short account ID number, or (4) the Speed Code.  Upon entry, the first character of the account number is examined to 
determine which of the four was entered.  This first character is defined as the Account Mode in the G/L Constants Revisions program (see Gen. 
Acct. Operations Control).    /     may represent the short account ID number    *     may represent the unstructured 25-digit account number    
blank may represent the business unit-object-subsidiary number    X may represent the speed code for a suspense account This facility allows 
use of the account ID number for high speed data entry, the unstructured number when a chart of accounts change would be too disruptive, the 
BU/Object/Subsidiary number when the J.D. Edwards style of account coding has been fully adopted, or the speed code to facilitate entry 
of an account number (see Speed Coding - G0516).

szSubledger5SBL5charOPTINPUT

The subledger provides for detailed subsidiary accounting within any General Ledger account.  This provides an audit trail of the 
transactions posted to a General Ledger account by other related numbers.  These related numbers can be defined by Address Book, Bus. Unit 
Master, Equipment Master, Order Header,Work Order Master or Lease Master files.  See Subledger Type (SBLT) for how to define these different 
subledgers.  User defined subledgers are also available. Use discretion in using the subledger concept. An extra record is added to the 
General Ledger Account Balances File - F0902 for each subledger, subledger type, ledger type, fiscal year, and account.

cSubledgerType05SBT5charOPTINPUT

A code used in conjunction with subledger.  It controls subledger editing for validity.  Valid codes are edited in User Defined Codes, 
System Code '00',Record Type 'ST'. Once in User Defined Codes, the 2nd line of description will indicate how the type will be validated.  The type 
is either hard coded within our software (as indicated in the 2nd line of description) or it can be user defined. If you set up your own subledger 
types, you can specify in the 2nd line of description in User Defined Codes how the subledger should be scrubbed:    A indicates the 
subledger is an alphameric field, do not scrub;    N indicates the subledger is numeric, right justify and zero fill;    C indicates the subledger is 
alphameric, right justify and blank fill.

szAccountId6AID6charOPTINPUT

The short account id that is used to create the debit side of a journal entry for the Contract Billing and Service Billing modules. If this field is 
left blank, the Billing AAI's will be used to create the journal entry.

szSubledger6SBL6charOPTINPUT

The subledger provides for detailed subsidiary accounting within any General Ledger account.  This provides an audit trail of the 
transactions posted to a General Ledger account by other related numbers.  These related numbers can be defined by Address Book, Business Unit 
Master, Equipment Master, Order Header,Work Order Master or Lease Master files.  See Subledger Type (SBLT) for how to define these 
different subledgers.  User defined subledgers are also available. Use discretion in using the subledger concept.  An extra record is added to 
the General Ledger Account Balances File - F0902 for each subledger,subledger type, ledger type, fiscal year, and account.

cSubledgerType06SBT6charOPTINPUT

A code used in conjunction with subledger.  It controls subledger editing for validity.  Valid codes are edited in User Defined Codes, 
System Code '00',Record Type 'ST'. Once in User Defined Codes, the 2nd line of description will indicate how the type will be validated.  The type 
is either hard coded within our software (as indicated in the 2nd line of description) or it can be user defined. If you set up your own subledger 
types, you can specify in the 2nd line of description in User Defined Codes how the subledger should be scrubbed:    A indicates the 
subledger is an alphameric field, do not scrub;    N indicates the subledger is numeric, right justify and zero fill;    C indicates the subledger is 
alphameric, right justify and blank fill.

cRetainageCalculationEV01charOPTINPUT

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

szVendorInvoiceNumberVINVcharOPTINPUT

The supplier's invoice number that is used for voucher entry. Voucher entry allows only one invoice per voucher number. If multiple invoice 
numbers exist on a voucher, you must set them up as multiple vouchers or combine the invoices and enter them as one voucher. Depending 
on how you have your accounts payable constants set, the system can do one of the following:   o  Accept a duplicate invoice number 
without warning or error   o  Generate a warning message in which the duplicate invoice number can still be accepted   o  Generate an error 
message Blank values are treated in the same manner as any other invoice number. Two blank invoice numbers are treated as duplicates. To test 
for duplicate invoice numbers that might have been entered in error, run the Suspected Duplicate Payments report (R04601). Note: The 
duplicate invoice number validation is not run for vouchers with document type NO. These vouchers are created by the Generate Reimbursements 
program (R03B610).

cPayWhenPaidPYWPcharOPTINPUT

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

Related Functions

B0000083 Convert Math Numeric to String with Left Zero Pad
N48S0290 F48011 Billing Batch Validation
N48S0310 F4812 Update Invoice Information
N48S0440 F48S58 Get UBE Name and Version
X0010 Next Numbers
X0903 Fiscal Date Edits +

Related Tables

F48011 Service Billing Batch Control
F48051 Invoice Sequence/Summarization Table Detail
F4812 Billing Detail Workfile
F4822 Invoice Summary Work File
InitializeInvoiceGeneration

InitializeInvoiceGeneration

F4822GenerateInvoiceRecord

Minor Business Rule

Object Name: B48S0280

Parent DLL: CCRIN

Location: Client/Server

Language: C

Data Structure

D48S0280 - InitializeInvoiceGeneration

Parameter NameData ItemData TypeReq/OptI/O/Both
szSummarizationKeySBSKcharOPTINPUT

The table key that identifies how the system summarized the service billing invoice. Within each table that is identified by the table key, 
there are multiple associated key fields to specify the level and method for sorting and summarizing the service billing detail transactions.

idSeqSumOBIDIDREQOUTPUT

The Object Identifier uniquely identifies a control on a form.

cLevel1EV01charOPTOUTPUT

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

cLevel2EV01charOPTOUTPUT

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

cLevel6EV01charOPTOUTPUT

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

cLevel7EV01charOPTOUTPUT

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

cErrorCodeEV01charOPTOUTPUT

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

szProcessProgramIDPIDcharREQINPUT

This parameter determines the type of processing for the intialization of the invoice cache.  The 
following values are valid:


'R48121' - Service Billing Invoice Generation.  The summarization key parameter is used to determine 

pay item order.

'R52800' - Contract Billing Invoice Generation.  The summarization key parameter is ignored.  The 

following sequence is used:  DOCO (Contract Number), DCTO (Contract Document Type), and KCOO (Contract 

Key Company) are used for the invoice key.  COCH (Contract Change Order) and OPIM (Billing Line) are 

used for the pay item key.

^

Related Functions

B0000083 Convert Math Numeric to String with Left Zero Pad
N48S0290 F48011 Billing Batch Validation
N48S0310 F4812 Update Invoice Information
N48S0440 F48S58 Get UBE Name and Version
X0010 Next Numbers
X0903 Fiscal Date Edits +

Related Tables

F48011 Service Billing Batch Control
F48051 Invoice Sequence/Summarization Table Detail
F4812 Billing Detail Workfile
F4822 Invoice Summary Work File
ManageInvoiceCache

ManageInvoiceCache

F4822GenerateInvoiceRecord

Minor Business Rule

Object Name: B48S0280

Parent DLL: CCRIN

Location: Client/Server

Language: C

Data Structure

D48S0280C - Manage F4822 Cache

The parameters must be entered as follows fot the different situations:

1. Action = ' ', Job Number = 0 - A new job number and cache will be created.


2. Action = ' ', Job Number <> 0 - The specified cache for the job number will be cleared.


3. Action = '1', Job Number <> 0 - The specified cache for the job number will be terminated.

^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnF4822CacheJobNumberJOBSMATH_NUMERICOPTBOTH

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

szComputerIDCTIDcharOPTINPUT

cActionEV01charOPTINPUT

This parameter controls the functionality of the cache management in conjunction with the Computer ID 
and Job Number.


Valid Values are:

     ' ' = Create/Clear cache depending if job number = 0

     '1' = Terminate cache 

^

cErrorCodeERRCcharOPTOUTPUT

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

idSeqSumKeyOBIDIDOPTINPUT

The Object Identifier uniquely identifies a control on a form.

Related Functions

B0000083 Convert Math Numeric to String with Left Zero Pad
N48S0290 F48011 Billing Batch Validation
N48S0310 F4812 Update Invoice Information
N48S0440 F48S58 Get UBE Name and Version
X0010 Next Numbers
X0903 Fiscal Date Edits +

Related Tables

F48011 Service Billing Batch Control
F48051 Invoice Sequence/Summarization Table Detail
F4812 Billing Detail Workfile
F4822 Invoice Summary Work File
RetrieveCacheInformation

RetrieveCacheInformation

F4822GenerateInvoiceRecord

Minor Business Rule

Object Name: B48S0280

Parent DLL: CCRIN

Location: Client/Server

Language: C

LookUpType= '3'Close the cursor.
= ' 'Retrieve a single cache record using a exact/complete key.

= '1'Retrieve cache records in sequence.

Data Structure

D48S0280D - Retrieve F4822 Cache Values

Parameter NameData ItemData TypeReq/OptI/O/Both
idSeqSumInformationOBIDIDREQINPUT

The Object Identifier uniquely identifies a control on a form.

idCachePointerGENLNGIDREQBOTH

General purpose ID variable.

szCallingProgramPIDcharREQINPUT

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.

mnBatchNoICUMATH_NUMERICREQINPUT

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.

mnContractNoDOCOMATH_NUMERICREQINPUT


szContractDocumentTypeDCTOcharREQINPUT

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

szContractKeyCompanyKCOOcharREQINPUT

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

szContractChangeOrderCOCHcharOPTINPUT

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

mnContractLineNoLNIDMATH_NUMERICOPTINPUT

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

cLookupTypeEV01charREQINPUT

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

szPayItemSFXcharOPTOUTPUT

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

mnCostAmtAAMATH_NUMERICOPTOUTPUT

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

mnForCostAmtAA2MATH_NUMERICOPTOUTPUT

Amount.

mnInvTaxableAmtATXAMATH_NUMERICOPTOUTPUT


mnForInvTaxableAmountCTXAMATH_NUMERICOPTOUTPUT

That portion of the sale that is subject to tax in foreign currency.

mnInvNonTaxableAmountATXNMATH_NUMERICOPTOUTPUT

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

mnForInvNonTaxableAmtCTXNMATH_NUMERICOPTOUTPUT

The foreign amount associated with this document which is not subject to sales, use or value-added tax due to the nature of the transaction 
and not due to the nature of the parties to the transaction (as in tax exemption).

mnPriorInvTaxableAmtPATXMATH_NUMERICOPTOUTPUT

mnForPriorInvTaxableAmtFATXMATH_NUMERICOPTOUTPUT

mnPriorRetainageRTNPMATH_NUMERICOPTOUTPUT

Retainage Amount through the last application or adjustment for a specific contract.

mnForPriorRetainageFTNPMATH_NUMERICOPTOUTPUT

Retainage Amount through the last application or adjustment for a specific contract.

mnCurrentInvoiceTaxSTAMMATH_NUMERICOPTOUTPUT

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

mnForCurrentInvoiceTaxCTAMMATH_NUMERICOPTOUTPUT

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

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.

cErrorCodeEV01charOPTOUTPUT

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

mnThisPeriodBilledPTHPMATH_NUMERICOPTOUTPUT


mnAmountTaxPriorPTAMMATH_NUMERICOPTOUTPUT

The tax amount previously billed for the billing line on the contract.

mnPreviousBilledThisPeriodFTHPMATH_NUMERICOPTOUTPUT


mnAmountTaxPriorForeignFPTAMATH_NUMERICOPTOUTPUT


mnDocumentOrderAltDOCZMATH_NUMERICOPTOUTPUT

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

szDocTypeInvoiceOnlyDCTIcharOPTOUTPUT

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

szDocumentCompanyInvoiceKCOIcharOPTOUTPUT

Invoice Document Company.

szOwnerPayItemOPIMcharOPTOUTPUT

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.

jdApplicatnDateAPDTJDEDATEOPTOUTPUT

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

jdDtForGLAndVouch1DGLJDEDATEOPTOUTPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

jdDateServiceCurrencyDSVJJDEDATEOPTOUTPUT

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

cModeOfInputValuesMIVLcharOPTOUTPUT

This code indicates the mode of input for Schedule of Values. Valid values are:    blank indicates dollar amount entered.    %       indicates 
percent complete entered.    /       indicates units entered.

szCurrencyCodeFromCRCDcharOPTOUTPUT

A code that identifies the currency of a transaction. 

szCurrencyCodeOriginCRCFcharOPTOUTPUT

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.

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. 

szCostCenterMCUcharOPTOUTPUT

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

mnAddressNumberJobArAN8OMATH_NUMERICOPTOUTPUT

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

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.

mnParentContNumberPCTNMATH_NUMERICOPTOUTPUT

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

szParentContractTypePCTTcharOPTOUTPUT

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

szParentContractDocumentCoPCKOcharOPTOUTPUT

Parent Contract Document Company.

cPricingTypePRTPcharOPTOUTPUT

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

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.

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.

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.

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.

mnRetainageRTNGMATH_NUMERICOPTOUTPUT

This field is the retained dollars for a contract line.

mnRetainageForeignFTNGMATH_NUMERICOPTOUTPUT

xThis field is the retained dollars for a contract line.

mnDeferredTaxDomesticDDTRMATH_NUMERICOPTOUTPUT

The deferred tax associated with the retainage amount.

mnDeferredTaxForeignFDTRMATH_NUMERICOPTOUTPUT

The deferred tax associated with the retainage stored in the foreign currency of the transaction.

mnThisPeriodTHPDMATH_NUMERICOPTOUTPUT

The amount that is being billed for this contract pay item.

mnThisPeriodForeignFHPDMATH_NUMERICOPTOUTPUT

The amount that is being billed for this contract pay item. On entry screens,you can enter this amount one of three ways:     o A Dollar 
Amount.     o A Percent Complete. Enter a percent sign % before or after the percent complete amount. For example, you can enter 10% complete as 
%10 or 10%.        The system calculates this amount as the Schedule of Values minus prior payments.     o Number of Units. Enter a forward 
slash / before or after the number of units. For example, you can enter 10 units as /10 or 10/. The system calculates this amount as the number 
of units multiplied by the unit rate. You must have a unit rate payment type and a valid unit price for the contract pay item in order to use this 
entry method.

mnAmtDiscountAvailableADSCMATH_NUMERICOPTOUTPUT

The amount of the invoice or voucher pay item that is eligible to be subtracted from the gross amount when the transaction is paid. The 
system calculates discount amounts based on the payment term entered on the transaction.  Note: If the system calculates the discount, verify 
that it applies to the pay item specified. Usually, freight, sales tax, and labor charges that are included in the gross amount do not qualify for 
discounts.

mnForeignDiscountAvailCDSMATH_NUMERICOPTOUTPUT

The foreign amount of the discount available as opposed to the amount of the discount actually taken.

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.

Related Functions

B0000083 Convert Math Numeric to String with Left Zero Pad
N48S0290 F48011 Billing Batch Validation
N48S0310 F4812 Update Invoice Information
N48S0440 F48S58 Get UBE Name and Version
X0010 Next Numbers
X0903 Fiscal Date Edits +

Related Tables

F48011 Service Billing Batch Control
F48051 Invoice Sequence/Summarization Table Detail
F4812 Billing Detail Workfile
F4822 Invoice Summary Work File
WriteInvoiceCacheToFile

WriteInvoiceCacheToFile

F4822GenerateInvoiceRecord

Minor Business Rule

Object Name: B48S0280

Parent DLL: CCRIN

Location: Client/Server

Language: C

Data Structure

D48S0280B - WriteInvoiceCacheToFile

Parameter NameData ItemData TypeReq/OptI/O/Both
idSeqSumOBIDIDREQINPUT

The Object Identifier uniquely identifies a control on a form.

mnBatchNumberICUMATH_NUMERICREQINPUT

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.

cErrorCodeEV01charOPTOUTPUT

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

szProcessProgramIDPIDcharREQINPUT

This parameter determines the type of processing for the creation of F4822 records from the invoice 
cache.  The following values are valid:


'R48121' - Service Billing Invoice Generation.  Service Billing retainage calculations are performed 

in this routine.


'R52800' - Contract Billing Invoice Generation.  No retainage calculations are performed in this 

routine.

^

Related Functions

B0000083 Convert Math Numeric to String with Left Zero Pad
N48S0290 F48011 Billing Batch Validation
N48S0310 F4812 Update Invoice Information
N48S0440 F48S58 Get UBE Name and Version
X0010 Next Numbers
X0903 Fiscal Date Edits +

Related Tables

F48011 Service Billing Batch Control
F48051 Invoice Sequence/Summarization Table Detail
F4812 Billing Detail Workfile
F4822 Invoice Summary Work File
cks, and drafts.

szComponentCodeCCODcharOPTINPUT

A component code identifies a provisional burden that is accounted for at the billing detail transaction level.

mnBillingControlIdBCIMATH_NUMERICOPTINPUT

A unique number that the system assigns to each billing record. The system assigns the number from the Next Numbers - Automatic table 
(F0002) for system 15, line 2 (Billing Control).

mnTotalAmountBurdenForeFBURMATH_NUMERICREQINPUT

The total burden foreign amount of the invoice or bill.

mnAmountDocumentsEnteredDOCNMATH_NUMERICREQBOTH

If you are using the batch control feature, the number of transactions entered into the batch. If you are not using batch control, the system 
displays the number as negative. Note: The batch review screen is used by many J.D. Edwards systems. As a result, this field might not apply to 
batches created by your particular system.

mnAmountEnteredAMEMATH_NUMERICREQBOTH


szDocumentPayItemSFXcharREQBOTH

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

szCompositeKeyBlockBLKKcharOPTOUTPUT

The Composit Key Block contains the values of multiple key fields grouped in various sequences.  In the Service Billing system, it is used 
in conjunction with the Invoice Sequence/Summarization Table.  The system uses the Invoice Seq/Summ Key to determine how the key 
fields are sequenced and groups the field values into this Composit Key Block.

jdDateDueJulianDDJJDEDATEREQINPUT

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

mnCurrencyConverRateOvCRRMATH_NUMERICREQINPUT


mnDocumentOrderInvoiceEDOCOMATH_NUMERICOPTINPUT

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

szOrderTypeDCTOcharOPTINPUT

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 Int