On the error window:
- Click Info, Debug.
- Enter the following commands and note their returned values:
- ? WOS$(1,7)
- ? WOR$
- ? WO1$
- Open Library Master, Utilities, Data File Display and Maintenance.
- Browse to ...MAS90\MAS_xxx\WOxxx\WORxxx (xxx = Company Code).
- Click the Key Scan button, locate the records returned from step 2.
- Select record and click Delete.
- Open Library Master, Utilities, Analyze and Relink Files.
- Select Work Order from the Module drop down, enter Company Code.
- Select WOS, click Proceed.
- Open Library Master, Utilities, Rebuild Sort Files.
- Select Work Order from Module drop down.
- Enter Company Code, click Proceed.
- Click Yes to the message, "Would you like to recalculate Open Work Order Quantities in the Inventory Masterfile also?"