Hi,
We are getting below errors logged in windows event viewer when a particular user is trying to open vendor invoices screen.
It's clear from error that String date format is getting compared with datetime field 'DueDate'. but i am not sure from where AX is sending such query to sql and why?
Has anyone faced this before?
Object Server 01: |
[Microsoft][SQL Server Native Client 11.0][SQL Server]The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. |
SELECT TOP(10) ACCOUNTNUM, sum(AMOUNTMST) as SUMAMOUNTMST, MIN(dueDate) as MINDUEDATE FROM dbo.CUSTTRANSOPEN WHERE DATAAREAID = 'slc' AND DUEDATE <= '19/12/2016 12:00:00 am' GROUP BY ACCOUNTNUM ORDER BY SUMAMOUNTMST DESC |
session 27 (user1) |