ConcatenateObjectSubsidiary

Concatenate Object Subsidiary

Minor Business Rule

Object Name: B0000006

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

This function receives the Oject and Subsidiary and returns the two concatenated into one string 
variable with the correct spacing between the two components.


Setup Notes and Prerequisites


Special Logic




Technical Specification

• Clear out the szObjectSub parameter to be loaded with the concatenated segments
• Move the value passed into the szObjectAccount parameter into the szObjectSub parameter
• Concatenate the szSubsidary parameter on to the szObjectSub parameter 




Data Structure

D0000372 - Concatenate Object Subsidiary

Parameter NameData ItemData TypeReq/OptI/O/Both
szObjectAccountOBJcharNONENONE

Special Input Expected
Object account value to which the subsidiary will be concatinated to and placed into the ObjectSub 

parameter.  This will also hold the object of the account to be used in the AAI reconcilable range 

comparison.


^

szSubsidiarySUBcharNONENONE

Special Input Expected
Subsidiary value which will be concatinated to the object account value and placed into the ObjectSub 

parameter.  This will also hold the subsidiary of the account to be used in the AAI reconcilable 

range comparison.

^

szObjectSubOR01charNONENONE

Special Output Returned
The concatinated object and subsidiary value will be returned in this parameter.

^

szCompanyB0000006COcharNONENONE

Special Input Expected
The company of the AAI item to be used for range comparison.  If no AAI items are selected for the 

company passed in then this function will also try to fetch records using company '00000'.

^

szItemITEMcharNONENONE

Special Input Expected
This is the AAI item to be used for range comparison.  When entering the AAI item used for ranges of 

accounts only a portion of the item is entered. For example if you are using reconcilable ranges 

(GLRCxx) you will enter GLRC for the item.

^

Related Functions

None

Related Tables

F0012 Automatic Accounting Instructions Master
ValidateReconcileableRange

ValidateReconcileableRange

Concatenate Object Subsidiary

Minor Business Rule

Object Name: B0000006

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

This function will determine if an account passed in resides within a range of AAI accounts 
(Reconcilable Range - GLRCXX).


Setup Notes and Prerequisites

A range of accounts needs to be set up using AAIs.  For example, GLRC01 - 1110 and  GLRC02 - 1110 

99999999.  Several ranges can be set up


Special Logic

You will pass in the AAI item for the range (in the case of GLRCxx you would pass in GLRC).  This 

function will loop through the AAI items which match the item passed in as well as match the company 

passed in.  If no items are found for the company passed in then we will try and find items for company 

'00000'.  A boolean value will be passed back to tell you if the account was within an AAI range.



Technical Specification

• Concatinate the object and subsidary passed in as parameters into on string.
• Select records which are like the value passed in the item parameter and are for the company passed 
in

• If no records are selected then try with company '00000'
• While the account is not within a range and we have not read all the AAI records
• If the object account is not blank on the AAI item
• Concatinate the object and subsidiary from the item into a Begining account string.
• Read the next AAI item
• Concatinate the object and subsidiary from the item into an Ending account string.
• If the account is less than or equal to the ending account and greater than or equal to the 
begining account then return true.



^

Data Structure

D0000372 - Concatenate Object Subsidiary

Parameter NameData ItemData TypeReq/OptI/O/Both
szObjectAccountOBJcharNONENONE

Special Input Expected
Object account value to which the subsidiary will be concatinated to and placed into the ObjectSub 

parameter.  This will also hold the object of the account to be used in the AAI reconcilable range 

comparison.


^

szSubsidiarySUBcharNONENONE

Special Input Expected
Subsidiary value which will be concatinated to the object account value and placed into the ObjectSub 

parameter.  This will also hold the subsidiary of the account to be used in the AAI reconcilable 

range comparison.

^

szObjectSubOR01charNONENONE

Special Output Returned
The concatinated object and subsidiary value will be returned in this parameter.

^

szCompanyB0000006COcharNONENONE

Special Input Expected
The company of the AAI item to be used for range comparison.  If no AAI items are selected for the 

company passed in then this function will also try to fetch records using company '00000'.

^

szItemITEMcharNONENONE

Special Input Expected
This is the AAI item to be used for range comparison.  When entering the AAI item used for ranges of 

accounts only a portion of the item is entered. For example if you are using reconcilable ranges 

(GLRCxx) you will enter GLRC for the item.

^

Related Functions

None

Related Tables

F0012 Automatic Accounting Instructions Master