My problem is when I override the discount on one line item am not able to tell the ERP via the API to not apply the discount set on the item in ERP.
I know there is a way to override the discount on the entire invoice by setting the ignore_pricing_rule =1. however, this will remove the discount for the other line item.
Hello Everyone,
After getting some sleep and think about this some more, I finally figure it out.
If you set in the ERP ignore the pricing rule and create the invoice from the API the ERP will not apply discounts. However, if you are creating invoices in the ERP you will need to manually give discounts to your customer. In my case this is not any issues because the invoices are created in the POS with automatic discount and upload to the ERP.
But I would still need to know how to ignore line item discount without using the global setting in POS profile.