Quantcast
Channel: Microsoft Dynamics RMS Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4248

Global Voucher issue, Globalrequestlog has duplicates. SO 2.0.0162

$
0
0

Hi all, had an issue where 1 store suddenly started erroring when uploading sales to HQ, the HQ Client log said:

<ExecuteCommand>> Error -2147467259: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

BEGIN

If exists(Select * from GlobalRequestLog

I performed a sql profile, and reran the upload, and it returned 4 errors all in the globalrequestlog. all identical :

<ExecuteCommand>> Error -2147467259: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

BEGIN

If exists(Select * from GlobalRequestLog',1,2,2,'2013-10-07 21:28:28',N'

I looked in the GlobalRequestLog that there were 6 'new entries' for that site since the last successful upload.

2 different global vouchers, a redemption, a credit, both perfomed within a second for each voucher, then about 30 seconds later a redemption for each card.

I spoke to the store, and they confirmed a customer used 2 gift cards and his credit card, but then cancelled due to incorrect pin number, he then paid cash and used the 2 gift cards.

My configuration does not allow gift cards to be reused, is this the issue here?

I have temporarily changed the store id for the first redemption/credit pair for each gift card to 999 and now the data is uploading, but is this a known issue? - I cannot see any reference to it in hotfixes, Feature packs?

I believe it is recreate-able, but can make the data available if required.

(I'm posting here incase someone else has the same issue and google will help them, and maybe MS might be interested?) - anyone else seeing this?


Viewing all articles
Browse latest Browse all 4248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>