Code Execute AIF Batch Job in MSD axapta

You can Execute AIF Batch Job in axapta just you need to paste following code to check for the same.

 AifInboundProcessingService _AifInboundProcessingService = new AifInboundProcessingService();  
 AifOutboundProcessingService _AifOutboundProcessingService = new AifOutboundProcessingService();  
 AIFGatewaySendService _AIFGatewaySendService = new AIFGatewaySendService();  
 AIFGatewayReceiveService _AIFGatewayReceiveService = new AIFGatewayReceiveService();  
 ;  
 _AIFGatewayReceiveService.run();  
 _AifInboundProcessingService.run();  
 _AifOutboundProcessingService.run();  
 _AIFGatewaySendService.run();