Hi,
I am using DMF to export some data. The entity has some virtual fields as well. While I am exporting without virtual fields the data gets exported. But with virtual fields, I am getting synch error and the process is not exporting anything at all. I have tried below steps already
1. Synch data entity and staging with SQL successfully (synched even post dropping the entity and view from SQL).There are no build and synch errors.
2. Deleted the entity from data entity list and refresh entity store to get updated schema in D365.
3. Generated the mapping explicitly to make sure the mapping is updated.
Below is the error message:
session 4598010 (rishi.kumar)
SELECT T1.LEDGERACCOUNT,T1.POSTINGLAYER,T1.JOURNALNUMBER,T1.LEDGERDIMRECID,T1.NAME,T1.ACCOUNTINGCURRENCY,T1.REPORTINGCURRENCY,T1.ENDDATE,T1.FINANCIALSTARTDATE,T1.TYPE,T1.MAINACCOUNTID,T1.REPORTINGCURRENCYAMOUNT,T1.TRANSACTIONCURRENCYAMOUNT,T1.MAINACCOUNTTYPE,T1.LEGALENTITY,T1.RECID#2,T1.RECVERSION#2,T1.RECID#3,T1.RECVERSION#3,T1.RECID#4,T1.RECVERSION#4,T1.RECID#5,T1.RECVERSION#5,T1.CREATEDBY,T1.CREATEDTRANSACTIONID,T1.RECVERSION,T1.PARTITION,T1.RECID FROM XYZ_ACCOUNTBALANCESENTITYPERF T1 WHERE (((((PARTITION=5637144576) AND (PARTITION#2=5637144576)) AND (PARTITION#3=5637144576)) AND (PARTITION#4=5637144576)) AND (PARTITION#5=5637144576)) ORDER BY T1.LEDGERACCOUNT,T1.LEDGERDIMRECID
[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'RECID#2'.
Object Server Azure:
Results Cannot select a record in Account balances perf entity (XYZ_AccountBalancesEntityPerf).
The SQL database has issued an error.
Any help would be much appreciated as I have already tried the usual ways of resolving the issue.
Rishi