Get list ids of inserted Sales Orders through AIF

Hi All,

How can we retreive Sales Ids which are imported into Ax using AIF?

Please help me.

Thank you

You didn’t tell us much about what you’re doing. If you’re calling create operation through a web service, you get AitEntityKeyList as return value.

We are importing sales order using File system adapter into sales order tables. Then after that we need to invoice the sales orders using sysoperation framework . I need to invoice only those sales orders which are created by AIF and not the others.

Don’t make it more complicate than necessary. Set a value to an order field (e.g. SalesOriginId) to distinguish orders created from AIF and filter by this field when setting up automatic posting.

Thank you Martin. I will proceed with your suggestion.