StHillmann
StHillmann
Any news on this? As @NKarolak stated, the event is not useable that way you implemented it. We need it,too ...
We would like to handle the undo of Purchase Receipt for Job related documents by ourselves. In order to do that, we need this handled-pattern. The return value of 0...
Code Example: ``` procedure UpdateData(TimeSheetHeader: Record "Time Sheet Header") begin // start kvspsa - Event Raiser OnBeforeUpdateData(TimeSheetHeader, MonthQty, MonthDescription, MonthCapacity); // stop kvspsa TimeSheetMgt.CalcActSchedFactBoxData(TimeSheetHeader, DateDescription, DateQuantity, TotalQtyText, TotalQuantity, AbsenceQty); PresenceQty...
From my point of view, we need the codeunits as parameters because of the usage of global variables inside of the codeunits. By using the codeunit itself as parameter we...
As I know, the "protected var" is only working between page and page extension or table and table extension. But in this case, we are subscribing to an event of...
Additionally, "QtyOutstandingBase" has to be "var" in the Event publisher in order to make the following standard code work!
sorry. Wrong Publisher! Correct Publisher Code: ``` // start kvspsa - Event Publisher [IntegrationEvent(false, false)] local procedure OnAfterItemLedgEntryBufSetFilterEntryTypeOnCopyPurchCrMemoLinesToDoc(var FromPurchLineBuf: Record "Purchase Line"; var ItemLedgEntryBuf: Record "Item Ledger Entry") begin end;...
Hi @RomanZanizdra you are totally right! Our background processing has been one procedure which takes both parameters, but I already have divided it up. @AlexanderYakunin Please remove "SalesCrMemoHeader" as parameter...
Sames as #6563 Hi @RomanZanizdra you are totally right! Our background processing has been one procedure which takes both parameters, but I already have divided it up. @AlexanderYakunin Please remove...
I'm sorry about it, but we need to enlarge the event raiser and event publisher by two parameters for handling the error text! New Event-Raiser: `OnBeforeTestJobFields(PurchLine, ErrorCounter, ErrorText, IsHandled);` New...