Refactoring and adding events to a Business Central app

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 10

  • @BusinessCentralMusings
    @BusinessCentralMusings 4 роки тому

    Cool stuff enabling code actions!

  • @ant1d0te
    @ant1d0te 4 роки тому

    Should not you add publisher in ApplyAddress - OnAfterApplyAddress(CompareRec)?
    This way there will be possibility to add handling of not only Customer and Vendor, but any other table.
    Also, you should make Call_USPS_WebService non-local, so other extension with different table handling can call it in own VerifyOtherAddress with added ApplyToOtherRec (similar to ApplyToVendor/CustomerRec)
    Did I miss something?

    • @Hougaard
      @Hougaard  4 роки тому

      You're right in that I forgot to add an ELSE section to the case statement for supporting something completely new, I'll address that in the next installment. Thanks for your comments!

  • @dominicstarkl2953
    @dominicstarkl2953 4 роки тому

    Hi Erik. In 22:53 you show a feature how you can automatically generate methods by Code Actions.
    I did not find this feature in the standard AL‌ VS Code Extension.
    Where can I find this feature?
    Thanks for your advice.
    Dominic

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

      Check this out: ua-cam.com/video/mpd3hB-qh1E/v-deo.html

    • @dominicstarkl2953
      @dominicstarkl2953 4 роки тому

      Thanks Erik

  • @garywiney7712
    @garywiney7712 4 роки тому

    Do you have these videos all in a list somewhere? I started watching Part 1, Part 2 and Part 3 but now I am not sure of the order and whether or not I have missed some. Also, do you have the code anywhere for download? In the earlier videos, the code was small enough you could hand type it, but as it has gotten larger, you don't always even see all of the code. Thanks for a great series.

    • @Hougaard
      @Hougaard  4 роки тому

      I try to put related videos in different playlists, try checking that out. All source code is on my github at www.github.com/hougaard