F4091GetForecastLevels

F4091 Get Forecast Levels

Major Business Rule

Object Name: B3400640

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function will retieve the levels for a Summary code.

1.2Setup Notes and Prerequisites



1.3Special Logic



2.Technical Specifications

1.Retrieve the Summary Constants for the Summary Code
2.If customer is a level

Move the number of that LevelOfCustomer

Move '1' to Customer Level


3.If the global level is equal to Y

Return '1' in GlobalLevel


If the company level is equal to Y

Return '1' in CompanyLevel


If  item number level is equal to Y

Return '1' t in ItemLevel


For each Category Code value that is not equal to blank

Retrieve '1' in CategoryXLevel 



^

Data Structure

D3400640 - F4091 Get Forecast Levels

Parameter NameData ItemData TypeReq/OptI/O/Both
szSummaryCodeKVERcharNONENONE

A user defined code (40/KY) that indicates the type of summary forecast.

cGlobalLevelEV01charNONENONE

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

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.

mnLevelOfCustomerMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

Related Functions

None

Related Tables

F4091 Category Code Key Position File