Does this help? It's 3.71 but might be the same thing:
Subject:
Error 47 SOWJAA 1150, when updating the Sales Journal
Possible Resolution:
Delete the invoice causing the error from the SO5 and SO5 batch files as necessary.
Note: Use caution when working with repair utilities. Always make a backup first. If necessary, seek the assistance of a qualified Sage Software business partner or Customer Support analyst.
Generate the Error and select Debug.
Type ""? A$"" (no quotes) and then press 'Enter'. The invoice number that is causing the error should appear.
Type ""Bye"" and then press 'Enter' to return to Sage MAS 90.
Open Library Master / Repair / Data File Display and Maintenance.
Select SO5xxx.SOA (xxx = company code).
Delete the invoice returned in the step above. Also delete the invoice from the batch file SO5xxxxx.SOA (xxxxx = batch number), if batches are used.
Rebuild the Sales Order sort files.
a) Open LM / Repair / Rebuild Application Sort Files
b) Select Sales Order
c) Click 'Proceed'.