1 Jun’15

Dynamics AXHow to expose a field from a table NOT present in the AOT Query for an AIF service

1. To create an AIF service using Wizard, we are supposed to prepare an AOT query containing the tables with proper relations.

2. Once we generate the AIF Service using Wizard, the AxBC classes gets generated for each table present in the AOT Query.

3. AxBC classes contains the parm methods for each field as per table.

4. Now if we want to have a filed in the XSD/XML from a table that is not the part of the Query, we will need to do the below changes:

a: In the AxBC class i.e. Ax[TableName] class, create a parm method for the field you want to include in the XSD/XML for the corresponding AIF Service.

b: Perform Incremental CIL

c: Refresh AIF Services

d: Re-Activate the Inbound port.

5. By doing the above steps, the required field will be the part of the XSD/XML for the corresponding AIF Service.

Written by

Team Member


Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Managing mailbox through Email Archiving

    20 March’ 2018

    Introduction: Email can fill your Outlook Inbox quickly – new messages, replies, and forwards. Before you know it, yo...

    Read more
  • Workaround to Report.SAVEASPDF in NAV 2018

    20 March’ 2018

    Objective: In NAV 2017 Emailing the PDF by running the report using Report.SAVEASPDF is now not allowed in NAV 2018. Th...

    Read more
  • Dynamics 365 Client Diagnostics

    15 March’ 2018

    Main cause of Performance Issues: Bandwidth and latency are the primary characteristics which affects the performance o...

    Read more
  • Closing Blind Shift in MPOS and CPOS in Dynamics 365 for Retail

    15 March’ 2018

    Manual For closing Blind shift in POS: Blind shifts terminate the currently ongoing shift and when logged in a new shif...

    Read more
  • Persistent Filters in the Power BI Service

    13 March’ 2018

    Introduction: The feature is finally release, and it is power BI has announced general availability of persistent filt...

    Read more