Hi Ragnhildur, POS shows "Manager login" form for you, because you configured 'Manager' permission for 'Discount' operation - this means, cashier will always need to enter manager credentials to apply any discount (even less than 15%). But this "Manager login" does not change disc. percent limit - it only allows any discount operation to be executed. So if you need to implement the following scenario: 1) Cashier enters 10% discount -> discount is applied without any Manager credentials; 2) Cashier enters 20% discount -> POS asks to enter manager credentials. If manager credentials are entered => discount is applied. You can do the following: 1) remove permissions from Discount operations: 2) Modify Discount project of POS SDK as described in the article you attached to question. This is POS code change, not AX. Changes will be in Discount project from Retail SDK in the following methods: AuthorizeLineDiscountAmount(); AuthorizeLineDiscountPercent(); AuthorizeTotalDiscountAmount(); AuthorizeTotalDiscountPercent(). Regards, Oksana
↧