Setting Up User-Defined Codes

User-defined codes (UDCs) are stored in tables by system and code type. For example, system 30, type TB represents JD Edwards EnterpriseOne Product Data Management (system 30) and time basis code (TB). To set up UDCs, use the User Defined Codes program (P0004A) to identify the codes to use. If you are working in a program and attempt to enter a UDC that was not defined on the User Defined Codes form for a particular UDC table, the system displays an error message.

This table lists UDCs that are primary to the JD Edwards EnterpriseOne Product Data Management system:

User-Defined Code

Description

Bill Type (40/TB)

This code indicates the type of bill of material, such as manufacturing bill, rework bill, and spare parts bill. Regardless of the other bill of material types that you define, only the standard manufacturing bill (M) is planned and costed. A planned bill of material facilitates the master scheduling of material planning and forecasting. A costed bill of material extends the quantity per amount of every component by the cost of the components.

Time Basis Code (30/TB)

This code indicates the rate that is used for machine or labor hours as you enter a routing instruction.

These programs and systems use the value of the time basis code to determine run time per unit:

  • Leadtime Rollup program (R30822A)

  • Product Costing

  • Capacity Requirements Planning

  • Shop Floor Management

(Release 9.2 Update) Time Basis Code 0 is hard-coded and is used to enter fixed machine run hours and labor run hours in a work order routing.

Stocking Type Code (41/I)

This UDC table maintains stocking type codes that indicate whether an item is purchased or manufactured. For example, you can define types such as subassemblies and purchased raw materials.

M (manufactured) and P (purchased) are hard-coded and appear as the first character in the Description 02 field on the User Defined Codes form. You can use any other letter to define additional make and buy values.

Routing Type (40/TR)

This code indicates the type of routing instruction, such as alternate routing instruction, standard manufacturing routing instruction, rush routing instruction, and rework routing instruction. Regardless of the other routing types that you define, only the standard manufacturing routing (M) is planned for capacity and costed.

Type of Day (00/TD)

This code specifies the type of day on the shop floor calendar. Day type W is hard-coded for workday. You set up codes to identify non-working days.