GLEntriesFromLedgerTypes

G/L Entries from Ledger Types

Minor Business Rule

Object Name: N5300011

Parent DLL: CAEC

Location: Client/Server

Language: NER

Functional Description

This program will update F0902 account balances table according to the period using the key Account ID, 

Century, Fiscal Year, Ledger Type, Subledger, Subledger Type, and Currency Code.  If an existing F0902 

Balance does not exist, then a new record will be created. 


Also, this program will create or not create F0911 Account Ledger records based on the Audit Trail - F0911s 

processing option that is sent to this program.  

1.  If the Audit Trail - F0911s processing option is set to a blank, create per period change, then if an audit 

trail record exists with the GL date of the period end that record is updated with the new changes.  If no F0911 

record exists with the Period End GL Date, then a new F0911 record is created.  

2.  If the Audit Trail - F0911s processing option is set to a '1', create F0911's, then for each change a F0911 

record will be created. 

3.  If the Audit Trail - F0911s processing option is set to a '2', do not create F0911's, then for each change NO 

F0911 record will be created. 


Also, this program calls X51013 - to calculate projections - create HA ledger types. 

Data Structure

D5300011 - G/L Entries from Ledger Types

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharOPTNONE

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.

szObjectAccountOBJcharOPTNONE

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.

szSubsidiarySUBcharOPTNONE

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

szAcctNumberANIcharOPTNONE

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. 

szAccountIdAIDcharOPTNONE

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

szCompanyCOcharOPTNONE

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.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

jdGLDateDGCGJDEDATEOPTNONE

The general ledger date associated with the line item for revenue information.

mnPeriodNoGeneralLedgePNMATH_NUMERICOPTNONE

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.

szSubledgerSBLcharOPTNONE

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.

cSubledgerTypeSBLTcharOPTNONE

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  

mnFiscalYear1FYMATH_NUMERICOPTNONE

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.

mnCenturyCTRYMATH_NUMERICOPTNONE

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.

mnBatchNumberICUMATH_NUMERICOPTNONE

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.

szDescription001DL01charOPTNONE

A user defined name or remark.

szNameRemarkRMKcharOPTNONE

A generic field that you use for a remark, description, name, or address.

szReference2R2charOPTNONE

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

szAmountLedgerTypeLTAcharOPTNONE

A user defined code (09/LT) that identifies the ledger to which you are posting amounts, such as BA (Budget Ledger) or FE (Field Estimate). 
You can set up multiple, concurrent ledgers within the general ledger to establish an audit trail. Note: You cannot make journal entries 
directly to a ledger if the second letter of the ledger type is U (units).

szUnitLedgerTypeLTUcharOPTNONE

A user defined code (09/LT) that identifies a unit ledger, such as BU (Budget Units) or AA (Actual Units). You can set up multiple, concurrent 
ledgers within the general ledger to establish an audit trail. When you enter a transaction including units, the system automatically posts the 
units to the corresponding ledger type with U as the second character. For example if the ledger type for the amount is AA, and you post a 
transaction including both dollars and units, the system posts the dollars to ledger type AA and the units to ledger type AU. You cannot make 
journal entries directly to a ledger with a unit ledger type. If you locate a unit ledger type, the system displays the corresponding amount ledger 
type.

mnPostingAmountA53OWMATH_NUMERICOPTNONE

Change Management column for amounts.

mnPostingUnitsU53OWMATH_NUMERICOPTNONE

Change Management column used for entering units.

cAuditTrailEV01charOPTNONE

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

szErrorMessageIDDTAIcharOPTNONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cReturnErrorIDEV01charOPTNONE

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

szProgramIdPIDcharOPTNONE

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.

szReference3AccountReconciR3charOPTNONE

Number that provides an audit trail for specific transactions.  Used primarily in the G/L Account Reconciliation program (P09131).

szReference1JeVouchInR1charOPTNONE

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

Related Functions

None

Related Tables

None