Codeunit 20515 Subc. ItemJnlPostLine Ext
Source AL, 137 lines
src/Apps/W1/Subcontracting/App/src/General/SubcItemJnlPostLineExt.Codeunit.allines 14 to 29 of 137, Copyright (c) Microsoft Corporation. MIT
codeunit 20515 "Subc. ItemJnlPostLine Ext"{#if not CLEAN29 var#pragma warning disable AL0432 SubcFeatureFlagHandler: Codeunit "Subc. Feature Flag Handler";#pragma warning restore AL0432#endif [EventSubscriber(ObjectType::Codeunit, Codeunit::"Item Jnl.-Post Line", OnAfterInitItemLedgEntry, '', false, false)] local procedure OnAfterInitItemLedgEntry(var NewItemLedgEntry: Record "Item Ledger Entry"; ItemJournalLine: Record "Item Journal Line"; var ItemLedgEntryNo: Integer) begin#if not CLEAN29#pragma warning disable AL0432 if not SubcFeatureFlagHandler.IsSubcontractingEnabled() then#pragma warning restore AL0432