@mattdahse The problem is that I need to connect the Bill lines from multiple POs using code. Currently, I use a transform to create a Bill and the lines are connected to the PO, but now I need to create a Bill with lines from more POs. When I create a new Bill and I add the lines, the Billing quantity is not updated in the source POs.