HI Imran,
To my knowledge it would work. However, not sure of your condition type settings and the related pricing procedure settings:
Please check again - The logic is :
4 ZABC 137 (Put Sub Total as "D") - The VALUE Gets Stored in XWORKD
30 subtotal of 5-10 117 (Put Sub Total as "E") - The VALUE Gets Stored in XWORKE
40 Net Profit 20 (Assign Calculation Type as "12")
- Difference between XWORKD and XWORKE
Regards