InitInvoiceJournalCache

Process Journal Cache

Minor Business Rule

Object Name: B48S0300

Parent DLL: CCRIN

Location: Client/Server

Language: C

Data Structure

D48S0300 - Init Invoice Journal Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAmountFieldAAMATH_NUMERICOPTINPUT

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. 

mnAmountCurrencyACRMATH_NUMERICOPTINPUT

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.

szAccountIdAIDcharOPTINPUT

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

cAccountModeGLAMcharOPTINPUT

A code that indicates which of the three general ledger account numbers is being used for data entry. Valid codes are:    1   The short 
account ID number    2   The standard long account number    3   The long (unstructured, 24-byte) account number    7   The first character of the 
account number indicates the format of the account number You can also define special characters in the Accounting Constants file (F0009) to 
facilitate data entry. For example:    /       For the unstructured account number    *       For the short account ID number    blank For the business 
unit.object.subsidiary number For example, if the account mode is 7 and the first character of the account number is *, the account number was 
entered as the short account ID number.

szAcctNoInputModeANIcharOPTINPUT

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

mnAddressNumberAN8MATH_NUMERICOPTINPUT

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

mnBillingControlIdBCIMATH_NUMERICREQINPUT

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

szComponentCodeCCODcharOPTINPUT

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

mnComponentLinkCLNKMATH_NUMERICOPTINPUT

A code that attaches the component record to its base work file record.

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.

szContractChangeNumCOCHcharOPTNONE

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

szCurrencyCodeFromCRCDcharOPTINPUT

A code that identifies the currency of a transaction. 

szCurrencyCodeOriginCRCFcharOPTINPUT

The currency code of the insured amount.

mnCurrencyConverRateOvCRRMATH_NUMERICOPTINPUT

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. 

mnCenturyCTRYMATH_NUMERICOPTINPUT

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

szDocumentTypeDCTcharREQINPUT

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 

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

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.

mnDocVoucherInvoiceEDOCMATH_NUMERICREQINPUT

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.

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.

jdDateServiceCurrencyDSVJJDEDATEOPTINPUT

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

jdDateJulianDTEJJDEDATEOPTINPUT

The Julian Date

cEligibilitySrvBillingELGCcharOPTINPUT

A code that specifies how the system processes a transaction at the single-transaction level. Valid values are: 0 Available for invoicing and 
revenue. 1 Available for invoicing only. 2 Available for revenue only. 3 Non-billable. 4 Available for cost only. 5 Available for accounts payable 
only. The system assigns eligibility codes to workfile transactions based on the Billable (Y/N) field in the Account Master table (F0901) and the 
Journal Generation Control field that you set up in your system constants. For example, if an account with a Y in the Billable (Y/N) field is 
processed through the billing system and the Journal Generation Control field is set for billing only, the eligibility code for the transaction is 1. An 
eligibility code of 1 specifies that the transaction is available for invoicing only.

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.

cDataFieldErrorCodeERRcharOPTINPUT

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

szNameAlphaExplanationEXAcharOPTINPUT

A description, remark, explanation, name, or address.

szNameRemarkExplanationEXRcharOPTINPUT

A name or remark that describes the purpose for using an account or conveys any other information that the user wants about the 
transaction.

szTaxExplanationCode1EXR1charOPTINPUT

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.

mnFiscalYear1FYMATH_NUMERICOPTINPUT

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

szGlClassGLCcharOPTINPUT

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.

cGenerationTypeServiceGTYPcharOPTINPUT

A code that determines the batch types and markup rules for invoice, revenue, and component amounts. The system assigns the batch 
type when the batch is created. Depending on how you define the billing constants, different markup rules can apply to different amounts. Valid 
values are: 1 Apply the markup rule to invoice, revenue, and component amounts. If the billing constants specify that invoice and revenue 
amounts are always the same, the markup rule applies to revenue, invoice, and component amounts. If the billing constants specify that the 
invoice and revenue amounts can be different, the markup rule still applies to revenue, invoice, and component amounts if no type 2 rule 
exists. 2 Apply the markup rule to revenue and component amounts. If the billing constants specify that the invoice and revenue amounts can be 
different, the markup rule applies to revenue and component amounts only. 3 Apply the markup rule to component amounts only. This rule is not 
dependent on billing constants settings.

mnBatchNumberActiveICUAMATH_NUMERICOPTINPUT

