FlexCodeMapping

Flex Code Mapping - Business Unit/Object/Subsidiary

Minor Business Rule

Object Name: B0900064

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This Business Function is used to map flex account segements onto their corresponding fields in the 

Business Unit table (F0006) or Account Master table (F0901).


Setup Notes and Prerequisites

This function should be called separately when mapping business unit, object and subsidiary.  Map 

Account Type of '1' indicates Business Unit Mapping, Map Account Type of '2' indicates Object Mapping, 

and Map Account Type of '3' indicates Subsidiary Mapping.  The Business Unit, Object or Subsidiary to be 

mapped should be passed into the corresponding DataBase field of the data structure and should not 

contain account separators.  


Special Logic

The Display Business Unit, Display Object, Display Subsidiary fields in the Data Structure are NOT 

looked at when mapping.  They are merely for highlighting these fields on the form when an error is 

detected. 

If the business unit is being mapped, the mapped values will be returned in data structure fields: 

CO, SYTL, and Cat 01 thru Cat.30.

If the object or subsidiary is being mapped, then the mapped values are returned in data structure 

fields: Cat01 thru Cat 23 only.



Technical Specification

• Load the flex structure for the account segment to be mapped (business unit, object account or 
subsidiary.

• Parse the segment values into the flex appropriate segment of the flex structure.
• Load the return data structure with the flex segment values

  


Data Structure

D0900064 - Flex Code Mapping - Business Unit/Object/Subsidiary

Parameter NameData ItemData TypeReq/OptI/O/Both
szBusinessUnitMCUcharNONENONE

Special Input Expected
This is the value of the business unit to be mapped.  This needs to be passed in database mode (no 

separator characters).

^

szObjectOBJcharNONENONE

Special Input Expected
This is the value of the object account to be mapped.  This needs to be passed in database mode (no 

separator characters).

^

szSubsidiarySUBcharNONENONE

Special Input Expected
This is the value of the subsidiary to be mapped.  This needs to be passed in database mode (no 

separator characters).

^

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.

szBusinessUnittypeSTYLcharNONENONE

A user defined code (00/MC) that identifies the classification of the business unit.

szCategorycode001RP01charNONENONE

Category code 1 associated with the Business Unit Master table (F0006). This is a user defined code (system 00, type 01) that the system 
uses in flex account mapping and in printing selected information on reports.

szCategorycode002RP02charNONENONE

Category code 2 associated with the Business Unit Master table (F0006). This is a user defined code (system 00, type 02) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode003RP03charNONENONE

Category code 3 associated with the Business Unit Master table (F0006). This is a user defined code (system 00, type 03) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode004RP04charNONENONE

Category code 4 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 04) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode005RP05charNONENONE

Category code 5 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 05) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode006RP06charNONENONE

Category code 6 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 06) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode007RP07charNONENONE

Category code 7 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 07) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode008RP08charNONENONE

Category code 8 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 08) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode009RP09charNONENONE

Category code 9 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 09) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode010RP10charNONENONE

Category code 10 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 10) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode011RP11charNONENONE

Category code 11 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 11) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode012RP12charNONENONE

Category code 12 associated with the Business Unit Master file (F0006).  This is a user defined code (00/12) for use in flex account mapping 
and in printing selected information on reports.

szCategorycode013RP13charNONENONE

Category code 13 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 13) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode014RP14charNONENONE

Category code 14 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 14) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode015RP15charNONENONE

Category code 15 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 15) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode016RP16charNONENONE

Category code 16 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 16) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode017RP17charNONENONE

Category code 17 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 17) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode018RP18charNONENONE

Category code 18 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 18) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode019RP19charNONENONE

Category code 19 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 19) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode020RP20charNONENONE

Category code 20 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 20) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode021RP21charNONENONE

Category code 21 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 21) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode022RP22charNONENONE

Category code 22 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 22) for use in flex 
account mapping and in printing selected information on reports.

szCategorycode023RP23charNONENONE

Category code 23 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 23) for use in flex 
account mapping and in printing selected information on reports.

szsCategorycode024RP24charNONENONE

Category code 24 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 24).

szCategorycode25RP25charNONENONE

Category code 25 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 25).

szCategorycode26RP26charNONENONE

Category code 26 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 26).

szCategorycode27RP27charNONENONE

Category code 27 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 27).

szCategorycode28RP28charNONENONE

Category code 28 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 28).

szCategorycode29RP29charNONENONE

Category code 29 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 29).

szCategorycode30RP30charNONENONE

Category code 30 associated with the Business Unit Master file (F0006).  This is a user defined code (system 00, type 30).

cMapAccountTypeEV01charNONENONE

Special Input Expected
This parameter is used to tell the function what segment is to be mapped.


Significant Data Values

'1' - Business Unit mapping

'2' - Object Account mapping

'3' - Subsidiary mapping


^

szDisplayBusinessUnitMCUcharNONENONE

Special Output Returned
Returns the formatted Business Unit for display.

^

szDisplayObjectOBJcharNONENONE

Special Output Returned
Returns the formatted Object Account for display.

^

szDisplaySubsidiarySUBcharNONENONE

Special Output Returned
Returns the formatted Subsidiary for display.

^

Related Functions

None

Related Tables

F0907 Chart of Accounts Format