AAIRangeOfAccountsClear

AAI Range Of Accounts +

Minor Business Rule

Object Name: B0000115

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function clears the cache used for AAI Range comparison.  Typically this business 

function would not be called from specific applications or UBEs.  This cache should remain open for your 

entire OneWorld session for performance reasons.


Setup Notes and Prerequisites


Special Logic




Technical Specification




Data Structure

D0000115 - AAI Range Of Accounts

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

szItemAAIITEMcharNONENONE

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.

szObjectOBJcharNONENONE

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.

szSubsidiarySUBcharNONENONE

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

cWithInRangeFlagEV01charNONENONE

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

Related Functions

B0000034 Concatenate Object and Subsidiary

Related Tables

F0012 Automatic Accounting Instructions Master
AAIRangeOfAccountsCompare

AAIRangeOfAccountsCompare

AAI Range Of Accounts +

Minor Business Rule

Object Name: B0000115

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this business function is to provide a generic means of checking to see if a 

particular account (object/subsidiary) falls within a generic range of AAI accounts.

  

Setup Notes and Prerequisites

The business function, F0012GetAAIRangeOfAccounts (B0000115), needs to be called prior to this 

business function, to load the ranges of accounts you wish to compare.

  

Special Logic




Technical Specification

You call this business function when you need to determine whether a record's account falls within a 

particular AAI Item range.  You pass the company and AAI Item the same way you did when loading the 

cache in F0012GetAAIRangeOfAccounts.  You also pass the object account and subsidiary from the record 

you are processing.  A flag is set to '1' if this account falls within the range.  This business 

function concatenates the object/subsidiary prior to doing the compare.  It also does the compare on company 

00000 range of accounts, if they exists, when your specific company does not have AAI Item range of 

accounts.  The flag is set to '0' if the account does not fall within the range.  The flag is set to 

blank if some other error occurs.


Data Structure

D0000115 - AAI Range Of Accounts

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

szItemAAIITEMcharNONENONE

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.

szObjectOBJcharNONENONE

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.

szSubsidiarySUBcharNONENONE

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

cWithInRangeFlagEV01charNONENONE

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

Related Functions

B0000034 Concatenate Object and Subsidiary

Related Tables

F0012 Automatic Accounting Instructions Master
AAISpecificAccountCompare

AAISpecificAccountCompare

AAI Range Of Accounts +

Minor Business Rule

Object Name: B0000115

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this business function is to provide a specialized means of checking to see if a 

particular account object matches the object specified on an AAI record within a block of AAI's.  (This 

function does NOT check to see if an object falls within an AAI range nor does it include any 

subsidiaries when comparing the objects).  


Setup Notes and Prerequisites

The business function, F0012GetAAIRangeOfAccounts (B0000115), needs to be called prior to this 

business function, to load the block of AAI's you wish to compare.  Only AAI's with item names which begin 

with the format X01 (through X99) will be retrieved for comparison in the next function.  (X represents 

the part of the item name representing the AAI prefix, e.g. specifying the AAI Prefix 'AT' would pull 

in all AAI's between AT01 through AT99 for comparison purposes. An AAI named AT1 or AT001, for 

example, would NOT be included for any comparison.) 

 

Special Logic




Technical Specification

You call this business function when you need to determine whether a record's object account matches 

a particular AAI Item's object within the specified block of AAI's.  You pass the company and AAI Item 

(prefix only, e.g. 'AT', not AT01) the same way you did when loading the cache in 

F0012GetAAIRangeOfAccounts.  You also pass the object account from the record you are processing.  A flag is set to '1' 

if this account matches the object on one of the specified AAI's.  It also does the compare on company 

00000 AAI's, if they exists, when your specific company does not have AAI Item within the specified 

block of AAI's.  The flag is set to '2' if the AAI range exists, but the account does not match.  The 

flag is set to '0' or blank if some other error occurs.



Data Structure

D0000115A - AAI Specific Account Compare

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

szItemAAIITEMcharREQINPUT

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.

szObjectOBJcharREQINPUT

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.

cAAIAccountMatchFlagEV01charOPTOUTPUT

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

Related Functions

B0000034 Concatenate Object and Subsidiary

Related Tables

F0012 Automatic Accounting Instructions Master
F0012GetAAIRangeOfAccounts

F0012GetAAIRangeOfAccounts

AAI Range Of Accounts +

Minor Business Rule

Object Name: B0000115

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

^

Data Structure

D0000115 - AAI Range Of Accounts

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

szItemAAIITEMcharNONENONE

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.

szObjectOBJcharNONENONE

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.

szSubsidiarySUBcharNONENONE

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

cWithInRangeFlagEV01charNONENONE

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

Related Functions

B0000034 Concatenate Object and Subsidiary

Related Tables

F0012 Automatic Accounting Instructions Master