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
D0900035 - Get and Validate Retained Earnings Account
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCurrentCompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szRECompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szREAccountID | AID | char | NONE | NONE |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
szRECostCenter | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szREObjectAccount | OBJ | char | NONE | NONE |
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into
| ||||
szRESubsidiary | SUB | char | NONE | NONE |
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account. | ||||
cValidREAccountFlag | EV01 | char | NONE | NONE |
Significant Data Values
|
None |
F0012 Automatic Accounting Instructions Master | ||||
F0901 Account Master |