Microsoft Dynamics GP and CRM Price list Integration

As I discussed in my previous post about GP and CRM integration,  here is the query for getting all the price levels in GP and combining them with Currency (in my example 2 currencies).

you can use this query in your integration application or your code to read the data from GP database and make it ready to send to Dynamics CRM price list.

SELECT [IV40800].[PRCLEVEL],
[IV40800].[DSCRIPTN],
[MC40200].[CURNCYID],
[MC40200].[ISOCURRC]
FROM [IV40800], [DYNAMICS].[dbo].[MC40200] [MC40200]
WHERE
[MC40200].[CURNCYID] = 'USD'
or
[MC40200].[CURNCYID] = 'CDN'

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s