Codeunit 132200 Library - Costing

Application Test Library

Source AL, 659 lines

src/Layers/W1/Tests/ApplicationTestLibrary/LibraryCosting.Codeunit.allines 4 to 19 of 659, Copyright (c) Microsoft Corporation. MIT

codeunit 132200 "Library - Costing"{    trigger OnRun()    begin    end;    var        Assert: Codeunit Assert;        LibraryERM: Codeunit "Library - ERM";        IncorrectCostTxt: Label 'Incorrect Cost Amount in Entry No. %1.';        IncorrectRoundingTxt: Label 'Rounding mismatch of %1 for Inbound Entry No. %2.';        ShouldBeOfRecordTypeErr: Label 'Applies-To should be of type Record.';        WrongRecordTypeErr: Label 'Wrong Record Type.';    procedure AdjustCostItemEntries(ItemNoFilter: Text[250]; ItemCategoryFilter: Text[250])

All 659 lines

Public procedures 20 in 29

AdjustCostItemEntries(ItemNoFilter: Text[250]; ItemCategoryFilter: Text[250])new in 28
CalculateInventoryValue(var ItemJournalLine: Record "Item Journal Line"; var Item: Record Item; NewPostingDate: Date; NewDocNo: Code[20]; NewCalculatePer: Enum "Inventory Value Calc. Per"; NewByLocation: Boolean; NewByVariant: Boolean; NewUpdStdCost: Boolean; NewCalcBase: Enum "Inventory Value Calc. Base"; NewShowDialog: Boolean)new in 28
CopyStandardCostWorksheet(FromStandardCostWorksheetName: Code[10]; ToStandardCostWorksheetName: Code[10])new in 28
CheckAdjustment(Item: Record Item)new in 28
CheckInboundEntriesCost(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)new in 28
CheckProductionOrderCost(ProdOrder: Record "Production Order"; VerifyVarianceinOutput: Boolean)new in 28
Pending, tag 27.0, obsolete since 28: Moved to codeunit LibraryManufacturing

All 20 procedures