ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Codeunit 22 Item Jnl.-Post Line– ApplyItemLedgEntrySetFilters
Could we please have an extra parameter at publisher OnAfterApplyItemLedgEntrySetFilters in function ApplyItemLedgEntrySetFilters of Codeunit 22 Item Jnl.-Post Line?
LOCAL ApplyItemLedgEntrySetFilters(VAR ToItemLedgEntry : Record "Item Ledger Entry";FromItemLedgEntry : Record "Item Ledger Entry";ItemTrackingCode : Record "Item Tracking Code")
WITH ToItemLedgEntry DO BEGIN
SETCURRENTKEY("Item No.",Open,"Variant Code",Positive,"Location Code","Posting Date");
SETRANGE("Item No.",FromItemLedgEntry."Item No.");
SETRANGE(Open,TRUE);
…
// >>>>>>>>
// OnAfterApplyItemLedgEntrySetFilters(ToItemLedgEntry,FromItemLedgEntry);
OnAfterApplyItemLedgEntrySetFilters(ToItemLedgEntry,FromItemLedgEntry, ItemJnlLine);
// <<<<<<<<
The ToItemLedgEntry record should have all of the field values from ItemJnlLine...I'm curious why you'd need this?
Hello RHansenEpimatic, that was a mistake, I have the request closed