ValidateSummaryKey

Validate Summary Key

Major Business Rule

Object Name: B3400950

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function will validate that the summary key postions set up for the forecast summary constants 
are unique and do not skip values.


1.2Setup Notes and Prerequisites


1.3Special Logic



2.Technical Specifications

1.Will need to convert the Customer Level to a numeric if it is not blank and include it in the 
key position values in order.

2.Validate that the values entered in the key positions do not have any duplicates.

If a value is duplicated set on error '3007' and highlight the key that is the duplicate.

3.Validate that no value is skipped in the setup (ie. if there is a 1, 2 and 5 there must be a 3 

and 4)

If a value is skipped set on error '3750' and highlight the first value that is out of sequence 

(ie in the above example you would highlight the 5).

4.If sequence value 11 is entered and Customer Level is not selected as a key set on error 

'023H'.


^

Data Structure

D3400950 - Validate Summary Key

Parameter NameData ItemData TypeReq/OptI/O/Both
mnKeyPosition1KC01MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific category code should be.

mnKeyPosition2KC02MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition3KC03MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition4KC04MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition5KC05MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition6KC06MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition7KC07MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition8KC08MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition9KC09MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition10KC10MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition11KC11MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition12KC12MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition13KC13MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition14KC14MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition15KC15MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition16KC16MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition17KC17MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition18KC18MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition19KC19MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition20KC20MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition21KC21MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition22KC22MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition23KC23MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition24KC24MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition25KC25MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition26KC26MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition27KC27MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition28KC28MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition29KC29MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition30KC30MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition31KC31MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition32KC32MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition33KC33MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition34KC34MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition35KC35MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition36KC36MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition37KC37MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition38KC38MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition39KC39MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

mnKeyPosition40KC40MATH_NUMERICNONENONE

An indicator that specifies which level in the forecasting hierarchy a specific Category Code should be.

szCustomerLevelCSLVcharNONENONE

A code that indicates the customer number as one of the levels in the forecasting hierarchy.

Related Functions

None

Related Tables

None