// Run this to manually process the AIF messages
static void DAXProcessAIF(Args _args)
{
// Inbound
new AifGateWayReceiveService().run(); // read the messages
new AifInboundProcessingService().run(); // process the messages in queue
// Outbound
new AifOutboundProcessingService().run(); // process messages in queue
new AifGateWaySendService().run(); // send messages
}
A blog (primarily about Dynamics AX/D365) covering topics like X++, AX for Retail, D365 Commerce, Trade and Logistics, retail concepts, warehousing, etc. Something for everyone. Grab bag blog for whatever I think would help out people in the Dynamics AX/Commerce/Retail community. The opinions expressed on this site are my own and do not necessarily represent the views of my company
Sunday, May 12, 2013
Manually process inbound and outbound AIF interfaces instead of using batch job
If you want to process inbound and outbound manually instead of setting up the batch job, you can copy and past the code below and click run to process everything. This has been used quite a bit by me and in several versions of AX so you should be good to go.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment