Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

eConnectOut query by columns in child table

(0) ShareShare
ReportReport
Posted on by

I'm configuring eConnectOut for searching GL Accouns by description or by account number.

The account number column is only present in GL00105 and account description in GL00100.

I don't want to deal with 2 different XML result formats for when I query by account number or by account description.

From what I understood if I configure eConnect out to query the 2 tables with a join I can only search by columns in the main table and not the child table.

To query the child table I need to create a second eConnect out content type where the main-child relation is the opposite of the first configuration so that I can query from the second table.

I'm find with creating 2 content types but I don't want to deal with 2 different XML structures. From what I understood the main table has to be the outer tag in the XML result and the child table should be a nested tag.

e.g.

<GL_Accout>

   <Details></Details>

</GL_Account>

when I need to search by a GL_Account filed

and

<Details>

  <GL_Account></GL_Account>

</Details>

when I need to search by a Details field

Is there a way to keep the same output XML structure but to query by fields from the main or the child table?

*This post is locked for comments

  • Tim Wappat Profile Picture
    5,703 on at
    RE: eConnectOut query by columns in child table

    That is a pity, I had the feeling that might be the issue.

    I should imagine your alternative approach should work just fine though.

    Tim.

  • Community Member Profile Picture
    on at
    RE: eConnectOut query by columns in child table

    Hi Tim,

    Unfortunately modifying the database is not an option for me, but I'll keep this in mind if I need this in the future, this is a good tip!

    I'll go with just downloading the whole list of accounts and querying in memory. The list of accounts for a company isn't gonna be huge that it is a problem doing simple in-memory searches on the .NET side I suppose.

    Thanks,

    Aleksey

  • Verified answer
    Tim Wappat Profile Picture
    5,703 on at
    RE: eConnectOut query by columns in child table

    Hi,

    Do you have control over the database, if so you could just create a view over the two tables.

    Here is a post that might help.

    http://www.timwappat.info/post/2015/09/09/eConnect-Requester-Documents-sourced-from-Custom-table-or-Views

    tim

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May 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 >

Featured topics

Product updates

Dynamics 365 release plans