This is the batch number assigned during the Service Billing generation.  This batch number will be used as a linking mechanism to allow 
the user to reset records in the Service Billing History file (F4812H) to their previous journal status.  This field will contain a batch number only 
while the batch is recognized by the system as being active and hasn't been posted.  This field can be cleared at two possible times during 
the Service Billing Generation cycle; either when the batch is identified for deletion or if the batch is posted.

mnInvoiceTaxAmountITAMMATH_NUMERICOPTINPUT

The tax amount in the invoice.  This can be either the sales, use or VAT tax.

jdDateInvoiceJulianIVDJDEDATEOPTINPUT

The date the invoice was printed. The system updates this date when you run the invoice print program in the Sales Order Management 
system.

mnJournalEntryLineNoJELNMATH_NUMERICOPTINPUT

A number that designates a line within a journal entry. The system uses this field to sequence the journal entry lines for inquiry purposes.

cJournalStatusPreviousJRSPcharOPTINPUT

This field stores the value of the journal status code to enable the user to delete a batch and reset thejournal status to its previous status.

szCompanyKeyKCOcharOPTINPUT

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

szDocumentCompanyInvoiceKCOIcharOPTINPUT

Invoice Document Company.

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.

cCreateGlLinkLINKcharOPTINPUT

A value that allows you to link an amount and the associated transaction created by the Account Derivation table to the Service Billing 
Workfile (F4812) transaction from which it originated. This historical linkage information (F48912) lets you track costs and revenues using certain 
reports and inquiries. Valid values are:    0   Do not create link.    1   Create link.

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.

cLastSequenceFlagLSSQcharOPTINPUT

A code to denote final sequence entry for a Service Billing detailed record. When the last record is moved to history file, this flag will be set 
to 1.

szLedgerTypeLTcharOPTINPUT

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

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.

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.

mnPeriodNoGeneralLedgePNMATH_NUMERICOPTINPUT

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnParentSequenceNbrPRSQMATH_NUMERICOPTINPUT

A number that provides an audit trail to the original transaction of a billing detail transaction. The system initially assigns 000 as the parent 
sequence number. The number remains 000 unless you split the transaction. In this case,the sequence number (SBSQ) of the original 
transaction becomes the parent sequence number (PRSQ) for the resulting transactions.

mnOriginalTransactionNoPayPRTOMATH_NUMERICOPTINPUT

This field is used in the Service Billing application to identify the original payroll transaction number that initiated a journal correction during 
the revenue journal generation.  It provides a 'link' between the labor and actual burden records in the Detail Journal Transaction File 
(F48910).

mnPayrollTransactionNoPRTRMATH_NUMERICOPTINPUT

A unique number that the system assigns to each timecard. You can use this field in the Time Entry By Job program to retrieve a specific 
timecard for display. This field is also used to tie a timecard to each Actual Burden audit record created for the timecard during the Actual 
Burden Journaling process.

szReference1JeVouchInR1charOPTINPUT

A number that provides an audit trail for specific transactions, such as a payment number for payment processing.

szReference2R2charOPTINPUT

A number that provides an audit trail for specific transactions, such as an asset, supplier number, or document number.

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  

cClassificationSvbTranTCLScharOPTINPUT

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.

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.

cModeFlagEV01charOPTBOTH

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

szCacheNameDL01charOPTBOTH

A user defined name or remark.

szWorkStationIdJOBNcharOPTINPUT

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

szProgramIdPIDcharOPTINPUT

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.

jdDateUpdatedUPMJJDEDATEOPTINPUT

The date that specifies the last update to the file record.

mnTimeLastUpdatedUPMTMATH_NUMERICOPTINPUT

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

szUserIdUSERcharOPTINPUT

The code that identifies a user profile.

szSubsidiarySUBcharREQINPUT

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

cCacheErrorCodeEV01charOPTBOTH

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

mnCurrencyConverRateDivCRRDMATH_NUMERICOPTINPUT

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. 

szDocumentPayItemSFXcharOPTINPUT

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.

mnBatchNumberICUMATH_NUMERICOPTINPUT

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.

mnInvoiceTaxForeignCITXMATH_NUMERICOPTINPUT

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

szCategoriesWorkOrder001WR01charOPTINPUT

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.

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.

szCostCenterHomeHMCUcharOPTINPUT

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

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.

szTaxArea1TXA1charOPTINPUT

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.

Related Functions

None

Related Tables

F48S911 Summarized Journal Workfile