web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Integration Manager Advanced ODBC

(0) ShareShare
ReportReport
Posted on by 211

I am setting up an Integration for SOP transactions with payments using an Excel file.  I have setup an advanced ODBC integration but I need to be able to sum the payment amounts in the header record and this is not working,  I have the following query for the header :

Select DISTINCT ['Sales Line Items - $'].[SOP Type], ['Sales Line Items - $'].[COLLECTION DATE], ['Sales Line Items - $'].[Patient ID], ['Sales Line Items - $'].[SAMPLE ID], ['Sales Line Items - $'].LOCATION, sum(['Sales Line Items - $'].[Unit Price]) From ['Sales Line Items - $'] 

Once I add the sum criteria for the unit price (this contains the amount received) then when I try to preview the source I receive a message that there are no columns defined.  What do I need to change to get this to work ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    L Vail Profile Picture
    65,271 on at

    Hi,

    I do not recognize these field names, so you have me at a disadvantage. I would probably create more sources from a flattened query. You could use the Over with Partition By statements to get your totals in the same query as your detail.

    Kind regards,

    Leslie

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans