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)

Extending TransferOrderHeader Data Entity breaks $expand for TransferOrderLine

(0) ShareShare
ReportReport
Posted on by

I have created a simple extension to the TransferOrderHeader data entity to expose the CreatedDateTime field from the InventTransferTable to enable our integration scenario with Scribe. 

8272.screenshot1.png

Once the solution is built and the database sync is complete, the field shows up correctly in the OData endpoint:

4353.screenshot2.png

Now that the change is showing, however, expanding the TransferOrderLine property fails, complaining that the property doesn't exist:

2605.screenshot3.png

I don't understand how adding the new field broke the $expand property, but I don't see any other potential causes.  The test environment, where this package has not been deployed is not exhibiting this behavior, but the dev/build environment, which got this package via the most recent build, is.  The only other related change in the same model is the addition of a mapped property on the order line entity to surface the line's product's serial number from the InventDim data source.

I am very new to AX/D365O development, so I'm hopeful that there is a simple step that I'm missing.  I've successfully exposed other fields on other data entities without issue.  Any guidance will be greatly appreciated.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Additional Information:  In trying to develop a workaround for this issue, I tried reversing the query and selecting transfer order lines and expanding their headers, which works.  It's not enormously useful at this point, but it seems to me to suggest that the relationship itself isn't broken, just something with the header entity and/or my extensions of same.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans