惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
B
Blog RSS Feed
博客园_首页
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
D
Docker
Blog — PlanetScale
Blog — PlanetScale
M
MIT News - Artificial intelligence
C
Check Point Blog
The Cloudflare Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
量子位
The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
T
The Blog of Author Tim Ferriss
博客园 - 【当耐特】
Vercel News
Vercel News
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
博客园 - 司徒正美

博客园 - cloud

将博客搬至CSDN Microsoft Dynamics CRM 解决数据大于5000时,页面上只能导出5000+数据。 AX7 VM can not starting AX3空Invoice明细问题 Solution to “VirtualBox can't operate in VMX root mode” error in Windows 7 Inventory of the materials to teach you how to query a date certain combination of dimensions How to Debug Enterprise Portal Code in Dynamics AX 2009 Axapta 3 COM Connector AX 与Citrix打印机问题 SQL语句转摘 AX2012 R2 打开EP站点时提示503 Service Unavailable错误。 AX2012 R2安装 AX3在window8下兼容性 转:Configure system accounts-AX2009 转:Workflow iPhone Application 转:Dynamics AX2009 Workflow – Checklist-Mail alert 转:AX 2009 Workflows: A Quick overview 转 Request for the permission of type 'InteropPermission' failed. Dynamics AX2009 Report step by step
AX ERP 真正的自动批处理
cloud · 2014-04-01 · via 博客园 - cloud

AX real batch job- AX ERP 真正的批处理

在AX3标准功能中,自动化任务是利用Batch来进行自动化处理任务,标准功能的局限是无法真正做到无人值守。比如服务器重启,必须手动去开一个Client,然后手动去执行Batch Job。 如何可以真正做到自动化,就需要利用到AX的本身机制和windows的服务机制,也就是说需要2方面的设置。

  1. AX的配置启动

主要利用AX的客户端配置工具,使用startup来自动处理Batch任务

a)        利用 AX configuration utility 了增加startup command

 

b)        增加JOB

 

c)         利用AX的默认类处理配置文件的代码

 

增加Class来处理

 

现在如果手动启动AX客户端,Batch Job会自动处理界面运行,说明第一步成功。

  1. Window Service创建和启动

利用微软工具SrvAny,可以给windows 创建任意服务,具体过程请Google,此处省略

 

当然国内也有牛人创建了图形化界面srvanyui。

 

同时我也省略了AX的用户创建,大体就是AX创建一个单独处理批处理的用户组和用户,NT集成认证的的AX ERP系统中,在service启动中也用此用户启动。

这样就完成的AX的自动批处理服务。Windows重启,services也会自动运行,AX的批处理就可以做到无人值守。