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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AIF Inbound port configuration

(0) ShareShare
ReportReport
Posted on by

We are preparing to go-live with EDI invoices. When we went to configure the inbound port using the VendVendInvoiceService.create, it seems some of the choices in the Data Policies are not there in our production environment as they are in our test and uat environments. It is a concern as two of these items are shown to be required. What would be the cause of this?

Here is a screen shot of the ones that seem to be missing.

We are using AX2012 R3.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    238,745 Most Valuable Professional on at

    Unfortunately your image isn't visible, therefore it's not clear what options you're talking about. Please either upload the image again, or explain your problem in text.

  • Community Member Profile Picture
    on at

    Here are the items in text with the associated XPATH values.

    CityRecId     /VendInvoice/VendInvoiceInfoTable/TableDlvAddress/CityRecId

    CityRecId     /VendInvoice/VendInvoiceInfoTable/VendInvoiceInfoSubTable/VendInvoiceInfoLine/LineDlvAddress/CityRecId

    TaxCode     /VendInvoice/VendInvoiceInfoTable/TaxWorkRegulation/TaxCode

    TaxRegulationAmountCur      /VendInvoice/VendInvoiceInfoTable/TaxWorkRegulation/TaxRegulationAmountCur

    The first two are neither enabled not required. The last two are checked to be both enabled and required.

  • Martin Dráb Profile Picture
    238,745 Most Valuable Professional on at

    Exposing record IDs doesn't look like a good idea. Instead of asking external applications to provide city's record ID (for example), you should ask for city name. Consider record IDs as something internal to AX.

    Regarding to TaxCode and TaxRegulationAmountCur, make sure that they're included in your query, they're visible etc. Then register your service again. If you use Ax* class for the table, make sure that the fields are there and regenerate the class if not (before reregistering the service).

    If everything fails, you can always debug the process generating the schema.

  • Community Member Profile Picture
    on at

    Thank you for the response. Our administrator got a hit on Google to use an AIF related form to refresh the schema. This seems to have corrected our issue.

  • Martin Dráb Profile Picture
    238,745 Most Valuable Professional on at

    AFAIK re-registering the service, as I suggested, would refresh the schema, therefore I didn't mention it as a separate step.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans