Hi Team,
We have a scenario where we need to update a column of a table across all the tenants during publishing of the package from any of the Tenant.
Is it possible to Achieve this? if yes can you please share us the code sample.
Thanks in Advance.
Update data from one Tenant to another Tenant
Best answer by Marco Villasenor
Hi
If you need finer control, you can write a CustomizationPlugin
class that overrides the UpdateDatabase
method to perform the update through code. Here is an article with an example for this option: https://www.acumatica.com/blog/customization-plugin-packages-configuration/
Please note that you may need to use PXLoginScope to perform operations between tenants. Here is more information about scopes: https://asiablog.acumatica.com/2015/11/using-scopes-in-acumatica.html
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.