Single Instance EventSubscribers in AL and Business Central

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 14

  • @davidcornette3013
    @davidcornette3013 Рік тому

    Another great video with clear audio. And another valuable trick learned.

  •  3 роки тому

    Yes, I DO like these videos. Keep doing them, please.

  • @runbjogar
    @runbjogar 3 роки тому

    brilliant trick Erik.. put to immediate use :)

  • @mauriciovillatoro9361
    @mauriciovillatoro9361 2 роки тому

    Awesome video Erik, do you have a video about IsTemporary use in EventSubscribers?

    • @Hougaard
      @Hougaard  2 роки тому +1

      No, what do you want to know?

    • @mauriciovillatoro9361
      @mauriciovillatoro9361 2 роки тому

      @@Hougaard Hi, I saw others developers code use it as the first step on EventSubscriber, I have search information about it but I couldn’t found any useful information to clarify wen use it.

    • @Hougaard
      @Hougaard  2 роки тому +1

      Ohh, that easy, if you subscribe to events that get triggered by the posting routines, then you need to use IsTemporary to see if it's preview posting or real posting.

    • @mauriciovillatoro9361
      @mauriciovillatoro9361 2 роки тому

      @@Hougaard So, if you are modify récords avoid do it on the preview posting (temporary) by using isTemporary.

  • @arthrvdv
    @arthrvdv 3 роки тому

    Hoe does this behave when multiple users are running concurrently on the system? Could it be that these will cross-talk between two sessions of users where different variables could end up mixed-up?

    • @Hougaard
      @Hougaard  3 роки тому +1

      Single instance is per session.

  • @erproerpro903
    @erproerpro903 3 роки тому

    Good stuff :) Already using it to "fix" missing event parameter. MS already "fixed" it in v19 :D

  • @Hakshie
    @Hakshie 3 роки тому

    Hi eric do you have any video with upgrading nav to bc?

  • @henrryrocajoffre6494
    @henrryrocajoffre6494 5 місяців тому

    Me salvo la vida vivan las banderas XD