F0012DEditAAITranslation

F0012D Edit AAI Translation

Major Business Rule

Object Name: B0000104

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose
This function is used during application P00123 - Translate AAI Description form and and P0012 
Automatic Accounting Instructions.  Its primary use is to delete Alternate AAI Description master 

file(F0012D) records. 


Special Logic

This function is used in P00123 to delete one unique alternate description record in F0012D 
corresponding to a language preference or in P0012 to delete all the alternate translation records in F0012D 

for one AAI when the F0012 domestic language record is deleted.  If a value of "Y" is passed in through 

the Partial Key Delete Flag, all translation records for that AAI/Company will be deleted.  Otherwise, 

a single alternate translation record will be deleted corresponding to the Company, AAI, and language 

code passed in. 



Technical Specifications


Processing 

• Check status of partial key delete flag
• If a partial key delete of multiple AAI alternate translation records is desired
• Delete all records matching AAI and company
• else
• Attempt to access a unique translation record from table
• If record retrieved
• Delete the record matching AAI, company and language code
• Exit program


^

Data Structure

D0000104 - F0012D Edit AAI Translation

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.

szLanguageCodeLNGPcharNONENONE

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

cPartialKeyDeleteFlagEV01charNONENONE

If a value of "Y" is passed in through this Partial Key Delete Flag, F0012D translation records in 
all alternate languages for that particular AAI/Company will be deleted.  Otherwise, a single alternate 

translation record will be deleted corresponding to the Company, AAI, and language code passed in. 


^

Related Functions

None

Related Tables

F0012D AAI Alternate Description Master