How to switch off 'Would you like to save changes?' message
I am developing AddOn that has form of control type. This means some parameters can be specified (so editing mode must be on) but the data in database are never changed.
So standard message that SAP B1 displays ( 'Would you like to save changes?' ) when closing form is useless.
Please tell me how can I switch off this message.
Pedro Magueija replied
As @Ad Kerremans pointed out this is not possible, however if the item is not used to change the database you can set the AffectsFormMode property to false. This means that any change to the item will not change the form and B1 will not present you with message about saving the data (as it cannot detect that changes were made).