How would I go about automating the "create PO" on...
# suitescript
n
How would I go about automating the "create PO" on a special order item from a SO?
b
whats the reason the special order item checkbox isnt working out for you
r
If you want to create it via a script you can use this to create the record:
record.create({
type: record.Type.PURCHASE_ORDER,
isDynamic: true,
defaultValues: {
soid: salesOrderInternalId,
specord: true,
custid: salesOrderEntityId,
entity: vendorInternalId,
poentity: vendorInternalId,
},
})
n
awesome thanks
I want to automate the intercompany SO/PO process