ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] New events for ApplyItemLedgEntry function

Open RHansenEpimatic opened this issue 8 years ago • 3 comments

To support migrating a NAV add-on to an extension/app...

In codeunit 22 in the function ApplyItemLedgEntry, I need a couple changes:

First, in the section for "IF UseReservationApplication..." I need to be able to add another TESTFIELD condition. So, i would like a new event before the "ReservEngineMgt.CloseReservEntry..." line that passes the item ledger entry and the ItemJnlLine variables in.

Second, further down where the ItemLedgEntry2 variable is being filtered with a series of SETRANGE calls, I need to add another filter. So, i would like a new event added that passes the ItemLedgEntry2 and ItemLedgEntry variables in...maybe "OnBeforeSetEntryFindMethod" right before the code that sets the EntryFindMethod to '+' or '-' depending on costing method.

RHansenEpimatic avatar Nov 22 '18 21:11 RHansenEpimatic

We already have required events here, please make sure you use code base for D365 BC, not for NAV 2018

AlexanderYakunin avatar Nov 27 '18 11:11 AlexanderYakunin

Thanks again. As per my other thread, i need to get the latest build so i'm seeing these newer events.

RHansenEpimatic avatar Nov 27 '18 17:11 RHansenEpimatic

Closing as per @AlexanderYakunin's reply.

JesperSchulz avatar Jan 16 '19 11:01 JesperSchulz