If you enter a customer order and it has a linked purchase order and it gets removed, you need to be able to relink it.

On the customer enquiry -> outstanding orders, you can see the order is unlinked from the purchase order.

You need to go to each item on the customer enquiry and link it

Fields you need to check

supplier - record number of the supplier for the purchase order pordno - this should be entered

flag2 - this should be a 2 for a purchase order or 32 for a suggested order -

pordline