Contents tagged with Automation Schedule
here I want to document new scope in Acumatica: PXImpersonationContext.
As often is the case try to look at presented code:
var thr = new Thread(
using (new PXImpersonationContext(PX.Data.Update.PXInstanceHelper.ScopeUser)).
foreach (var thread in threads)
take a loot at the following picture:
Let's say that you would like to have two Acumatica instances connected to the same database. Is it possible? Definetely yes, just with pointing both of them to the same connection string and you'll get some kind of scalability.
But imagine that your Acumatica has execution of some automation schedules. How to make sure, that only one of them will be executor of Automation schedules, not both of them?
Very simple. Just add this key to web.config of Acumatica which should not be Automation schedules executor:
<add key="DisableScheduleProcessor" value="True"/>
Default value of DisableScheduleProcessor key is false, so you need … more
today I want to describe interesting feature of Acumatica related to back ups of database. Imagine the following: you've restored database from back up at your dev environment. And let's say you have automation schedule that every hour you should send to each contact some emails. So, you've restored customization and would like to find the button that will block sending of all emails. At which screen it is? At none. It is interesting to know, that Acumatica already "pressed" at this button when you've restored db from back up. But for now you probably have another question. How to debug execute any schedule at all?
I propose following steps:
Delete all automation … more