Question Status

Unanswered
Gill Darmon asked a question on 28 Jan 2013 6:47 AM

Hi All,

got these errors

after following all the steps below (Thanks Dario) but i still get the following errors :

Finished pass 1 at 28/01/2013 14:37:28

Error when loading the method. Type: DMFPurchTableEntityClass, Method: construct

Error when loading the method. Type: DMFSalesLineEntityClass, Method: construct

Error when loading the method. Type: DMFSalesTableEntityClass, Method: construct

Error when loading the method. Type: DMFStagingWriter, Method: helperCompositeEntity

Error when loading the method. Type: DMFUnitOfMeasureEntityClass, Method: construct

Error when loading the method. Type: DMFVendInvoiceInfoLineEntityClass, Method: construct

Error when loading the method. Type: DMFVendInvoiceInfoTableEntityClass, Method: construct

Error when loading the method. Type: DMFVendorAddressEntityClass, Method: construct

Error when loading the method. Type: DMFVendorEntityClass, Method: construct

Error when loading the method. Type: DMFWizardParameters, Method: parmDMFAutoGenerateData

Error when loading the method. Type: DMFXmlGeneration, Method: geneateMapping

Error when loading the method. Type: DMFXMLWizard, Method: checkFieldValueFixed

The CIL generator found errors and could not save the new assembly.

"To solve the problem with compiling of AOT (and CIL), I've commented out the body of the method DMFSalesTableEntityClass.GenerateCreditCard and have added the line

warning('Credit card management temporary disabled');

 You may also have a look at

\Queries\DMFContactPersonPostalAddress\Data Sources\DirPartyLocation(DirPartyLocation)

\Queries\DMFCustomerPostalAddress\Data Sources\DirPartyLocation(DirPartyLocation)

\Queries\DMFEmployeePostalAddress\Data Sources\DirPartyLocation(DirPartyLocation)

\Queries\DMFEmployeePostalAddressEntity\Data Sources\DirPartyLocation(DirPartyLocation)

\Queries\DMFVendorPostalAddress\Data Sources\DirPartyLocation(DirPartyLocation)

in which you have to remove fields ValidFrom and ValidTo, since they have been removed (obsoletized) from table DirPartyLocation.

I hope there's no other changes to do but I'll know for sure where complete compiling of AOT is finished

hope this help!

Ciao

Dario"

 

did anybody succeed getting the DMF to work on AX 2012 R2?

thanks,

Gill

Reply
Justin Biggs responded on 27 Feb 2013 6:24 AM

I'm also struggling with the DMF on R2.  Any further info would be appreciated.

Reply
Gill Darmon responded on 27 Feb 2013 6:30 AM

All answers are here :

community.dynamics.com/.../190159.aspx

Reply