I want to remove duplicate data from the Sales Order list and want to write only once. Anybody can help me with this?
what exactly is this duplicate data ?
If your question is about disallowing duplicate items from the Sales Order Item table, disable this option in Selling Settings
Allow Item to be added multiple times in a transaction