It's hard because I don't fully understand how the item is set up and thus how to replicate this problem, I only know that it is a problem that I need to solve. But basically it seems to be a Kit item with 2 child items (this is not the only item with this problem, but it's one that I'm focusing on for now). The SO has all 3 line items (the top level and child items) but the generated PO only has the 2 child items. These two child items are what need to be on the IF as well. In the UI, when I click "Mark Shipped" on the PO, it works as expected and the two child lines from the PO are generated on a new IF. However in suitescript, when I transform the SO into an IF, only the top level item is on it