/
Purchase Order Line Not Found when opening GRN
Purchase Order Line Not Found when opening GRN
Problem
The user has opened a GRN and the following error occurs "Purchase Order Line Not Found".
This may occur when some or all of the lines on the open GRN have been deleted from the linked PO.
Solution
Run the following SQL script to fix the link between the GRN and the PO.
UPDATE RE_Lines SET OrderLineID = '' WHERE RE_Lines.OrderLineID NOT IN (SELECT OrderLineID FROM PO_Lines) AND RE_Lines.OrderLineID IS NOT NULL AND LTRIM(RTRIM(RE_Lines.OrderLineID)) <> ''
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.Related articles
Related content
Deleting a line on a sales order credit note errors on Total of SO_LineDetails.Quantity
Deleting a line on a sales order credit note errors on Total of SO_LineDetails.Quantity
More like this
Archiving sales orders errors
Archiving sales orders errors
More like this
Unactivated GRN Reversals appear incorrectly in the Transaction History tab of inventory
Unactivated GRN Reversals appear incorrectly in the Transaction History tab of inventory
More like this
Debtor Child sales orders do not appear in the Parent / Head Office account - 7.00.175 SR10 and prior
Debtor Child sales orders do not appear in the Parent / Head Office account - 7.00.175 SR10 and prior
More like this
Changing the status of a purchase order to Closed when all lines are received/booked in
Changing the status of a purchase order to Closed when all lines are received/booked in
More like this
Error adding line to Warehouse Purchase Order "Could not find an inventory item with inventoryID of 'nnn'.
Error adding line to Warehouse Purchase Order "Could not find an inventory item with inventoryID of 'nnn'.
More like this