Bad link between Order release and Buy To Order PO

I have a PO with a Buy To Order line that is linked to the SO line, but the vendorID info in the SO release is missing.

This is preventing me from making changes to the PO, as I get the following message (in PO entry)

I’ve tried deleting the PO line, but get the above error.

I thought about using DMT to slip in the VendorID into the OrderRel table, but I’m pretty sure that would fail as DMT uses the the same business logic.

Anyone know how to fix this?

Instead of deleting the PO Line, try changing the Sales OrderNum to 0 on the release. Save the PO then Re-enter the correct OrderNum, OrderLine and OrderRel numbers on the PO Release. Not sure if this will get past the error as I can not recreate the issue.

DMT will update the Vendor on the Sales Order Release. Did this last week when I had this same error.

I did not make any attempt to figure out why this error shows in the first place, thought it was a one off error.

1 Like

That worked.

I guess in the future I’ll try things instead of just assuming they won’t work. :slight_smile:

I ran a query of OrderRel where PONum <> 0 and VendID = 0, and a found a few more instances. Some were on orders and PO’s that were already closed, one was another open line.