Hello everyone,
in my add-on there's a function which adds some changes to a "Sales Order" or a "Sales Quotation" once the user click "ok" after adding items.
But my function only works if the "Discount%" field is activated in form settings. Otherwise the add-on crashes. My question is, how can I check if the "Discount%" is activated in the form settings? If I can check that, I can display a message asking the user to activate the field before using the function again.
the add-on is coded in C#
Thanks in advance!