Codeunit 7027 Std. Item Jnl. Line - Price

Base Application, Microsoft.Inventory.Journal

Source AL, 229 lines

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

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

All 229 lines

Events 4 in 29

[IntegrationEvent] OnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; StandardItemJournalLine: Record "Standard Item Journal Line")17-29
[IntegrationEvent] OnAfterSetPrice(var StandardItemJournalLine: Record "Standard Item Journal Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type")17-29
[IntegrationEvent] OnAfterIsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer; StandardItemJournalLine: Record "Standard Item Journal Line"; var Result: Boolean)new in 21
[IntegrationEvent] OnBeforeSetPrice(var StandardItemJournalLine: Record "Standard Item Journal Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean; CurrPriceType: Enum "Price Type")new in 22

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 22

List17181920212223242526272829
Events11
[IntegrationEvent] OnBeforeSetPrice(var StandardItemJournalLine: Record "Standard Item Journal Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean; CurrPriceType: Enum "Price Type")new in 22
added

All 2 changes in 17-29