ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 336 "Tracking Specification" - OnBeforeCheckItemTrackingQuantity

Open Magicrevette opened this issue 6 years ago • 3 comments

We are migrating our code from NAV 2018 to BC16.4. In the Table 336 "Tracking Specification", in the procedure CheckItemTrackingQuantity, we would like to englobe the procedure in a repeat pattern. To do so, we need a IsHandled flag and an event publisher, like this :

image

With this integration event : image

To really do so, we also need the procedure CheckItemTrackingByType to become a global procedure, and not a local procedure, to be able to call it from an event subscriber (we asked for it here https://github.com/microsoft/ALAppExtensions/issues/9378).

Do you think it could be possible ?

Thank you for your work.

Magicrevette avatar Oct 15 '20 09:10 Magicrevette

Yes, making procedure as global possible for Master. Not sure I understand why you want to have all parameters in event as VAR? Are you going to change DocumentType and DocumentNo here? But you can call this procedure for needed documents without this? Please confirm.

AlexanderYakunin avatar Oct 27 '20 10:10 AlexanderYakunin

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

bc-ghost avatar Oct 27 '20 16:10 bc-ghost

@AlexanderYakunin Indeed, I don't need all these parameters as VAR. It was a reflex when I wrote it. The parameters I need to be VAR are Rec, Handle, Invoice and IsHandled.

Magicrevette avatar Oct 28 '20 10:10 Magicrevette