Hi everyone, does anyone have any workarounds to c...
# suitescript
g
Hi everyone, does anyone have any workarounds to creating an intercompany Sales Order via scripting/Rest Web Services? Everywhere I've looked online (and tested myself) shows that you cannot do this and have to use the Manage Intercompany Sales Orders Page. Our company is in the process of implementation and not only do we have hundreds of historical Intercompany PO/SOs to import and link, we will have many that we need to continue to create. For multiple reasons, we need arm's length transactions between subsidiaries, and all of this data is coming from external systems.
I was able to create the PO, then after manually generating the SO, I could create the IF, IR, Bill and Invoice all via scripting. Another thing I wanted to ask as well: In a suiteanswers article I saw that you cannot pair the intercompany Bill and Invoice if you are using the PO/SO workflow. Is that the case? Can you only pair them when they are standalone records?
b
You’re right, creating an Intercompany Sales Order directly through SuiteScript or REST Web Services is not supported in the same way as a normal Sales Order. NetSuite requires the Manage Intercompany Sales Orders process because it creates the required relationship between the originating Purchase Order and the generated Intercompany Sales Order.
b
Pay attention to the links in the Create Manually column of the
Manage Intercompany Sales Orders Page.
The parameters in the link are default values that you can use while creating the sales order. If you don't see any clickable links, then you need to manually create an intercompany purchase order that uses non inventory items. Manually creating sales order is only supported for non inventory items, though under certain cases you get it to work for other items using suitescript. Expect to master manually created intercompany sales orders before trying to get it to work in suitescript, there are only unexpected errors if you do it wrong.
g
@battk I'm not quite sure I am following what you mean? I don't see any links in that column it just says the text "Sales Order". The sales order that was generated from the page shows the correct information mirrored from the purchase order.
b
Follow the directions I gave for if you dont see any links in that column