GetAAIandAccount

Get AAI and Account for Conversion

Minor Business Rule

Object Name: B9603B01

Parent DLL: CINSTALL

Location: Client/Server

Language: C

Data Structure

D9603B01 - Get AAI and Account ID at Conversion

Parameter NameData ItemData TypeReq/OptI/O/Both
szItemNumberITEMcharNONENONE

A hard-coded field that defines an account or range of accounts used for a particular function. For example, item GLG4 defines the retained 
earnings account, which is used for annual close purposes. During processing, programs use the item number and company number to find 
the correct account to debit or credit. Along with company, the item (or range) is the key to the AAI table.

szCompanyCOcharNONENONE

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.

szAccountIdAIDcharNONENONE

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

szCurrencyCodeFromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

szGlClassGLCcharNONENONE

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.

szCostCenterMCUcharNONENONE

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.

szUserIdUSERcharNONENONE

The code that identifies a user profile.

szEnvironmentNameENHVcharNONENONE

For World, the Environment name is also called the Plan Name, and is used to uniquely identify an upgrade environment for 
Install/Reinstall. For EnteriseOne (Install Applications), the environment name is also called the Plan Name, and is used to uniquely identify an upgrade 
environment for Install/Reinstall. For EnterpriseOne (Environment or Version Applications), this is the path code that identifies the location of the 
application or version specification data. 

Related Functions

B9840E Get Target Environment Data Source

Related Tables

F0012 Automatic Accounting Instructions Master
F0901 Account Master