Search This Blog

Thursday, July 26, 2012

Data Migration Framework for AX2012 was released.


Data Migration Framework beta for AX2012  was released.

Please go through about this in the following link and you can download the setup


10 comments:

  1. Mr. Krishna please tell me the perfect defination of the insert doinsert
    update doupdate
    delete dodelte

    ReplyDelete
    Replies
    1. Hi Madhu,
      Insert-While its inserting it will validate against the functionalities and it will call the super methods respectively. normally we will call this because it will validates against the fields.
      Doinsert- it will insert the values into the table any way, normally we will use when you want to insert a single field or not required to validate or not required in transactions then we will do...the same is for update and doupdate also

      Regards,
      krishna.

      Delete
  2. Hi, I also have a question on the data migration framework. I want to validate the businessLogic on insert of new records from the staging table. I have enable validateWrite and validate businessLogic on insert and update, but the code don't seem to run. Is this still a bug or do i need to do something else?

    Thanks in advance!!

    ReplyDelete
    Replies
    1. Hi,
      You have to create the debugger in the entity class of validations because these will excecuted through entity classes.

      Regards,
      krishna.

      Delete
  3. Hi thanks for your response! Don't seem to get what you mean. Entity class of validations? For example in my DMFCustomerEntityClass create a new method validateWrite?

    ReplyDelete
    Replies
    1. Hi,
      Normally when the Source data imports to Stage Tables then we can validate stage against the Target tables, so you can debug at this level of the code , then you can check how it is validating.
      Open the stage Table data and select one record as mark left side and click on validate, so you can debug at this level.

      Regards,
      krishna.

      Delete
  4. the validate button on the stagetable executes validateFieldValues in the DMFCHeckFieldClass. This checks if foreign keys exists in their corresponding mastertables. I need to validate the (custom)businessLogic. If i check or uncheck the checkboxes for validation in the entitytable makes no difference. no additional code is being executed...

    ReplyDelete
    Replies
    1. I think I too have too investigate..... and come back with answer

      Delete
    2. I also wonder if it is normal that when i press validate button and something is not valid. For exapmle non existing foreign key, the records still can be inserted in the target tables. It seems like no validation is done at all.

      Delete
    3. Hi,
      Yes that was the bug, they didnt handle this scenarios for validation in Beta, Hoping they will fix this issue in original version, as we already given feedback with this issues to Microsoft.

      Regards,
      krishna.

      Delete

Thanks for visiting my blog,
I will reply for your comment within 48 hours.

Thanks,
krishna.