1.Functional Description
1.1Purpose
This function is used to delete an edit group from a set of Cross Segment Edit Rules. All rules from
the deletion point (i.e. beginning rule number passed in through input parameters) are "moved up",
i.e. rule number decrements by 1 to fill in the gap left by the deleted group. Any associated Rule
Values (F32921) or Rule Ranges (F32922) rows are also updated to the new rule number. Whenever a rule is
marked with custom messages, the generic text (GT3292) is modified or deleted.
1.2Setup Notes and Prerequisites
No special setup for this function.
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.4Processing
A. Using the key values passed in as input parameters, select all rows from F3292 for the Configured
Item and Branch/Plant. Read all selected rows; skip processing any rows with a rule number less than
or equal to the beginning rule number passed in as input.
B. For each edit group selected for processing (i.e. edit groups with rule numbers greater than the
beginning rule number), decrement the edit group rule number by 1. Read F3292 with the new key value.
If the record exists, overwrite the record; if the record does not already exist on F3292, write a
new F3292 row into the table. (B3200060-Update Cross Segment Edit" business function is used for this
update). Generic text is resequenced to coincide with changes in F3292
C. At an edit group break, any "leftover" rules (i.e. rules which were not overwritten) from an edit
group should be deleted (B3200080-Delete Cross Segment Edit" business function is used for this
delete).
D. At the end of processing all selected rows, the last edit group for this Configured Item and
Branch/Plant should be deleted because it has been re-written with a new (decremented) rule number
("B3200080-Delete Cross Segment Edit" business function is used for this delete).
E. For each F3292 row processed, select all rows from the Rule Values (F32921) table with the same
Configured Item, Branch/Plant and Rule Number if the Selection Values (ATIV) column contains *VALUE or
*VALUES. Write new values records for all rows retrieved with the new rule number using the F32921
Update Rule Values business function (B3200160). Values records for the "old" rule number should be
deleted after the new records are written.
F. For each F3293 row processed, select all rows from the Rule Ranges (F32922) table with the same
Configured Item, Branch/Plant and Rule Number if the Selection Values (ATIV) column contains *RANGE or
*RANGES. Write new ranges records for all rows retrieved with the new rule number using the F32922
Update Rule Ranges business function (B3200170). Ranges records for the "old" rule number should be
deleted after the new records are written.
Resequences rule numbers on the Assembly Inclusion Rules table (F3293) after an entire edit group is
deleted. The rule numbers edit groups below the deletion point are decremented by 1 to fill in the
gap left by the deleted group.
^
D3200240 - F3292 Delete CSE Edit Group
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnConfiguredItemShort | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnDeleteRuleNo | ATO# | MATH_NUMERIC | NONE | NONE |
The number associated with a set of cross-segment editing rules or assembly inclusion rules. | ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | 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
|
B3200060 F3292 Update Cross Segment Edit | ||||
B3200080 F3292 Delete Cross Segment Edit | ||||
B3200160 F32921 Update Rule Values | ||||
B3200170 F32922 Update Rule Ranges | ||||
B3201020 GT3292 CSE_Generic Text Process |
F3292 Cross Segment Editing Rules | ||||
F32921 Cross Segment Editing Rules - Values | ||||
F32922 Cross Segment Editing Rules - Range |