ForecastSetNextLevel

Forecast Set Next Level

Major Business Rule

Object Name: B3400670

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function will set what the next level in the hierarchy is so that the records for that level can 
be displayed in Review by Type


1.2Setup Notes and Prerequisites


1.3Special Logic


2.Technical Specifications

1.Move the Level parameters to an array that is 14 big 1 character each (@S)
2.Move the Key fields to an array that is 14 big each 13 characters big (@K) starting with 

poisition 2

3.Move a 1 to X 

Do 13

If @S,X is equal to 1

If @K,X is equal to blank

If X is equal LevelOfCustomer

and AddressNumber is equal to zero

and AllCustomers is not equal to '1'

Move a '*' to AllCustomers

Goto Tag 1

Else

Move a '*' to @K,X

Goto Tag 1

End

End

End

Add 1 to X

End

Tag 1

4.Move the @K fields back to the Key fields




^

Data Structure

D3400670 - Forecast Set Next Level

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

szLevelOneKV01charNONENONE

The first key postion of the forecasting hierarchy.  The value in this field relates to the first level chosen in the forecasting constants.

szLevelTwoKV02charNONENONE

The second key postion of the forecasting hierarchy.  The value in this field relates to the second level chosen in the forecasting constants.

szLevelThreeKV03charNONENONE

The third key postion of the forecasting hierarchy.  The value in this field relates to the third level chosen in the forecasting constants.

szLevelFourKV04charNONENONE

The forth key postion of the forecasting hierarchy.  The value in this field relates to the fourth level chosen in the forecasting constants.

szLevelFiveKV05charNONENONE

The fifth key postion of the forecasting hierarchy.  The value in this field relates to the fifth level chosen in the forecasting constants.

szLevelSixKV06charNONENONE

The sixth key postion of the forecasting hierarchy.  The value in this field relates to the sixth level chosen in the forecasting constants.

szLevelSevenKV07charNONENONE

The seventh key postion of the forecasting hierarchy.  The value in this field relates to the seventh level chosen in the forecasting constants.

szLevelEightKV08charNONENONE

The eighth key postion of the forecasting hierarchy.  The value in this field relates to the eighth level chosen in the forecasting constants.

szLevelNineKV09charNONENONE

The ninth key postion of the forecasting hierarchy.  The value in this field relates to the ninth level chosen in the forecasting constants.

szLevelTenKV10charNONENONE

The tenth key postion of the forecasting hierarchy.  The value in this field relates to the tenth level chosen in the forecasting constants.

mnShortItemITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

mnAddressNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szBranchMCUcharNONENONE

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.

cCompanyLevelEV01charNONENONE

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

cCategory1LevelEV01charNONENONE

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

cCategory2LevelEV01charNONENONE

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

cCategory3LevelEV01charNONENONE

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

cCategory4LevelEV01charNONENONE

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

cCategory5LevelEV01charNONENONE

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

cCategory6LevelEV01charNONENONE

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

cCategory7LevelEV01charNONENONE

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

cCategory8LevelEV01charNONENONE

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

cCategory9LevelEV01charNONENONE

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

cCategory10LevelEV01charNONENONE

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

cItemLevelEV01charNONENONE

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

cCustomerLevelEV01charNONENONE

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

cGlobalLevelEV01charNONENONE

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

mnLevelOfCustomerMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

cAllCustomersEV01charNONENONE

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

cAllItemsEV01charNONENONE

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

Related Functions

None

Related Tables

None