Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Check form settings programmartically

$
0
0

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!


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>