1.Functional Description
1.1Purpose
This function will take the Derived Calculation Expression, extract the Segment Numbers and adds the Segments to the Segments Cache.
1.2Setup Notes and Prerequisites
The calling application is responsible for loading all appropriate key values. The values needed to be passed on to the business function are Derived
Calculation, Branch Plant, Parent Short Item Number.
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
DERCDerived CalculationIY
KITItem Number Short KitIY
MCUCost CenterIY
JOBNJob NumberIY
DTAIError Message idON
2.4Processing
2.Extract the Segment Number from the Derived Calculation String.
3.If it has a preceding '=' get the Short Item for that Item Number.
4.Get the Segment Default value from F3291
5.Add the Segment to Cache (B3200350) using Short Item Number, MCU, Segment Number (PEL) as keys and the associated Default Value.
6.Get the Next Segment Number.
7.Goto #2.
8.If No more Segments then Close the Table F3291.
^
D3201320 - Derived Calculation String Breakup
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szDerivedCalculation | DERC | char | OPT | NONE |
An algebraic formula that specifies the quantity, price, hours, or a value associated with a rule.
The following examples illustrate the syntax
| ||||
mnItemNumberShortKit | KIT | MATH_NUMERIC | OPT | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szCostCenter | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnJobnumberA | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
szErrorMessageID | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
|
None |
None |