Discussions
Transforming a PO to a Bill
Hi
I'm trying to transform a PO to a Vendor Bill (Advanced Receiving is off) in a server script. The transform returns a bill and when I submit it the bill is created. The new bill, however, is not linked to the PO in any way - the PO does not appear on the bill's history tab and the PO does not show the items as being received.
Am I missing something? Are there any fields I need to set on the transformed bill in order to establish the link to the PO? I'm not touching the orderdoc or orderline fields - in fact I can see that these are populated correctly in the bill prior to submitting it.