We have a situation, wherein when the user tries to generate an Invoice on a Purchase or Sales order, we fetch a line discount from somewhere and put it into the Line discount field on the invoice lines.
For a Purchase order invoice line, the Discount field is visible on the invoice lines. But for a Sales order invoice, the invoice line does not seem to have that field
1. Any reason why?
2. Also, even if the field itself is not visible, is it possible to make sure that the invoice line has a Line discount calculated, and posted with the sales invoice? This would be at the time the invoice is being generated or just before clicking on Post
3. If not, any workarounds? However, being able to accomplish #2 would be the best
PO invoice

SO invoice
