RetrieveAAIBegEndRevenues

Retrieve AAIs Beginning Ending Revenues

Minor Business Rule

Object Name: B0900153

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Specification

Purpose

This business function will return the beginning and ending object account/subsidiary combinations 

for the revenue AAIs.


Technical Specification

• Open F0012 (Automatic Accounting Instructions table)
• Retrieve the GLG6 AAI record for the company specified
• If the retrieve is successful
• 

Set the object1 and subsidiary1 return parameters
• Else
• 
Retrieve the GLG6 AAI record for company 00000
• If the retrieve is successful
• 
Set the object1 and subsidiary1 return parameters
• 
Else
• 
Set object1 = 5000 and subsidiary1 = '        '
• Retrieve the GLG12 AAI record for the company specified
• If the retrieve is successful
• 
Set the object2 and subsidiary2 return parameters
• Else
• 
Retrieve the GLG6 AAI record for company 00000
• If the retrieve is successful
• 
Set the object2 and subsidiary2 return parameters
• 
Else
• 
Set object2 = 9999 and subsidiary2 = '99999999'



Data Structure

D0900153 - Retrieve AAIs Beginning Ending Revenues

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyCOcharNONENONE

Special Input Expected
This parameter receives the company for which the beginning and ending AAI accounts will be 
retrieved.

^

szObject1OBJcharNONENONE

Special Output Returned
This output parameter returns the beginning revenue AAI object account for the company specified.

^

szSubsidiary1SUBcharNONENONE

Special Output Returned
This output parameter returns the beginning revenue AAI subsidiary for the company specified.


^

szObject2OBJFcharNONENONE

Special Output Returned
This output parameter returns the ending revenue AAI object account for the company specified.


^

szSubsidiary2FSUBcharNONENONE

Special Output Returned
This output parameter returns the ending revenue AAI subsidiary for the company specified.


^

Related Functions

None

Related Tables

F0012 Automatic Accounting Instructions Master