CreateParentChildBUCache

Build Parent/Child Business Unit Cache

Minor Business Rule

Object Name: B1000040

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D1000040A - Create Parent Child Business Unit Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheName_PIDPIDcharOPTBOTH

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szBUStructureName_OSNMOSNMcharOPTINPUT

The name of the organizational structure.

szBUSequenceLevel_SEQLSEQLcharOPTINPUT

A number that indicates the level of the organizational structure at which the system will consolidate account balances. For example, 01 
indicates that the system will consolidate at the highest level of the organizational structure,and 03 indicates that the system will consolidate at 
the third highest level of the organizational structure. This field is used in conjunction with the Sequence Value field.

szBUSequenceValue_SEQVSEQVcharOPTINPUT

The value of the category code that represents the level of the consolidation. For example, to consolidate at the region level and to define 
the parent business unit in the Central region, enter the value of the category code for the Central region. To define parent business units in all 
category codes at the level of the consolidation, enter *. The system will not define any business unit as a parent business unit if it has a 
blank category code at the level of the consolidation. This field is used in conjunction with the Sequence Level field.

cBusinessUnitFile_SMCUSSMCUScharOPTINPUT

A field that indicates whether you are using a live business unit category code structure or a date-effective snapshot of a business unit 
category code structure. Click Live Structure to use a live business unit category code structure from the Business Unit Master table (F0006). Click 
Snapshot Structure to use a date-effective snapshot of a business unit category code structure from the Date Effective Business Unit Master 
table (F0006S).

jdSnapshotDateEffective_SEFTSEFTJDEDATEOPTINPUT

The date that was assigned to a date-effective snapshot of an organizational structure when the snapshot was created.

szSnapshotVersion_SVERSVERcharOPTINPUT

The version name that you assigned to a date-effective snapshot of a business unit category code structure when you created the 
snapshot.

cProcessingMode_EV01EV01charOPTINPUT

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

szPseudoCompany_COCOcharOPTINPUT

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.

cDynamicBusinessUnitFlag_DCBUDCBUcharOPTINPUT

Enter 1 to dynamically create business units by concatenating category code values. Enter 2 to dynamically create business units using 
next numbers. Leave this field blank if you do not want to dynamically create business units.

szCostCenterType_STYLSTYLcharOPTINPUT

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

szDescripCompressed_DCDCcharOPTINPUT

The compressed description contains the alpha name without slashes, dashes, commas, and other special characters.  The compressed 
description is the field used in the Name Search.

szDescription001_DL01DL01charOPTINPUT

A user defined name or remark.

szProgramId_PIDPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szUserId_USERUSERcharOPTINPUT

The code that identifies a user profile.

szWorkStationId_JOBNJOBNcharOPTINPUT

The code that identifies the work station ID that executed a particular job.

jdDateUpdated_UPMJUPMJJDEDATEOPTINPUT

The date that specifies the last update to the file record.

mnTimeLastUpdated_UPMTUPMTMATH_NUMERICOPTINPUT

The time that specifies when the program executed the last update to this record.

cErrorMessageSet_EV01EV01charOPTOUTPUT

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

cCheckCOCurrency_EV01EV01charOPTINPUT

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

Related Functions

B1000011 RetrieveCatCodeValue
X0010 Next Numbers

Related Tables

F0006 Business Unit Master
F0006S Date Effective Business Unit Master
F0010 Company Constants
F0050A Structure Definition File
CreateUnstructuredBUCache

CreateUnstructuredBUCache

Build Parent/Child Business Unit Cache

Minor Business Rule

Object Name: B1000040

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D1000040D - Create Unstructured Business Unit Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheName_PIDPIDcharOPTBOTH

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cBusinessUnitFile_SMCUSSMCUScharOPTINPUT

A field that indicates whether you are using a live business unit category code structure or a date-effective snapshot of a business unit 
category code structure. Click Live Structure to use a live business unit category code structure from the Business Unit Master table (F0006). Click 
Snapshot Structure to use a date-effective snapshot of a business unit category code structure from the Date Effective Business Unit Master 
table (F0006S).

jdSnapshotDateEffective_SEFTSEFTJDEDATEOPTINPUT

The date that was assigned to a date-effective snapshot of an organizational structure when the snapshot was created.

szSnapshotVersion_SVERSVERcharOPTINPUT

The version name that you assigned to a date-effective snapshot of a business unit category code structure when you created the 
snapshot.

cProcessingMode_EV01EV01charOPTINPUT

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

szPseudoCompany_COCOcharOPTINPUT

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.

szCostCenterType_STYLSTYLcharOPTINPUT

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

szProgramId_PIDPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szUserId_USERUSERcharOPTINPUT

The code that identifies a user profile.

szWorkStationId_JOBNJOBNcharOPTINPUT

The code that identifies the work station ID that executed a particular job.

jdDateUpdated_UPMJUPMJJDEDATEOPTINPUT

The date that specifies the last update to the file record.

mnTimeLastUpdated_UPMTUPMTMATH_NUMERICOPTINPUT

The time that specifies when the program executed the last update to this record.

cErrorMessageSet_EV01EV01charOPTOUTPUT

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

cCheckCOCurrency_EV01EV01charOPTINPUT

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

Related Functions

B1000011 RetrieveCatCodeValue
X0010 Next Numbers

Related Tables

F0006 Business Unit Master
F0006S Date Effective Business Unit Master
F0010 Company Constants
F0050A Structure Definition File
ReadParentChildBUCache

ReadParentChildBUCache

Build Parent/Child Business Unit Cache

Minor Business Rule

Object Name: B1000040

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D1000040B - Read Parent Child Business Unit Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheName_PIDPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szParentCostCenter_MCU1MCU1charOPTOUTPUT

The primary level in a business unit hierarchy. A parent in one hierarchy can be a child in a different hierarchy.

szChildCostCenter_MCUMCUcharOPTOUTPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szCompany_COCOcharOPTOUTPUT

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.

cFiscalDatePattern_DTPNDTPNcharOPTOUTPUT

A code that identifies date patterns. You can use one of 15 codes. You must set up special codes (letters A through N) for 4-4-5, 13-period 
accounting, or any other date pattern unique to your environment. An R, the default, identifies a regular calendar pattern.

cEmptyCacheFlag_EV01EV01charOPTOUTPUT

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

cErrorMessageSet_EV01EV01charOPTOUTPUT

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

Related Functions

B1000011 RetrieveCatCodeValue
X0010 Next Numbers

Related Tables

F0006 Business Unit Master
F0006S Date Effective Business Unit Master
F0010 Company Constants
F0050A Structure Definition File
TerminateParentChildBUCache

TerminateParentChildBUCache

Build Parent/Child Business Unit Cache

Minor Business Rule

Object Name: B1000040

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D1000040C - Terminate Parent Child Business Unit Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheName_PIDPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cReset_EV01EV01charOPTINPUT

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

cErrorMessageSet_EV01EV01charOPTOUTPUT

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

Related Functions

B1000011 RetrieveCatCodeValue
X0010 Next Numbers

Related Tables

F0006 Business Unit Master
F0006S Date Effective Business Unit Master
F0010 Company Constants
F0050A Structure Definition File