Announcements
No record found.
I have the exact same problem as mentioned in this thread with a difference that I am trying to insert a utcdatetime into a date field using insert_recordset. This is the error message that I get since the select statement is getting an extra timezone column DATETIMETZID.
'The select list for the INSERT statement contains more items than the insert list. The number of SELECT values must match the number of INSERT columns.
https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/173963/unable-to-insert-into-a-utcdatetime-column-due-to-time-zone-id/540789
https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/227063/insert-createddatetime-into-temp-table/615814#615814
Has there been any fix introduced for this problem? Using a while select - insert has to be avoided.
Thank you!
HI Priyan,
From this point of view, 'The select list for the INSERT statement contains more items than the insert list. The number of SELECT values must match the number of INSERT columns.
The number of fields in your insert statement and select statement does not match.
Can you share the code of the insert and select parts?
Hi,
Is this related to AX2012 or D365FO?
Best regards,
Ludwig
D365FO
moved to the d365 forum
Please update here.Thanks.
Still looking for some help on this issue. Thanks!
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 515 Most Valuable Professional
André Arnaud de Cal... 417 Super User 2026 Season 2
CU10121822-0 360