AX 2012 R2 CU7
I was trying to update the CustAging report with some extra data. One of the joins I add to the insertCustAgingReportTmp method on the CustAgingReportDP class has to be an outer join, but when I run the report I get a "Cannot insert NULL into field" error:
Cannot insert the value NULL into column [column], table 'tempdb.dbo.t10601_D40915EB7D084EFABAF016E580EE7CFA'; column does not allow nulls. INSERT fails.
I know AX usually doesn't deal with NULL values, but since this is a tmp table in sql that I'm both selecting from and inserting into... perhaps this outer join is grabbing NULL in SQL as apposed to 'blank' in AX?
Anyone know more about insert - select - outer join statements?