1.Functional Description
1.1Purpose
This function deletes records from the Capacity Messages (F3311), Capacity Pegging (F3312), and
Capacity Load (F3313) tables for the input Work Center.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
Delete all records from F3311 using key values CapacityMode, WorkCenter, and UnitOfMeasure where Hold
Code <> 'Z' and Message Type <> 'M'.
Delete all records from F3312 using key values CapacityMode, WorkCenter, Branch, and UnitOfMeasure.
Delete all records from F3313 using key values CapacityMode, WorkCenter, and UnitOfMeasure.
If any open table fails
ErrorMessageID = "3143"
End
^
D3300130 - CRP, Delete Planning Records
Data Item Data Structure DescriptionI/ORequiredNotes
MCU Work Center IY
MMCU Branch IY
CAPM Capacity Mode IY
UM Unit Of Measure IY
SUPPS Suppress Error Messages I '1' = Suppress runtime error
message
handling
' ' = Allow runtime error
message handling
DTAI Error Message ID O " " = success
"3143" = table access error
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szWorkCenter | 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
| ||||
szBranch | MMCU | char | NONE | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
cCapacityMode | CAPM | char | NONE | NONE |
A code indicating which planning is being used. Valid values are:
1 Resource Requirements Planning
2 Rough Cut Capacity
| ||||
szUnitOfMeasure | UM | char | NONE | NONE |
A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box,
| ||||
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
| ||||
cSuppressErrorMessage | SUPPS | char | NONE | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szWorkcenterBranch | WMCU | char | OPT | NONE |
This is the branch/plant to which the work center belongs and must exist in the business unit master (F0006) and branch plant constants file
|
None |
F3311 Capacity Message File | ||||
F3312 Capacity Pegging | ||||
F3313 Capacity Load Table |