Codeunit 7022 Item Journal Line - Price

Base Application, Microsoft.Inventory.Journal

Source AL, 244 lines

src/Layers/W1/BaseApp/Inventory/Journal/ItemJournalLinePrice.Codeunit.allines 14 to 29 of 244, Copyright (c) Microsoft Corporation. MIT

codeunit 7022 "Item Journal Line - Price" implements "Line With Price"{    var        ItemJournalLine: Record "Item Journal Line";        PriceSourceList: Codeunit "Price Source List";        CurrPriceType: Enum "Price Type";        PriceCalculated: Boolean;        DiscountIsAllowed: Boolean;        IsSKU: Boolean;    procedure GetTableNo(): Integer    begin        exit(Database::"Item Journal Line")    end;    procedure SetLine(PriceType: Enum "Price Type"; Line: Variant)

All 244 lines

Events 6 in 29

[IntegrationEvent] OnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; ItemJournalLine: Record "Item Journal Line")17-29
[IntegrationEvent] OnAfterSetPrice(var ItemJournalLine: Record "Item Journal Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type")17-29
[IntegrationEvent] OnAfterAddSources(ItemJournalLine: Record "Item Journal Line"; PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List")new in 18
[IntegrationEvent] OnBeforeSetPrice(var ItemJournalLine: Record "Item Journal Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnAfterIsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer; ItemJournalLine: Record "Item Journal Line"; var Result: Boolean)new in 21
[IntegrationEvent] OnAfterGetDocumentDate(var DocumentDate: Date; ItemJournalLine: Record "Item Journal Line")new in 23

Public procedures 16 in 29

GetTableNo(): Integer17-29
SetLine(PriceType: Enum "Price Type"; Line: Variant)17-29
SetLine(PriceType: Enum "Price Type"; Header: Variant; Line: Variant)17-29
SetSources(var NewPriceSourceList: Codeunit "Price Source List")17-29
GetLine(var Line: Variant)17-29
GetLine(var Header: Variant; var Line: Variant)17-29

All 16 procedures

Changes 1 in 23

List17181920212223242526272829
Events1111
[IntegrationEvent] OnAfterGetDocumentDate(var DocumentDate: Date; ItemJournalLine: Record "Item Journal Line")new in 23
added

All 4 changes in 17-29