I made too many changes to make this work.
I reverted back to when it last work and made these changes….
1. I moved the external database to the xmpie server.
2. In uStore, I went to presets>> data source setup and changed the reference to the new location of the database
3. My original query looked like this…
SELECT
concat(fn1.[cardId], ' ', fn1.[region], ' - ', fn1.[attractionName]) AS [text],
concat(fn1.[cardId], ' ', fn1.[region], ' - ', fn1.[attractionName]) AS [value],
1 AS [ISDEFAULT]
FROM (
SELECT
opdv.DialValue AS [CityId]
FROM
[10.10.12.10\XMPIE].[uStore].[dbo].OrderProductDialValue opdv
INNER JOIN [10.10.12.10\XMPIE].[uStore].[dbo].Dial_Culture dc ON (opdv.DialID = dc.DialID AND dc.CultureID = @CultureID)
WHERE
dc.FriendlyName = 'Card Version' AND
opdv.OrderProductID = @OrderProductID
) main1
CROSS APPLY getDataByCardID_fn(main1.CityId) fn1
I removed the reference to “[10.10.12.10\XMPIE]
4. Updated the data source in uProduce to point to the new location
5. made new proof and process number
6. Updated the product in uStore with the new numbers
7. In the customization wizard…
a. Updated the query
b. Made sure I selected the right data source
c. Turned on the ‘override existing value’
And that seemed to fix it.
Thanks for the help.