How can I disable Standard code of BC365 by Extension 2?

vanthanhvanthanh Member Posts: 23
I have a request from my client, They do not want to standard code of BC365 update saome value into some table.

So that in this case how can we implement our logic by extension code version 2?

ogjvbwdxvzq4.png


For example, as my picture on the left is my customized by Dynamics NAV IDE (Old version) on the right is code Standard. How can I implement my code if I can not disable Standard code of BC365?

please give me advice !!

Thanks,

Answers

  • Developer101Developer101 Member Posts: 566
    edited 2019-03-27
    Use the events and do the logic there
    United Kingdom
  • vanthanhvanthanh Member Posts: 23
    @Developer101
    But EventSubscriber can not overwrite standard code.

    you can only have event "On Open Page Event", after you write your logic, your logic is executed, after that the standard code still executes too.

  • TallyHoTallyHo Member Posts: 417
    edited 2019-03-27
    You may have to find a totally different way to achieve the same. Be creative, eventsubscribers and, in this case, page extensions are your only instruments. Sometimes this means you'll have to change data after it is written. But in the end, just not everything is possible anymore. We'll have to wait for MS to add more event publishers.
  • vanthanhvanthanh Member Posts: 23
    thank @TallyHo , I hope MS will add more "[Integration Event]" so soon. I am waiting them.
Sign In or Register to comment.