web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Configuring an Endpoint for AIF in AX 2012

(0) ShareShare
ReportReport
Posted on by 830

I am wondering whether or not it is possible to setup and configure an endpoint for AIF in AX 2012 much like in AX 2009 where I could set a constraint etc.. as I can't seem to find it for an Outbound port in AIF in AX 2012

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Cristián Cámpora G. Profile Picture
    90 on at

    Off course you can, and has been many improvements in AX 2012 R2. Go to Administration -> Service and Application Integration Framework. There you will find what you seek.

    You can find a very good guide in this link.

    erptechnician.net/.../importing-customers-into-dynamics-ax-2012-using-aif

  • BiffBaffBoff Profile Picture
    830 on at

    I don't see anywhere where I can set a constraint, for example apply this service for only a specific customer. In AX 2009 there was a constraint tab under Endpoints but I don't see anything like this in AX 2012

  • Suggested answer
    Cristián Cámpora G. Profile Picture
    90 on at

    There is a security FastTab at the end where you can set some constrains but what your are looking can be achieved using document filters and assigning default values. Check first the technet documentation at msdn.microsoft.com/.../gg731810.aspx

    Also for a security approach see this msdn.microsoft.com/.../hh433509.aspx

  • BiffBaffBoff Profile Picture
    830 on at

    No the security FastTab isn't what I mean. I've looked around and according to this: technet.microsoft.com/.../gg731887.aspx

    Endpoint Constraints weren't upgraded from AX 2009 to AX 2012. So how do I specify so that if an Invoice is generated for customer XYZ, that invoice will get added to the AIF Queue ready for processing via a Batch Job?

    This was so much easier in AX 2009..

  • Community Member Profile Picture
    on at

    In AX 2012 there is the "Legal entity" framework. Go to "Outbound ports", press button "Data policies", select a field and add legal values in fasttab "Legal values for <fieldname>" at the bottom. On "Outbound ports" you must select "Validate document XML". First of all, every document will be added to AIF queue. When the batch job runs, these entries, where the legal values don't match, get the status "Error" with message "Failed legal value validation ...". So it was designed from Microsoft. Something new but only figured out and implemented up to 40 percent.

    I need to bother with this change also: I have a customer who exports 20 to 25 invoices per month with AIF and we are using 6 different endpoints in AX 4.0 for these invoices. In AX 4.0 I have 20 to 25 entries in AIF queue per month, that's manageble for the customer to check if all invoices were exported successfully or not. In AX 2012 we will have with the same situation up to 90.000 entries in AIF queue every month! And after the AIF batch job runs from these 90.000 entries appoximately 89.975 entries will have status error. For the customer this is never possible to check, whether there are some invoices which cannot be exported due to an error.

    I absolutely cannot explain myself what was Microsoft thinking about this!!!

  • BiffBaffBoff Profile Picture
    830 on at

    So EVERY Invoice for EVERY Customer will get added?! That's ridiculous, how do I clear the ones with errors?

    I only want Invoices for a specific customer be added to the AIF queue when they're generated and all other invoices for other customers be printed on paper, as normal.

    I had this working so easily in AX 2009 but now with AX 2012 it seems so complicated..

  • Herman Kanter Profile Picture
    on at

    I am trying to get the PurchInvoice service to work in AX 2012 like it does in AX 2009 using the AIF batch process.  Is there a way without using endpoints, to get AX 2012 AIF to know which AX company the incoming invoice is to be processed in?

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans