Documentation >
MAC-PAC Technical Library >
Manufacturing >
Design Engineering >
Programs >
Part Master Maintenance - On Line Update - Purpose >
Part Master Maintenance - On Line Update - Calculations
Part Master Maintenance - On Line Update - Calculations
DE100E
A. Housekeeping
1. See the Common Processing Routines Section for a general discussion of this subroutine. Processing specific to this program is described below.
2. Parameter lists and key lists needed by the program are defined. Work fields and constants are defined and initialized.
3. The following information is retrieved from the System Control file (CT100M) and the Reference file (REFERP).
a. The applications installed records (categories 011 and 012) on the Reference file are retrieved to determine if the CONBON, Inventory Control, Expert Configurator, Job Control, and Repetitive Supply modules are installed. In a job-controlled environment, parts are defined as either job controlled or non job-controlled. If Repetitive Supply is installed, the PO generation mode is validated to determine whether the part is to be handled by Repetitive Supply. If the Inventory Control module is not installed, the system defaults to a non lot-controlled environment. If the module is installed, the Inventory Control record (ICCTL1) is retrieved from the System Control file.
(1) If the Lot Option (LOTOPT) on the Inventory Control record (ICCTL1) is Y, part master maintenance is in a lot-controlled environment and an indicator is set to condition the display and processing of lot information.
(2) If the Lot Option is N, the system is not in a lot-controlled environment. If the Expert Configurator Module is not installed parts cannot be configured or have configuration codes.
(3) If the Potency Option (POTOPT) is Y, part master maintenance is in a potency controlled environment and an indicator is set to condition the display of potency fields. Note that an environment can be potency controlled only if it is lot-controlled.
b. The Entity Name (category 002) on the Reference file is retrieved to determine the company name. If this record is not found, the company name defaults to COMPANY NAME MISSING.
c. The date format (category 049) on the Reference file is retrieved. If this record is not found, a message is sent to the system operator, the date format defaults to MMDDYY, and processing continues.
d. The quantity field sizes record (category 446) on the Reference file is retrieved to determine the default number of decimal positions for order quantity fields. If this record is not found, a message is sent to the system operator and the program aborts.
e. Reference File category 409 (user/company authorization) is read to determine the plants the user is authorized to access. The default plant is retrieved from Reference File category 428 (workstation authorization).
4. The following validation arrays are loaded from the Reference file (REFERP).
Array
Name
|
Array Description
|
REFERP
Category
|
Purpose
|
AUMC
|
Unit of Measure
|
005
|
Used to validate unit of measure values.
|
AOPC
|
Planning Policy Code
|
404
|
Used to validate planning policy code values.
|
APTC
|
Part Type Code
|
405
|
Used to validate part type values.
|
AACC
|
Accounting Code
|
433
|
Used to validate accounting code values.
|
ACMC
|
Commodity Code
|
434
|
Used to validate commodity code values
|
PDC
|
Production Type Codes
|
C01
|
Used to validate production types.
|
ROC
|
Relief Type Codes
|
C02
|
Used to validate relief type.
|
B. Mainline
1. This program is directed by the Program Status field (PGMSTS). When the status is PMT (prompt subroutine) the program validates the Maintenance Code and Part Number/Plant on the Function Select screen (DE100S01).
a. There are ten functions to choose from on the Function Select screen. These functions are processed on one of six screens. The screen flow is determined by the value of the Program Status field. The functions and their corresponding screen and program status values are shown below.
Maint. Code
|
Maintenance Function
|
Screen Number
|
Screen Name
|
Program Status
|
1
|
New Part Setup
|
DE100S02-7
|
All Screens
|
ALL
|
2
|
Addition
|
DE100S02
|
Engineering
|
ENG
|
3
|
Change Description
|
DE100S02
|
Engineering
|
ENG
|
4
|
Change Distribution
|
DE100S03
|
Distribution
|
DST
|
5
|
Change Control
|
DE100S04
|
Control
|
CTL
|
6
|
Change Planning
|
DE100S05
|
Planning
|
PLN
|
7
|
Change Productivity
|
DE100S06
|
Productivity
|
PRD
|
8
|
Change Purchasing
|
DE100S08
|
Purchasing
|
PUR
|
9
|
Change Configuration
|
DE100S09
|
Configuration
|
CFG
|
10
|
Change User-Fields
|
DE100S10
|
User-Defined
|
USR
|
11
|
Reactivation
|
DE100S02
|
Engineering
|
ENG
|
12
|
Deletion
|
DE100S02
|
Engineering
|
ENG
|
13
|
Deletion Report
|
DE100S02
|
Prompt
|
RPT
|
b. After data is entered for a specific function, detailed field validation is performed. The transaction is posted if all the fields are valid. Report records are written for the Maintenance Audit Trail report (DE540) and the Transaction Register report (DE550). If the transaction is invalid, all errors are displayed and the Part Master file is not updated.
c. When the user exits the program, END is moved to the Program Status field and windup processing is performed.
2. Function Select
a. The Maintenance Code and Part Number are entered and validated.
b. The maintenance function is repeated until a new function is selected.
c. A reference number may be specified to identify transactions. The default value is the user profile name.
3. Addition: The following processing occurs for each addition transaction.
a. All required fields and desired optional fields entered are validated. See the Design Engineering User Manual for validation rules.
b. If a new record is added to the Part Master file, the following fields default to the value specified.
Field Name
|
Field
|
Default Value
|
AISSCD
|
Issue Code Part Type 1-8
|
R
|
|
B-C
|
S
|
AMERL
|
Engineering Revision Level
|
000, if not entered.
|
AMLTC
|
Lead Time Code
|
F
|
AMORDQ
|
Average Order Quantity
|
1
|
AMSIRL
|
SIR Stock Location
|
NOSRLOC
|
AMSKLC
|
Primary Stock Location
|
NOPRLOC
|
IZACD
|
Activity Code
|
1, if not entered
|
IZLCF
|
Lot Control Option
|
N
|
MOPOC
|
Order Policy Code
|
1
|
MOPOQ
|
Order Policy Quantity
|
0
|
MPEGCD
|
Force Print Flag
|
N
|
OLFLG0
|
Cost Activity Flag
|
1
|
OLFLG1
|
Cost Rollover Code
|
0
|
OLFLG2
|
Cost Rollup Code
|
0
|
PMAUTQ
|
Authorized Production Quantity
|
1, if not entered.
|
PMBTQT
|
Batch Quantity
|
1
|
PMCBCC
|
CONBON Control Code
|
|
|
CB installed
|
2
|
|
CB not installed
|
0
|
PMFCCD
|
Consumption Code
|
0 (No consumption)
|
PMFHDY
|
Requirements Planning Firm Horizon Days
|
0
|
PMMLFC
|
Multi-Level Forecast Flag
|
'Yes' for planning; 'No' for other part types
|
PMCELL
|
Producing Cell
|
|
|
Production Type 1
|
NOPDCTR
|
|
Production Type 2
|
(Reference File category K03 default)
|
PMCFCO
|
Configuration Code Option
|
0, if not entered.
|
PMDMND
|
Demand Code
|
R
|
PMFAMR
|
Product Reference Code
|
0
|
PMGNFL
|
PO Automatic Generation Flag
|
N, if not entered.
|
PMJCFL
|
Job Control Option
|
N, if not entered.
|
PMMSFL
|
Master Scheduling Generation Flag
|
0
|
PMNCFL
|
Part Master Net Change Flag
|
0
|
PMNETF
|
Inventory Netting Flag
|
Y
|
PMOPIN
|
Order Policy Increment
|
0
|
PMPDTP
|
Production Type
|
1, if not entered.
|
PMPSRC
|
Search
|
(CMDESC)
|
PMPTCF
|
Potency Control Option
|
N
|
PMREFF
|
Revision Effectivity Date
|
0, if revision level not entered.
Today, if revision level entered, but date not.
|
PMRLFT
|
Relief Type
|
1
|
PMRVGN
|
Revision Level Generation Flag
|
N, if not entered.
|
PMSCFL
|
Serial Control Flag
|
N, if part not yet existing in other plants. Otherwise, default value in other plants.
|
PMSCFL
|
Serial Control Flag
|
N, if not entered.
|
PMSLD1
|
Description Line 1
|
(CMDESC)
|
PMSTPT
|
Standard Potency
|
100
|
PMALT
|
Alternate Part Number
|
Blanks, if not entered.
|
PMUPC
|
Universal Product Code
|
Blanks, if not entered.
|
PMRPL
|
Replacement Part Number
|
Blanks, if not entered.
|
PMUPDT
|
Part Master Update Level
|
00001
|
PMVOCM
|
Order Processing Configuration
|
N
|
PMVOMF
|
Manufacturing Order Configuration
|
N
|
RPORDQ
|
MS Order Quantity
|
1
|
CDWPAC
|
WIP Accounting Code
|
Inventory Accounting Code
|
PMAXMO
|
Maximum Order Quantity
|
0
|
PMPRGR
|
Pricing Group
|
Blank, if not entered.
|
PMDVID
|
Division ID
|
Blank, if not entered
|
PMSCID
|
Section ID
|
Blank, if not entered
|
c. Report records are written to the Design Engineering Transaction Register (DE100CP1) and Maintenance Audit Trail file (DE100BP1) to record data base activity.
d. The part/revision level combination is written to the revision level file (DE170M). If no revision level is entered, it is defaulted to '000'. The revision effectivity date defaults to the current system date and the revision description defaults to 'P/M ADDED REVISION LEVEL'.
4. Change: The following processing occurs for each change transaction. These transactions include changes to descriptive, distribution, control, planning, productivity, cost, configuration , and user-defined data.
a. The part master record is read for inquiry to retrieve current master file values. The changed fields are validated. See the Design Engineering User Manual for validation rules. If no changes are made, the transaction is invalid.
b. Relational validation is performed. Relational validation ensures that changes are compatible with information currently on the data base.
(1) Change Description
If the production type is changed from MRP to JIT, the part cannot be a non-standard type part, cannot be configured (PMVOMF = yes), and cannot have a configuration code (PMCFCO = 0). When the production type is changed, the planning policy code (MOPOC) is reset to 1 if the previous one was different from 2, 3, or 5. If the production type is changed from JIT to MRP, a warning message is sent if any FA exists for this part.
If the part type is changed, the following conditions are verified.
|
|
|
Purchased
|
Planning
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part.
|
Purchased
|
Reference or Non-stocked
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have projected demand. Part cannot have sales order processing configuration.
|
Purchased
|
Build-thru
|
Part cannot be a master scheduled or service part.
|
Purchased
|
Non-standard
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be used as a component. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have projected demand.
|
Purchased
|
Manufactured
|
The Part Type field must be changed. The Cost BOM and the Cost Routing flags must be changed to Y (yes)to generate the correct costs for the part.
|
Manufactured
|
Purchased or Raw
|
Part cannot have routings. No manufacturing orders or flow authorizations may exist for the part. Part cannot have manufacturing configuration. The part cannot have any phantom purchase orders.
|
Manufactured
|
Planning
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot have components or routings. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No manufacturing orders or flow authorizations may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have manufacturing configuration.
|
Manufactured
|
Reference or Non-stocked
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot have components or routings. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No manufacturing orders or flow authorizations may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have projected demand. Part cannot have manufacturing configuration.
|
Manufactured
|
Build-thru
|
Part cannot have routings. Part cannot be a master scheduled or service part.
|
Manufactured
|
Non-standard
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be a JIT part. Part cannot have components or routings. Part cannot be used as a component. No manufacturing orders or flow authorizations may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have projected demand. Part cannot have manufacturing configuration.
|
Manufactured
|
Non-stocked
|
Part cannot have sales order processing configuration.
|
Raw
|
Planning
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part.
|
Raw
|
Reference or Non-stocked
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have projected demand.
|
Raw
|
Build-thru
|
Part cannot be a master scheduled or service part.
|
Raw
|
Non-standard
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be a JIT part. Part cannot be used as a component. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have projected demand.
|
Raw
|
Non-stocked
|
Part cannot have sales order processing configuration.
|
Planning
|
Purchased or Manufactured or Raw or Build-thru or Transfer or By-product
|
Part cannot exist in another plant. Part cannot have components. Part cannot be used as a component.
|
Planning
|
Reference or Non-stocked
|
Part cannot exist in another plant. Part cannot have components. Part cannot be used as a component. Part cannot have projected demand.
|
Planning
|
Non-standard
|
Part cannot exist in another plant. Part cannot be a JIT part. Part cannot have components. Part cannot be used as a component. No inventory balance may exist for the part. Part cannot have projected demand.
|
Planning
|
Non-stocked
|
Part cannot have sales order processing configuration.
|
Reference or Non-Stocked
|
Purchased or Manufactured or Raw or Planning or Build-thru or Transfer or By-product
|
Part cannot exist in another plant. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part.
|
Reference or Non-Stocked
|
Non-standard
|
Part cannot exist in another plant. Part cannot be a JIT part. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part.
|
Reference
|
Non-stocked
|
Part cannot exist in another plant. Part cannot be used as a component. Part cannot have sales order processing configuration.
|
Non-stocked
|
Reference
|
Part cannot exist in another plant. Part cannot be used as a component.
|
Build-thru
|
Purchased or Raw
|
Part cannot have components. Part cannot be used as a component. No manufacturing orders of flow authorizations may exist for the part. Part cannot have manufacturing configuration.
|
Build-thru
|
Planning
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot have components. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part. Part cannot have manufacturing configuration.
|
Build-thru
|
Reference or Non-stocked
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot have components. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part. Part cannot have projected demand. Part cannot have manufacturing configuration.
|
Build-thru
|
Non-standard
|
Part cannot exist in another plant. Part cannot be lot controlled. Part cannot be a JIT part. Part cannot have components. Part cannot be used as a component. No manufacturing orders may exist for the part. No inventory balance may exist for the part. Part cannot have projected demand. Part cannot have manufacturing configuration.
|
Build-thru
|
Non-stocked
|
Part cannot have sales order processing configuration.
|
Non-standard
|
Purchased or Manufactured or Raw or Build-thru or Transfer
|
Part cannot exist in another plant. No inventory balance may exist for the part.
|
Non-standard
|
Planning or Reference or Non-stocked
|
Part cannot exist in another plant. Part cannot be lot controlled. No purchase orders, sales orders, or transfer orders may exist for the part. No inventory balance may exist for the part.
|
Non-standard
|
Non-stocked
|
Part cannot have sales order processing configuration.
|
Transfer
|
Purchased or Raw
|
Part cannot have components or routings. Part cannot be used as a component. No manufacturing orders or flow authorizations may exist for the part.
|
Transfer
|
Planning
|
Part cannot be lot controlled. Part cannot have components or routings. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No manufacturing orders or flow authorizations may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part.
|
Transfer
|
Reference or Non-stocked
|
Part cannot be lot controlled. Part cannot have components or routings. Part cannot be used as a component. No purchase orders, sales orders, or transfer orders may exist for the part. No manufacturing orders or flow authorizations may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part. Part cannot have projected demand.
|
Transfer
|
Build-thru
|
Part cannot have routings. Part cannot be a master scheduled or service part.
|
Transfer
|
Non-standard
|
Part cannot be lot controlled. Part cannot be a JIT part. Part cannot have components or routings. Part cannot be used as a component. No manufacturing orders or flow authorizations may exist for the part. No inventory balance may exist for the part. Part cannot be a master scheduled or service part.
|
Transfer
|
Non-stocked
|
Part cannot have sales order processing configuration.
|
If a part type is changed to anything other than manufactured or transfer, the change may not occur if the code is equal to 'T'.
|
|
|
1, 3, 8 or C
|
Anything other than 1, 3, 8 or C
|
The planning order policy is set to 6 if the production type is JIT, and if the previous planning order policy was not 2 or 3.
|
Not 1, 3, 8 or C
|
1, 3, 8 or C
|
If the previous planning order policy code is 2 or 3. The planning order policy is set to 1 if the production type has not been changed and the type is JIT or MRP.
|
Not 1, 3, 8 or C
|
JIT
|
The planning order policy is set to 6, if the previous planning order policy is not 2 or 3.
|
If the stockkeeping or selling unit of measure is changed, the part must have a warehouse balance of zero, it cannot be used as a component, and it cannot have any existing manufacturing or purchase orders.
If any unit of measure or unit of measure conversion factor has been changed, the relationship between units of measures and conversion factors is validated. If the stockkeeping unit of measures equals the selling unit of measure, the SKU/SU conversion factor must equal one. Similarly, if the stockkeeping unit of measure equals the purchasing or supplementary unit of measure, the corresponding SKU/PU or Suppl/SKU conversion factor must equal one.
A change in production type causes the net change flag to be set for replanning (PMNCFL = 2). If the production type is changed from MRP to JIT or from JIT to MRP, the part's run units and fixed lead time are reinitialized to zero
If the production type is changed, the Routing file (ME120M) is checked. If the part has a routing, the production type cannot be changed.
If transfer part type, sourcing plant must be valid. If a part has been deleted from or deactivated from a sourcing plant, it cannot be used as a transfer part. If not transfer part type, sourcing plant must be blank.
If the part status is changed, the original part status is used to search Reference File category D88 to obtain the value of the Planned Supply flag associated with the original part status. Then, the new part status is used to search Reference File category D88 to obtain the value of the Planned Supply flag associated with the new part status. If the Planned Supply flag from the original part status is a 'Y' and the Planned Supply flag from the new part status is an 'N,' then program DELRPT is called. DELRPT deletes all RP100AP1, RP100AP2, RP100AP3, RP100AP4, RP100AP5, RP130AP1, RP130AP2, RP140AP1, RP140AP2, RP140AP3, and RP140AP4 records for the part/plant combination so that no trace of the part is left in the Requirements Planning planning action report files.
(2) Change Control
Non-stocked parts must have an issue code equal to S. If the Issue Code, SIR Stock Location, or Lot Option is changed, the following conditions are verified.
Issue Code
|
Lot Primary Location
|
SIR Location
|
Option
|
R
|
Must be NOPRLOC or a valid location
|
Must be NOSRLOC or a valid location
|
Must be Y or N
|
S
|
Must be NOPRLOC or a valid location
|
Must be a valid SIR location
|
Must be N
|
T
|
Must be a valid location
|
|
|
If the value code is 'T' (multi-level back flushing):
The part type should be manufactured or transfer.
The production type should be JIT.
The planning order policy should be 6 if type is manufactured.
The planning order policy should be 8 if type is transfer.
The production center should not be blank or equal to NOPDCR.
The production location should exist and must be valid.
The lot control should be 'N'.
The relief code should be 2.
If a primary or SIR stock location is changed, its corresponding record on the Location Validation file (DE140M for primary, DE140ML1 for SIR) is read for update. This read checks for a valid location as well as prevents another user from deleting the location before the Part Master file is updated.
If the Lot Option is changed, the part cannot exist in another plant, it cannot have a warehouse balance, it cannot be used as a component, and it cannot have existing manufacturing, sales, or purchase orders. Furthermore, all closed manufacturing, sales, and purchase orders must also be purged from the system. If the Lot Option is changed from Y or A to N, the part cannot be configured.
If the job control flag is changed from no to yes, the part cannot be any of the following part types:
a. Planning (4)
b. Reference (5)
c. Non-standard (7)
d. Transfer (8)
e. Non-stocked (c)
The part must have the Safety Stock set to zero, and the Planning Policy Code must be equal to 1 - As Required. The part cannot have a JIT production type, nor can it have a PO generation mode of 1-6.
Note: In order for the Job Control flag to be changed from Y (yes) to N (no), the part cannot possess any records in the following files:
IC100M
|
Manufacturing Orders
|
IC120M
|
Component Requirements
|
IC140M
|
Warehouse Balance
|
JT100M
|
Flow Authorization
|
JT120M
|
Flow Requirements
|
MS150M
|
Projected Demand
|
OP100M2
|
Sales Order Line Item and Forecast
|
PO160M1
|
Purchase Requisition
|
PO180M2
|
Purchase Order Line Detail
|
PO180M3
|
Purchase Order Release Detail
|
TC100M2
|
Transfer Order Supplying Warehouse
Transfer Order Receiving Warehouse
|
TC110M1
|
Transfer Requisition Supplying Warehouse
Transfer Requisition Receiving Warehouse
|
In order for the Job Control flag to be changed from N to Y, the part cannot possess any records in the following files:
TC100M2
|
Transfer Order Supplying Warehouse
Transfer Order Receiving Warehouse
|
TC110M1
|
Transfer Requisition Supplying Warehouse
Transfer Requisition Receiving Warehouse
|
(3) Change Planning
If the planning policy code of a part is changed, the planning policy quantity and increment currently on the part master record must be valid for the new code or a new quantity and increment must be specified. Similarly, if the planning policy quantity or increment is changed, the planning policy code on the part master record must be valid for the new quantity or increment, or a new code must be specified. The combinations that are valid depend on the production type.
For a job-controlled part, the planning policy must remain As Required.
For an Issue Code T, manufactured part, the planning policy must remain as Partial.
For an Issue Code T, transfer part, the planning policy must remain as Required.
For an MRP part, the following combinations are valid.
Planning Policy
|
Code
|
Quantity
|
Increment
|
As Required (A/R)
|
1
|
Zero
|
Zero
|
Fixed Time Period (F/T)
|
2
|
Nonzero
|
Valid Numeric
|
Fixed Quantity (F/Q)
|
3
|
Nonzero
|
Valid Numeric
|
Physical Control (P/C)
|
4
|
Zero
|
Zero
|
For a JIT part, the following combinations are valid.
Planning Policy
|
Code
|
Quantity
|
Increment
|
Partial
|
6
|
Zero
|
Zero
|
Average
|
7
|
Zero
|
Zero
|
Fixed Time Period (F/T)
|
2
|
Nonzero
|
Valid Numeric
|
Fixed Quantity (F/Q)
|
3
|
Nonzero
|
Valid Numeric
|
For MRP and JIT parts, the batch quantity must be greater than or equal to one.
If the Demand code changes from a 'D,' 'R,' or 'S' to an 'M,' the program DELRPT is called. DELRPT deletes all RP100AP1, RP100AP2, RP100AP3, RP100AP4, RP100AP5, RP130AP1, RP130AP2, RP140AP1, RP140AP2, RP140AP3, and RP140AP4 records for the part/plant combination so that no trace of the part is left in the Requirements Planning planning action report files.
(4) Change Productivity
For MRP parts, the production center (PMCELL) defaults to NOPDCTR. For JIT parts, the production center defaults to the plant-specific default production center on Reference File category K03. The plant-specific default production center must exist on he Production Center file (JT180M); otherwise, the production center defaults to NOPDCTR.
For an issue code 'T', the production center must be valid and different from NOPDCTR.
The CONBON Control code defaults to 0 if CONBON is not installed or 2 if CONBON is installed. In a dual/single card environment, a message warns the user if the CONBON Control code indicates a dual or single card and the container code is not entered.
If either the container code or the container quantity is changed, the following conditions must be met.
Container Code
|
Container Quantity
|
Blank
|
Blanks or Zero
|
Non-Blank
|
Valid Numeric or blanks or zero (if blank or zero, defaults to quantity on container master file)
|
(5) Change Configuration
If the standard routing default part, standard BOM default part, or reference routing part is changed, the new part must exist on the Part Master file and it must be a manufacturing order configured part in the chosen plant. Similarly, if any group or subgroup is changed, the new group or subgroup must be defined in the correct Reference File category (Y21, Y22, Y23, Y24, Y25, or Y26). These Reference File categories are plant specific.
A part must be Sales Order Configured before it can use Configuration Codes. Only Part Types 1, 2, 6, and 8 can have a Configuration Code Option of non-zero. Valid configuration Code options are:
Configuration Code Option
|
Number of Lots Used
|
Costing Type Used
|
0
|
Not Configured
|
|
1
|
Single Lot
|
Standard
|
2
|
Multiple Lots
|
Standard
|
3
|
Single Lot
|
Configuration
|
4
|
Multiple Lots
|
Configuration
|
Configuration Codes cannot be changed is inventory exists for the part. Configuration Code Options of 1 or 2 cannot be changed to 3 or 4 if the Previous Period Accounting Balance on the Configuration Code file (EC140M) is not zero. This is also true for changes from 3 or 4 to 0, 1, or 2.
If a part uses Configuration Codes it must also have a Template Code. This must be a valid Template Code from the Configuration Template Master (EC160M) and the part must be lot-controlled or lot-assignable. The part cannot have a production type of JIT if it is configured.
(6) Change User-Defined Fields
The literals for display on the screen are retrieved from Reference File categories D94, D95, D96, D97, D98, and D99. No validation is performed on any fields.
c. After validation is complete, the Part Master file is read for update. This record locking read prevents other users from updating this record. If, however, another user has updated this record since the transaction was initiated, an intervening update message is displayed. The detail change screen is reformatted with the new master file fields if the part number is still valid. If the part is not valid, the partial change screen is displayed with the part number error message.
d. For a purchased, manufactured, raw, build-thru or transfer JIT part, if new part setup or changing similar fields of the Part/Production Center Relationship file (JT160M), the part/production center relationship is updated. Also, a transaction image is recorded on the Part/Production Center Relationship Audit Trail file.
e. The part master net change flag (PMNCFL) and cost activity flag (OLFLG0) are reset when certain part master fields are changed. The part master net change flag is used by the Requirements Planning module. The cost activity flag is used by the Product Costing module.
(1) If any of the following fields are changed when the part type is not planned, reference, non-standard, or non-stocked the net change flag is set for re-planning (PMNCFL=2).
· IC Scrap Factor (RPSCRP)
· Issue Code (AISSCD)
· Planning Policy Code (MOPOC)
· Planning Policy Quantity (MOPOQ)
· Lead time Code (AMLTC)
· Fixed Lead time Days (MLTPU)
(2) If any of the following fields are changed when the part type is not planned, reference, non-standard, or non-stocked and the lead time code is variable (AMLTC=V), the net change flag is set for re-planning (PMNCFL=2).
· Setup Hours (MLTSU)
· Transit Hours (MLTQM)
· Run Units (MLTRH)
(3) If the Safety Stock Quantity (AMSSK) is changed and the part type is not planned, reference, non-standard, or non-stocked the net change flag is set for re-analysis (PMNCFL=1), unless it is already set for re-planning.
(4) If the part type is changed to planned, reference, non-standard, or non-stocked the net change flag is reset (PMNCFL=0) so that the part is not examined by requirements planning processing. If the part type was changed to build-through, the net change flag is set (PMNCFL=2) so that the part is replanned by requirements planning processing.
(5) If the Outbound Stock Queue Days (CZOUTQ) is changed, the net change flag is set for re-analysis (PMNCFL=1), unless it is already set for re-planning.
(6) If the potency flag or standard potency is changed, the net change flag is set for re-analysis (PMNCFL=1) unless it is already set for re-planning.
(7) If the part type was changed to purchased, manufactured, raw, or build-thru, the cost activity flag is set to recost the part (OLFLG0=1). If the part type was changed to planned, reference, non-standard, or non-stocked, the flag is reset (OLFLG0=0) so the part is not examined by product costing processing.
(8) If the part's consumption code is changed, the Net Change flag is set for reanalyzing (PMNCFL = 1), unless it is already reset for replanning.
(9) If the part's Target Inventory Days/Weeks field is changed, the Net Change flag is set for reanalysis (PMNCFL = 1), unless it is already set for replanning.
f. A warehouse balance is automatically created in the manufacturing company/warehouse via a call to IC225E (only if inventory control is installed).
g. The part master record is updated.
h. Report records are written to record data base activity. Transaction register and maintenance audit trail report records are written to the transaction files listed below.
Transaction Register
|
Maintenance Audit Trail
|
Description
|
DE100CP1
|
Description
|
DE100BP2
|
Distribution
|
DE100CP5
|
Distribution
|
DE100BP6
|
Control
|
DE100CP2
|
Control
|
DE100BP3
|
Planning
|
DE100CP3
|
Planning
|
DE100BP4
|
Productivity
|
DE100CP6
|
Productivity
|
DE100BP7
|
Purchasing
|
DE100CP7
|
Purchasing
|
DE100BP8
|
Configuration
|
DE100CP8
|
Configuration
|
DE100BP9
|
5. New Part Setup
a. This conversation allows the user to enter data on the addition screen and each change screen. The screens are automatically displayed in the following sequence: Addition (DE100S02), Change Distribution (DE100S03), Change Control (DE100S04), Change Planning (DE100S05), Change Productivity (DE100S06), Change Purchasing (DE100S08), Change Configuration (DE100S09), and Change User-Defined Fields (DE100S10).
b. Validation and posting are performed, as described above for the addition and change transactions entered. When the user enters valid data on the addition screen, the part/plant is added to the Part Master file. Each change transaction that follows is an update to that existing part/plant record.
6. Deletion
a. The Part Master Validation Delete program (DE102E) is called. Sourcing part/plant for a transfer part cannot be deleted if the transfer part is active.
b. The Part Master file is read for inquiry. If the part is active IZACD=*, the following conditions are verified.
Part does not have a Warehouse Balance file record.
Part does not have a Lot Control file record.
Part does not have a Product Structure file record and is not used in any product structure.
Part is not used in a routing.
Part is not used as a component in a manufacturing order.
Part is not on a sales order.
Part is not on a quote order.
Part is not on a manufacturing order.
A purchase order release does not exist for the part.
A purchase order line does not exist for the part.
A demand forecast record does not exist for the part after the current week start date with a quantity greater than zero.
A purchase requisition does not exist for the part.
Part is not used in a planned routing.
Part is not used in an item/vendor relationship.
Part does not have a tentative master schedule after the current week start date with a quantity greater than zero.
Part does not have a Projected Demand file record.
Part does not have a part/production center relationship.
Part is not used in a transfer requisition.
Part does not have a valid endorsement.
Part is not used in a transfer order.
Part does not have a configuration code.
c. If the part is eligible for deletion, a warning message is displayed, requesting the user to press the ENTER key to process the deletion.
d. The part is read for update and is logically deleted by updating the part's activity code to inactive status (IZACD=*). The part master net change flag is updated (PMNCFL=0) so the part is not examined in requirements planning processing. If the only records remaining for the part are tentative schedule or projected demand records with a quantity of zero or a week start date before the current week start date, then the records are physically deleted from the Tentative Master Schedule (MS160M) and/or Projected Demand files (MS150ML1). The part is physically deleted from the Part Master file only during the file reorganization process.
e. Report records are written to the Transaction Register (DE100CP1) and Maintenance Audit Trail (DE100BP1) files.
f. Deletion report
(1) The Part Master file is read to validate the part, and to make sure that the part is not inactive (IZACD=*)
(2) The Part Deletion Report program (DE570E) is called and the following parameters are passed:
(1) part number
(2) plant
(3) part description
(4) part type
(5) job control flag
(6) activity code
(7) abort flag
(8) output queue
(9) configuration code
(3) After the report is generated, control is passed back to DE100E and a partial screen is displayed stating that either the report was processed or that an error occurred on the call.
7. Reactivation
The following parts cannot be reactivated:
1. Active parts
2. Inactive transfer parts with inactive sourcing parts.
a. The part master record is read for inquiry. If the part is inactive (IZACD=*), a warning message is displayed, requesting the user to press the ENTER key to process the reactivation.
b. The part is read for update and is logically reactivated by updating the part's activity code to active status (IZACD=1).
c. Report records are written to the Transaction Register (DE100CP1) and Maintenance Audit Trail (DE100BP1) files.
8. Record locks that are unique to this program are described below.
Application Function
|
File
|
Lock Type
|
Reason for Lock
|
Change (all), Deletion, and Reactivation
|
Part Master (DE100M)
|
Update
|
To exclude other users from updating this record.
|
Deletion
|
Projected Demand (MS150M),
Tentative Master Schedule (MS160M)
|
Update
|
To exclude other users from locking records that are to be deleted.
|
Change Control, Change Productivity
|
Location Validation (DE140M)
|
Application
|
To prevent other users from deleting the primary stock, SIR, production, or relief locations for a part.
|
Change Control
|
Location Validation (DE140ML1)
|
Application
|
To prevent other users from deleting the SIR stock location of a part.
|