AIF Code Samples Available for Download
I have posted some AIF code samples on the MSDN Code Gallery that demonstrate calling a service class from X++.
AIF - Calling the Customer Service in Microsoft Dynamics AX 2009
This code sample demonstrates how to call the customer service from X++. This XPO contains a job that shows you how to call the following service operations from the customer service:
- read
- create
- find
- findKeys
- update
- delete
You can use these service operations to create a customer, read a customer record, delete a customer and so on from X++.
AIF - Calling the Vendor Service in Microsoft Dynamics AX 2009
This code sample demonstrates how to call the vendor service from X++. This XPO contains a job that shows you how to call the create service operation and create a vendor.