Announcements
Hi,
I would like to add expDate field from InventBatch table to the AIF service InventInventoryOnHandService.
How Could I do it?
Thanks in advance.
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.
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.
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.
André Arnaud de Cal...
294,099
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator