- In NS, after a SO was already created, on each line item, there's an option to "Drop Ship" this specific line item.
- If you click on the "Drop Ship" link, it will create a new PO and when you save the PO it will automatically be linked to that SO line item.
- I'm trying to create a Celigo flow that would do the exact same thing
- Export SO's that we want to dropship from a saved search
- For each line item, create a linked PO.
- I am able to export the SO's and create the PO's but they are not linked.
- How can I link the PO to the SO line item?
@chaimpaperman the answer is pretty similar to this post: https://connective.celigo.com/t/create-created-from-linked-work-order-in-netsuite-for-special-work-order-line-item-on-sales-order/276.
You can't link without using the native button. So you will either need to use the native button or create a custom field on the transaction line that is linked to the PO.
Thanks. I was able to get it done with a suitescript and I was able to get it done using the API via postman, a bit baffled that Celigo can't handle this.
@chaimpaperman like you are able to create a PO, not using the button or checking the box, and then go link it after the fact? Mind sharing your suitescript?
Yes, that's correct.
Created the SO from the UI.
Then created a suitescript that created a PO for a line item on an existing SO.
The script I used was based on what I found here https://stackoverflow.com/a/76297878/1965415
@tylerlamparter yes - I tried that