If selected unit is "Base Unit" (e.g. Pcs, Kg etc )input unit rate.
E.g. If 1case= 6 outer, 1outer = 12pcs.
Total number of Pcs = 6x12.
And the Discount & scheme calculations following this;
Discount % amount;
Discount % amount = Gross Value * Disc%
Discount Total = Discount% amount + Discount amount
Scheme % amount;
Scheme% amount = Taxable amount * Scheme%
Scheme total = Scheme% amount + Scheme amount
Line Total = (Taxable Amount + Tax Amount) - Scheme Total
Tax Amount = Taxable Amount * Tax Config%
Selling rate = Landing cost + (Landing cost * sales margin%)