1.Functional Description
1.1Purpose
This function deletes Resource Profile records from F3303 for the input item and branch. Records are
deleted for Unit Types 1, 2, and 3 with effectivity dates that are covered by the input effectivity
dates.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
ErrorMessageID = ' '
Open table F3303
If open fails
ErrorMessageID = '3143'
If SuppressErrorMessage <> '1'
Call SetError with '3143'
End
Else
Delete all records from F3303 for ShortItemNumber (CTITM) and Branch (CTMMCU) where
(CTEFFF >= EffectiveFromDate and CTEFFF <= EffectiveThruDate) or
if delete fails
End
^
D3300120 - F3303, Delete Resource
Data Item Data Structure DescriptionI/ORequiredNotes
ITM Short Item Number IY
MCU Branch IY
EFFF Effective From Date IY
EFFT Effective Thru Date IY
SUPPS Suppress Error Messages I '1' = Suppress error messages
' ' = Allow error messages
DTAI Error Message ID O ' ' = success
'3143' = file cannot be
accessed
'0002'= record invalid
'4363'= null pointer
^
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
|---|---|---|---|---|
| mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
| szBranch | 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
| ||||
| jdEffectiveFromDate | EFFF | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part goes into effect on a bill of material
o When a routing step goes into
| ||||
| jdEffectiveThruDate | EFFT | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part is no longer in effect on a bill of material
o When a routing step is no
| ||||
| 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
| ||||
| 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
| ||||
| 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 |
| F3303 Capacity Resource Profile |