Running x++ scripts and jobs in an environment with 0 downtime
This blog post is about exploring the new Microsoft feature that allows you to run X++ jobs on PROD and non-PROD environments without release and with 0 downtime. In 10.0.25 you can run simple X++ scripts on a production environment without any downtime. This feature lets you run custom X++ scripts without having to go through Dynamics LCS or suspend your system. Therefore, you can correct minor data inconsistencies without causing any disruptive downtime. To be able to use this feature you need to create a deployable package with ONLY ONE runnable class in it. To do this, you can create a new model and reference the models which object you will use in the X++ script. Dynamics365->Model Management -> Create Model Ex: CutomModel Then create the runnable class and generate a deployable package from Visual Studio only with your new model that has only one runnable X++ class. class SLWrongVendorRunnableClass { ...