Hello, Everyone,
(GREEN COLOR) I have done a development that allow to track the sales order related to every G/L entry, it is done by a Code Unit (IT ONLY WORKS WITH THE NEW G/L ENTRIES)
but I need to update all the historic data to be tracked, so I am trying to do it by ETL or manually, nevertheless when I edit (RED COLOR) it saved but after a while is deleted, no error is shown
We think it might be due to the permissions set in a direct edit, but we don't know how to change it.
Do you have any idea or something may be useful?
Best Regards,
Nicolas Payan
Hi, I think you can create a codeunit for batch processing, and then give Codeunit permissions, as Inge mentioned.
Here is an example from codeunit 80 "Sales-Post".
Hope this helps as well.
Thanks.
ZHU
You need to set explicit permission in the object you use when you are performing your update. Here are documentation with examples:
Hello, Bilal,
It is kind of wear, because when I change the Description field it let it change
Regards,
Nicolas Payan
Hi,
I think your understanding is right that it is a permission issue. Indirect permission means that this user can indirectly do the operation (means using some codeunit/report which has permissions and these permissions we explicitly give using Permissions property).
Try to give this user direct permissions.
Otherwise, you can try to use some codeunit / report by giving it enough permissions.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156