Quantcast
Viewing all articles
Browse latest Browse all 17314

Dynamics AX 2012: orig() method fails on derived tables

Just found a bug in the table inheritance feature (kernel 6.0.1108.5781). If you have a base table A with field B, and a derived table C with field D, then C.orig().B will return a strange value (or nil, depending on the field type). In order to get the correct value, you will need to downcast C to A, and then call A.orig().B. This is the job that reproes the issue: static void reproOrigBug ( Args _args ) { CompanyInfo companyInfo; DirPartyTable dirPartyTable; select firstOnly companyInfo; info ...(read more)Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 17314

Trending Articles



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