i want to write discount field in sales order
wot is the field name of Discount
What discount you mean to enter? The question is not at all clear. What do you mean by entering into a SO?
There is no relation between the heading BOM & your question.