Creating sales order from the customers in submitted state

On submitting the doctype(Order Book), sales order should be created from the customers in submitted state.
how can i do it?

someone got a solution on it ?

Hi @asinghdxc
You have to write hooks for that & some condition for submitted state.
Plz go through this link