I've been asked to create a script that import dat...
# general
s
I've been asked to create a script that import data from a txt file and create SO. All items are non inventory items. I don't see any issue to do it. However, they asked to create the invoices after the SO is created. Because they are not inventory items, I will not launch the Shipment, this not item fulfillment Will it be possible to generate the invoice from the SO (without shipment) ? Thanks in advance
n
try in the UI?
s
What I simple solution... I should have tested it first. Shame on me. I just did it and I've learned a lot. I didn't know that I still have to create the item fulfillment and the shipped, etc.. Thanks a lot
m
You don't have to have an item fulfillment to make an invoice from a sales order. In script you can do a record.transform from a sales order into an invoice.
s
👍
m
You can even automate this with a workflow after the SO is created.