ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 246 "Requisition Line" - OnValidateVendorNoOnBeforeGetLocationCode

Open Magicrevette opened this issue 6 years ago • 2 comments

We are migrating our code from NAV 2018 to BC16.4. In the Table 246 "Requisition Line", in the Field 9 "Vendor No.", in the trigger OnValidate, we need to use our own code instead of GetLocationCode. To do so, we need a IsHandled flag and an event publisher, like this :

image

With this integration event : image

Do you think it could be possible ?

Thank you for your work.

Magicrevette avatar Oct 07 '20 08:10 Magicrevette

Hi @Magicrevette . There is "IsHandled" pattern in the GetLocationCode function with CurrFieldNo parameter. Doesn't it fit for purposes?

RomanZanizdra avatar Oct 09 '20 18:10 RomanZanizdra

Hi @RomanZanizdra . I missed this "IsHandled" in GetLocationCode procedure. Indeed, it fits for my prupose. I no longer need this new event. Thank you.

Magicrevette avatar Oct 12 '20 07:10 Magicrevette