Error 40 SOWUAE 12180, during Sales Journal update after invoicing a sales order
Entry Type: Program Issue
Product: Sage MAS 90 ERP, Sage MAS 200 ERP, Sage MAS 200 ERP - SQL Server Edition
Application: Sales Order Processing
Version Reported: 3.71
Status:
Resolved with program fixes SO3106-T and RA3006-T for Sage MAS 90 or 200 versions 3.71 and 4.00.
Notes:
* The error may still occur if Sale Order Quote/History lines are out of sync with sales order lines from causes other than what is resolved by these program fixes. A utility is available in Sage MAS 90 and 200 4.10 to resync the lines. If an upgrade is not available, use the workaround below.
* Sage MAS 90 and 200 4.05 include the files from these program fixes.
* The program fixes affect only orders created after the fixes are installed.. Existing orders may continue to receive the error, use the workaround below to resolve it.
* SO3106-T prevents the issue only for transactions created in Sales Order. RA3006-T prevents the issue for transaction created in RMA.
Subject:
Error 40 SOWUAE 12180, during the sales journal update after invoicing a sales order that was created in Sales Order Entry or from RMA (through Cross Ship), and adding a comment to the order.
Steps to Duplicate:
In ABC company:
1. Enter an RMA return for any customer
* Customer action = Replace
* Add one comment line, and apply the comment to "All".
* Add one inventory item, and select "Repair" as the item action.
2. Generate the transactions. This creates a sales order.
3. Open Library Master / Repair / Data File Display and Maintenance (DFDM).
4. Select SO_04abc.soa.
5. Verify that both lines exist for the generated sales order.
* The comment line should be sequence number "0".
* The inventory item should be sequence number "1".
6. Open Sales Order / Main / Sales Order Data Entry, and select the sales order generated above.
7. Add another comment line below the inventory item, and click 'Accept'.
8. Open DFDM and select SO_04abc.soa again.
9. Note that only two lines exist for the order. Also, note that both are "Comment" lines. The inventory item in SO_04 is overwritten.
Expected Behavior:
Sales orders should append comments to the quote history files and not overwrite existing lines.
Possible Workaround:
Notes:
* Use caution when working with the following task. Always make a backup first. If necessary, seek the assistance of a qualified Sage Software Customer Support analyst.
* The error message should provide a key (for example, 00075860000000004). This key is from the Sales Order History Line Detail File (SO_04), and represents the order number and line sequence number. If the error did not provide a key, click 'Debug' on the error window and perform the following:
1. Type "? SO_04$(1,17)" (without quotes) and press ENTER.
2. Note the returned key from SO_04.
3. Type "BYE" (without quotes) and press ENTER to close 'Debug' window.
Sage MAS 90 and 200 (See below for Sage MAS 200 - SQL Server Edition):
1. Open Library Master / Repair / Data File Display and Maintenance (DFDM).
2. Select SO_04xxx (xxx = company code).
3. In the 'Key' field, type the 17 digit number from the error message or 'Debug' step above and press ENTER.
4. Click the 'Edit' button. Enter the Field number as "10" (without quotes) and press ENTER. In the 'Change' field, the number must be one or greater. This field is the sales unit of measure conversion factor which must be greater than zero. Enter "1" (without quotes) in the 'Change Data' field.
5. Perform the following steps only if the record is an inventory item. Skip the following steps if the key was a "/C" comment line.
6. Still in DFDM, select IM1xxx at the 'File Name' field (xxx = company code). Press ENTER.
7. Click 'Keyscan', and select the item number that was corrected above.
8. Click 'Edit'. In the 'Field number', type "5" (without quotes). Press ENTER.
9. In the 'Change' field, the number must be 1 or greater. This field is the sales unit of measure conversion factor which must be greater than zero. Enter a "1" (without quotes) in the 'Change Data' field, and click 'OK'.
10. Close DFDM, and start the update again.
Sage MAS 200 - SQL Server Edition:
From the debug window:
> ? SO_04[8]
Note: If this returns 0, this the problem line.
>LET SO_04[8]=1
Note: This changes the value from 0 to 1.
>? SO_04[8]
Note: This verifies what the value is now.
>GOTO 12180
>? 'POP';RUN
Repeat these steps for every record that errors, to complete the update. Should get the Sales Journal Update Register prompt next.