Codeunit 924 Asm. Item Journal Mgt.
Source AL, 215 lines
src/Layers/W1/BaseApp/Assembly/Inventory/Journal/AsmItemJournalMgt.Codeunit.allines 14 to 29 of 215, Copyright (c) Microsoft Corporation. MIT
codeunit 924 "Asm. Item Journal Mgt."{ var CannotChangeFieldErr: Label 'You cannot change %1 when %2 is %3.', Comment = '%1 %2 - field captions, %3 - field value'; [EventSubscriber(ObjectType::Table, Database::Item, 'OnIsAssemblyItem', '', false, false)] local procedure OnIsAssemblyItem(Item: Record Item; var Result: Boolean) begin Result := Item."Replenishment System" = Item."Replenishment System"::Assembly; end; [EventSubscriber(ObjectType::Table, Database::"Item Journal Line", 'OnValidateItemNoOnSetCostAndPrice', '', false, false)] local procedure OnValidateItemNoOnSetCostAndPrice(var ItemJournalLine: Record "Item Journal Line"; UnitCost: Decimal) begin case ItemJournalLine."Entry Type" of ItemJournalLine."Entry Type"::"Assembly Output":Events 1 in 29
| [IntegrationEvent] On | new in 26 |