title: Access SAP B1 Form settings programmatically?
body: <p>In my SAP add-on there's a function which adds some changes to a "Sales Order" or a "Sales Quotation" form once the user click "ok" after adding items.</p>
  
  <p>But my function only works if the <code>Discount%</code> field is activated in form settings. Otherwise the add-on crashes. </p>
  
  <p>How can I check if the <code>Discount%</code> is activated in the form settings? </p>
  
  <p>If I can check that, I can display a message asking the user to activate the field before using the function again.</p>
  
  <p>The add-on is coded in C#</p>
  
  <p>Thanks in advance!</p>