21 Revise the Status of a Work Order

This chapter contains these topics:

21.1 Overview

You might want to remove from the system any work orders that are no longer active or that have been completed. In order to maintain records of the work orders and their progress, you should close the orders before you delete them. This ensures that quantity information in the Inventory Management system and manufacturing accounting information is traceable after you delete the work orders.

You can remove work orders that you no longer use in one of the following ways:

Method Description
Change the status of work orders to "closed" When you change the status of a work order to "closed", the system identifies the order as inactive, but does not delete it. This is the recommended way to de-activate a work order. This method enables you to keep complete historical records on the work order and its associated costing and accounting transactions.
Delete work orders When you delete a work order, the order is removed from the system entirely. If the work order has been transacted, you should ensure that manufacturing accounting has been run against the order before deleting it. If you delete the work order before running manufacturing accounting, journal entries may be lost.

If the quantity completed on the work order is less than the quantity ordered, the system removes the remaining quantity from the Quantity on Work Order field in the Item Branch Location table (F41021) when you delete the order.

Purge work orders When you purge work orders, the system deletes the orders based on their status code. You can choose to save the purged records in a separate file. Saving purged records lets you determine whether they contain information you want to retain after you delete the work order.

You can also delete a Lot Serial Number master record when a work order for a serialized parent is purged.


This section contains the following:

  • Changing the Status of a Work Order to "Closed"

  • Purging a Work Order

21.1.1 What You Should Know About

Topic Description
Reporting quantities If an order is in process, JD Edwards World recommends that you report completed and scrapped quantities against it before you delete it.
Deleting an order Before you can delete an order from the system, you must first delete the parts list and routing instructions attached to the work order.

You cannot delete a work order if:

  • The order number is used as a subledger number in the Account Ledger table (F0911).

  • The work order is a parent order to other work orders.

  • Ingredients have been issued to the work order.

  • Labor has been reported against the work order.


21.2 Changing the Status of a Work Order to "Closed"

Navigation

From Shop Floor Control (G31), choose Process Daily Order Preparation

From Daily Order Preparation - Process (G3113), choose Enter/Change Order

To close a work order without deleting it from the system, you change the status of the order.

To change the status of a work order

On Enter/Change Order

Figure 21-1 Enter/Change Order screen

Description of Figure 21-1 follows
Description of "Figure 21-1 Enter/Change Order screen"

Complete the following fields:

  • Order Number

  • Status

21.3 Purging a Work Order

Navigation

From Shop Floor Control, enter 27

From Advanced Shop Floor Control (G3131), choose Purge Orders

Work Order Purge is a batch program that deletes selected work orders from your system. The system purges the selected work orders and their associated information from the following tables:

  • Work Order Master (F4801)

  • Work Order Instruction/Disposition (F4802)

  • Work Order Parts List (F3111)

  • Work Order Routing (F3112)

  • Work Order Time Transactions (F31122)

When you purge work orders, you can:

  • Purge unlimited work orders based on their status codes

  • Automatically delete associated parts lists and routings

  • Save the work order information in a special purge file

21.3.1 Before You Begin

Complete the accounting for the work orders you intend to purge before you purge them from the system. See Working with Work Orders in Accounting in the JD Edwards World Product Costing and Manufacturing Accounting Guidefor information on how to complete the accounting.

21.3.2 What You Should Know About

Topic Description
Naming saved purged records Set the processing options to save the records you purge in a special purge library. The system names this library JD Edwards World followed by the current system date (without separators). For example, if you purge the records on January 1, 1998, the purge library is named JDE010198. The system creates a physical file with the same name within that library. If you purge the same file multiple times on the same day, the system adds the purged records to the records already in the purge file for that day.
Reorganizing files Set the processing options to reorganize your files after the purge is complete. Reorganizing the files redistributes the remaining data so that your disk space is more efficiently used. The files you want to reorganize cannot be in use elsewhere on your system, but must be exclusively allocated to the job performing the purge.

If you submitted a reporting feature version of the purge program using a logical file build rather than OPNQRYF, the logical file built over the purged file is included in the reorganization. This might increase the time required to perform the file reorganization.

Using OPNQRYF If you use OPNQRYF to select records to be purged, you must specify at least one field in data sequencing and set the Delete field in additional parameters to Y for the reporting feature version that you use.

21.3.3 Processing Options

See Section 35.23, "Work Order Purge (P4801P)"