Hi Irfan,
Created to UDF on the header so that when update the WH in the header it will update the WH on the line items automatically.
Once you update the WH all changes on the lines on the Production Order,it when add an additional line with no item but warehouse code and then i get the error mentioned above.
Kind Regards,
Izak