Once a sales order is created, i need to create a ...
# suitescript
v
Once a sales order is created, i need to create a customer deposit with the values from the SO. i need to use the afterSubmit. could anyone please help me how it should have the logic?
e
Could you ask your question with more detail? Not sure what you're asking. I don't believe you can do a record.transform() on that type. You would need to to do a record.create() with type of CUSTOMER_DEPOSIT.
v
yes i believe i need to do a create . but what is before that creating a customer deposit?