GetVldtRetainedEarningsAcct

Get and Validate Retained Earnings Account

Minor Business Rule

Object Name: B0900035

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function retrieves and validates the Retained Earnings account for a given company.  If 

a Retained Earnings account is not set up in Automatic Accounting Instructions (AAI) for the company 

passed in, the default company 00000 Retained Earnings account is retrieved and validated.  If the AAI 

business unit is blank, the company number is used for the Retained Earnings business unit, right 

justified and blank filled to the left.  An error flag is returned with a '1' if successful or a '0' if 

validation errors are encountered.


Setup Notes and Prerequisites


Special Logic




Technical Specification




Data Structure

D0900035 - Get and Validate Retained Earnings Account

Parameter NameData ItemData TypeReq/OptI/O/Both
szCurrentCompanyCOcharNONENONE

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.

szRECompanyCOcharNONENONE

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.

szREAccountIDAIDcharNONENONE

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

szRECostCenterMCUcharNONENONE

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.

szREObjectAccountOBJcharNONENONE

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.

szRESubsidiarySUBcharNONENONE

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

cValidREAccountFlagEV01charNONENONE

Significant Data Values
1 - no errors encountered

0 - error encountered



^

Related Functions

None

Related Tables

F0012 Automatic Accounting Instructions Master
F0901 Account Master