ForecastUpdateSummary

Forecast Update Summary

Major Business Rule

Object Name: B3400970

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function will update a specific Summary Forecast Record F3400 with a new Adjusted Quantity, 
Adjusted Amount.


1.2Setup Notes and Prerequisites


1.3Special Logic



2.Technical Specifications

1.Fetch the Summary Forecast record with the full key passed in
Update the Adjusted Quantity and Adjusted Amount on the record with the numbers passed in

Update the Revisions flag with the one passed in

Update the Bypass Force flag with the one passed in

Update the Time and Date stamp on the record using GetAuditInfo and ProgramID passed in


^

Data Structure

D3400970 - Forecast Update Summary

Parameter NameData ItemData TypeReq/OptI/O/Both
szSummaryCodeKVERcharNONENONE

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

szForecastTypeTYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

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.

szCategoryCode01KV01charNONENONE

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

szCategoryCode02KV02charNONENONE

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

szCategoryCode03KV03charNONENONE

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

szCategoryCode04KV04charNONENONE

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

szCategoryCode05KV05charNONENONE

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

szCategoryCode06KV06charNONENONE

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

szCategoryCode07KV07charNONENONE

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

szCategoryCode08KV08charNONENONE

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

szCategoryCode09KV09charNONENONE

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

szCategoryCode10KV10charNONENONE

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

mnShortItemNumberITMMATH_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.

jdDateDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

szProgramIDPIDcharNONENONE

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.

mnAdjustedQuantityMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

mnAdjustedAmountMATH02MATH_NUMERICNONENONE

- - - Good Performance High Value. 

cRevisionFlagRVIScharNONENONE

A code indicating that the forecasted amount and/or quantity has been manually revised and that the revisions have not been forced to the 
other levels.    0   Not Revised    1   Amount Revised    2   Quantity Revised    3   Amount and Quantity Revised 

cBypassForceBPFCcharNONENONE

A code that indicates whether to bypass the Forecast Forcing program (R34610). A Y indicates that the quantity and amount of a forecast 
should not be changed by an adjustment made to a forecast higher in the summary hierarchy. This flag is effective only when forecast forcing is 
done down the summary hierarchy.

Related Functions

B9800100 Get Audit Information

Related Tables

F3400 Forecast Summary File