CIL Error - #CustomerTransaction_CustTrans macro doesn't exist in AX 2012 featurepack after DMF 2.0 install

This question has suggested answer(s)

Hello, After I installed the DMF beta version 2.0 on AX 2012 feature pack, I have a CIL compile error - "CustomerTransaction_CustTrans" macro doesn't exist.

I did a compile forward from 'AifDocument' but still got the same error.  

we are running AX 2012 featurepack, SQL 2012, DMF beta 2.0, win 2008 R2  

So I looked under Classes\CustomerTransaction_CustTras\New as in the screen below. It appears that the new method couldn't find the macro.

Would reall appreciate your help with this. Thank you

All Replies
  • I've got the same issue...installed the DMF Beta 2 and can't compile because of missing macros.

  • Hi Ewills,

    This is an error regarding to Public Sector. The DMF axmodel overwrites the macro "DataContainerTypes". Just compare the macro with fpk and fpp layer and take the following code into var or usr layer:

    //<PubSect>

    #AxdCustomerTransactionDCT

    #AxdAdvancedLedgerEntryDCT

    //</PubSect>

    Just compile and generate CIL - it should work.

  • Hi Ewills and Harry,

    This is an error regarding to Public Sector. The DMF axmodel overwrites the macro "DataContainerTypes". Just compare the macro with fpk and fpp layer and take the following code into var or usr layer:

    //<PubSect>

    #AxdCustomerTransactionDCT

    #AxdAdvancedLedgerEntryDCT

    //</PubSect>

    after bringing the macro to upper layer, right click on each object thatthe error is showing and compile them individually, and also delete the CIL failed log files present in C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX1\bin\XppIL  following path

    Just compile and generate Full CIL - it should work.

  • Thank you,

    I can confirm that this worked for me