Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

AIF Inbound port configuration

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: AIF Inbound port configuration

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AIF Inbound port configuration

    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
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: AIF Inbound port configuration

    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
    Community Member Microsoft Employee on at
    RE: AIF Inbound port configuration

    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
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: AIF Inbound port configuration

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans