on 01-29-2016 8:14 AM
Hello everybody!
I have an add-on programmed in c# for SAP B1. During the start-up of the add-on it checks for
some UDFs and if they don't exist it creates those tables. But my question is even the times
these tables exist, the following system message appears after the start-up of the add-on.
Which doesn't make any sense. Because the add-on didn't make any change to the database. Is there a way
that I can avoid this message and just display only in case of actual modification in the database?
Any help would be highly appreciated!
Hi Isuru,
The message only displays when you attempt to create or update fields. Even if there are no changes but an Update is called the message displays.
Make sure that you don't invoke Update or Add on the UserFieldsMD, UserTablesMD, etc... and the message should not display.
In any case there is a way to suppress the message. Application.MetaDataAutoRefresh controls the refresh of the meta data which triggers the pop-up.
The SAP Business One auto-refresh mechanism checks for changes in metadata, such as adding user-fields and user-tables.
When a change is detected, the application displays a notification form. This form can cause problems to add-ons that rely on many metadata changes.
During the interval between the property is false until it is true, refresh of the metadata is not possible.
There is more information in the SDK Help Center.
<
Best regards,
Pedro Magueija
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.