microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
768 stars 610 forks source link

[Event Change Requests] Codeunit 22 "Item Jnl.-Post Line" - OnAfterUpdateOldItemLedgerEntryRemainingQuantity() and OnApplyItemLedgEntryOnBeforeOldItemLedgEntryModify() #26929

Closed Anirudh053 closed 1 month ago

Anirudh053 commented 1 month ago

Describe the request

Hi Team,

In Codeunit 22 "Item Jnl.-Post Line" Please provide the possibility to have addition parameters for the 2 existing base integration events.

In UpdateOldItemLedgerEntryRemainingQuantity() for event OnAfterUpdateOldItemLedgerEntryRemainingQuantity() we need two addition parameters i.e., ItemLedgEntry, AverageTransfer Global variables. image

Integration Event: [IntegrationEvent(false, false)] local procedure OnAfterUpdateOldItemLedgerEntryRemainingQuantity(ItemLedgEntry: Record "Item Ledger Entry";var OldItemLedgerEntry: Record "Item Ledger Entry"; AppliedQuantity: Decimal;var AvgTransfer: Boolean) begin end;

In Integration Event OnApplyItemLedgEntryOnBeforeOldItemLedgEntryModify() we need another parameter "AverageTransfer" global variable reference.

image

Integration Event: [IntegrationEvent(false, false)] local procedure OnApplyItemLedgEntryOnBeforeOldItemLedgEntryModify(var ItemLedgerEntry: Record "Item Ledger Entry"; var OldItemLedgerEntry: Record "Item Ledger Entry"; ItemJournalLine: Record "Item Journal Line";var AvgTransfer: Boolean) begin end;

Additional context

We need these changes in the existing events to handle the custom code for various clients Internal work item: AB#543324

azure-boards[bot] commented 1 month ago

✅ Successfully linked to Azure Boards work item(s):

JesperSchulz commented 1 month ago

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 22697.