Friday, January 29, 2010

FormDataSource.markChanged method

In AX 2009 a new method was added to the FormDataSource – markChanged() which is dedicated specifically to handle selection change event. Before that active() method was commonly used for this purpose, however it is not precise and there are cases when selection is changed but active() method is not triggered. It is the most important to use markChanged() instead of active() when multiple records selection needs to be handled.

9 comments:

  1. Actually, the markChanged() method only triggers, if the NUMBER of selected records is changed. To cover all selection-changed-events, the best approach I found so far, is using a combination of active() and markChanged().

    ReplyDelete
  2. I want to generate payment schedule from the sales order. I type in the sales order the first installment and the numeber of Installments, accordingly system should generate the payment schedule .

    plz help

    ReplyDelete
  3. Hello i am kavin, iits my fiorst time to commenting anyplace, when i read this
    piece of writing i thought i could also create comment due to this brilliant post.


    Check out my weblog Wartrol Review

    ReplyDelete
  4. Magnificent website. Lotss of helpful info here.
    I'm sending it to a few buddies ans additionally sharijg in delicious.
    And of course, thank you in your sweat!

    Here is my homepage :: raspberry ketone max ingredients

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. I have been able to gather a lot of relevant information through this kind of pages, which have been of great assistance with my research. I have bookmarked your page, to revisit it some other time. Kindly keep on posting
    Literature Review Editing Help

    ReplyDelete