December 2018
Intermediate to advanced
764 pages
31h 47m
English
Everything seems to be fine, except the dates, which were set to 01/18/12 in the XML document but have the value 2/16/2016 in the Sales Order table.
This is because, although the order and document dates were first set to 01/18/2012, when the OnInsert trigger for the Sales Header table was run, they get defaulted to Work Date, which was 02/26/2016. How do we know this? You can turn on the debugger (which will be covered in Chapter 11, Debugging with Dynamics NAV and MSDYN365BC, of this book) and follow through the code, or just ask a Microsoft Dynamics NAV or Microsoft Dynamics 365 Business Central developer.
Either way, we'll have to change something in our XMLport to prevent this behavior. What we'll ...
Read now
Unlock full access