Skip to main content
Community site session details

Community site session details

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

Table with container field

(0) ShareShare
ReportReport
Posted on by

In F&O, you can have table field with "container" data type.  For this type of field, how do we present the actual data when the entity contain this table pushed to BYOD and user try to query the value using SQL statement?

  • Suggested answer
    nmaenpaa Profile Picture
    101,158 Moderator on at
    RE: Table with container field

    If the container is something that's encoded by the AOS, then yes, you must also decode it on the AOS. You can then export the decoded result via your data entity. The details depend on the details of your container contents.

  • Community Member Profile Picture
    on at
    RE: Table with container field

    That makes sense Martin.  Thx.

  • Community Member Profile Picture
    on at
    RE: Table with container field

    So the only way to decode the hex value created from container field is to through X++?  That's doesn't seem very practical, giving that some external system can only access to the F&O database through BYOD.

  • Verified answer
    Martin Dráb Profile Picture
    234,712 Most Valuable Professional on at
    RE: Table with container field

    Since it can contain absolutely anything (e.g. a DLL file), there is no universal way how to present the data. It depends on the content.

    Also, BOYD is based on data entites. You should first ask yourself how you want to convert the container table field to an entity field that will be useful in BYOD, and whether it makes sense at all.

  • WillWU Profile Picture
    22,357 on at
    RE: Table with container field

    Hi Yvonne Huang,

    In X++, container is one of the primitive (value) types. A container can contain an ordered sequence of primitive values or other containers.Containers can be said to be similar to an arary or List/stack classes.

    The container in database is stored in hexadecimal format. You can't use SQL statement to query the value in your database.

    You could use conpeek() method in X++ to return the value you want.

    docs.microsoft.com/.../containers

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 565

#2
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 402 Super User 2025 Season 1

Product updates

Dynamics 365 release plans