Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

AIF service customization

(0) ShareShare
ReportReport
Posted on by 321

Hi,
I would like to add expDate field from InventBatch table to the AIF service InventInventoryOnHandService.
How Could I do it?
Thanks in advance.

  • Verified answer
    Martin Dráb Profile Picture
    232,866 Most Valuable Professional on at
    RE: AIF service customization

    If you wish, you could add a calculated field to the Ax* class of an existing data source instead of adding a new data source to the query and get accessor methods generated for you.

  • NewWatermelon Profile Picture
    321 on at
    RE: AIF service customization

    It is a standard field in a data source that is not included in the document service.
    So, I think a have to add a new data source to the query to add this field and then update the service.

    What if I would like to add this field by just calling a method belonging to a table in the original query data source? Take, for example, InventSum.InventTable().itemName(). InventSum is a data source in the document service original query.

  • Verified answer
    Martin Dráb Profile Picture
    232,866 Most Valuable Professional on at
    RE: AIF service customization

    Can you tell us more about your scenario, please?

    Is it a custom field that you've added to the table, or a standard field that Microsoft excluded when developing the service?

    This documentation page may be of interested: How to: Update a Service After Adding a Query Data Source, despite the fact that you want to add just a field and not a data source.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,099 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans