Codeunit 1317 Aged Inventory Chart Mgt.

Base Application, Microsoft.Inventory.Analysis

Source AL, 201 lines

src/Layers/W1/BaseApp/Inventory/Analysis/AgedInventoryChartMgt.Codeunit.allines 11 to 26 of 201, Copyright (c) Microsoft Corporation. MIT

codeunit 1317 "Aged Inventory Chart Mgt."{    trigger OnRun()    begin    end;    var        YCaptionTxt: Label 'Inventory Value';        XCaptionTxt: Label 'Time on Inventory';        PeriodStartDate: array[6] of Date;        XFromToYearsTxt: Label '%1..%2 years', Comment = '%1=number of years,%2=number of years';        XFromToDaysTxt: Label '%1..%2 days', Comment = '%1=number of days,%2=number of days';#pragma warning disable AA0470        XOverYearsTxt: Label 'Over %1 years';        XOverDaysTxt: Label 'Over %1 days';

All 201 lines

Public procedures 10 in 29

UpdateChart(var BusChartBuf: Record "Business Chart Buffer")17-29
DrillDown(var BusChartBuf: Record "Business Chart Buffer")17-29
CalcInventoryValuePerAge(var InvtValue: array[5] of Decimal; PeriodStartDate: array[6] of Date)17-29
CalcRemainingQty(ItemLedgerEntry: Record "Item Ledger Entry"; PeriodStartDate: array[6] of Date; var InvtQty: array[5] of Decimal; var PeriodNo: Integer)17-29
CalcUnitCost(ItemLedgerEntry: Record "Item Ledger Entry"): Decimal17-29
GetPeriodLengthInDays(BusChartBuf: Record "Business Chart Buffer"): Integer17-29

All 10 procedures