Discounts in AX 2012 Retail

Hello All,

I have following scenario in AX 2012 Retail which needs to be implemented on POS machine.

If the total invoice amount is 1500, then Item A would be given as free/100 % discount.

whereas if Item A is purchased independently it should take the original price in POS system.

How to implement this?

Please help.