Request is when using the Create Purchase Document from a Sales Order, the Unit Costs that populate are all zero. The Unit Costs come from the Last Direct Cost of the Item, which I have entertained setting all to zero in the above thread.
I have added code to Page 1328 (Purch. Order From Sales Order) so that when the Quantity is entered/updated, it sets the Line Unit Cost to zero.
However, if the Vendor field (which is the Name, not No.) is selected/changed after the Quantity is entered, the Unit Cost is changed back to the Item.LastDirectCost.
Looking for the correct coding to change the Unit Cost to zero when the Vendor is updated.