¿Cómo puedo ejecutar código personalizado cuando el servicio AOT se inicia en el servidor en MS Dynamics AX?

StackOverflow https://stackoverflow.com/questions/1221505

  •  10-07-2019
  •  | 
  •  

Pregunta

Necesito desactivar algunos trabajos por lotes cuando se reinicia DAX. ¿Cómo puedo lograr esto?

Nota del autor: Esta es probablemente una pregunta de programación X ++ y no configurable.

¿Fue útil?

Solución

Agregue sus instrucciones en Application.startupPost () :

if (new Session().clientKind() == ClientType::Server)
{
   this.fuzzyTheBatchJobs();
}
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top