reportInventoryofficial - Microsoftderived - from the source, no model text

Report 12115 "Calculate End Year Costs" (IT)

IT country layer · Microsoft.Inventory.Costing

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 2 connected objects and pages

https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Italy/fiscal-inventory-valuation (Learn pages)https://learn.microsoft.com/…https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Italy/how-to-set-up-initial-item-costs (Learn pages)https://learn.microsoft.com/…

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

IT country layer · Microsoft.Inventory.Costing · captioned “Calculate Year Costs” · BC29-30 · source at 4e6a307c · facts from BC29

An object of the IT localization, not part of W1.

Properties

Property Value
Caption Calculate Year Costs
UsageCategory ReportsAndAnalysis
ApplicationArea Basic, Suite

Events published

  • OnBeforeInitPurchFields(var ItemCostHistory: Record "Item Cost History"; var IsHandled: Boolean) (integration)
  • OnInitPurchFieldsOnAfterSetItemLedgerEntryFilters(var ItemCostHistory: Record "Item Cost History"; var ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean) (integration)
  • OnUpdateCostsOnAfterGetProdOrdOutput(ProdOrdOutput: Decimal; var IsHandled: Boolean; var ProdAmt: Decimal) (integration)

Procedures

  • InitItemCostHistory()
  • CalcStartYearInv(): Decimal
  • CalcEndYearInv(): Decimal
  • InitPurchFields()
  • CalcPurchFIFOCost(): Decimal
  • CalcPurchLIFOCost(): Decimal
  • InitProdFields()
  • CalcProdLIFOCost(): Decimal
  • UpdateEstimatedCosts(ProdOrderLine: Record "Prod. Order Line"; UpdateItemCostHistory: Boolean): Decimal
  • CalcWeighAvgCost(): Decimal
  • GetAdjCosts(var TotInvoicedQty: Decimal; var TotInvoicedAmt: Decimal; var NotInvoicedQty: Decimal; var NotInvoicedAmt: Decimal)
  • NewLIFOBand(ClosedBy: Integer)
  • UpdateDiscLIFOCost()
  • DoAbsorbtion(TotalBandQty: Decimal)
  • DoDistribution(var NewBand: Boolean; Quantity: Decimal; TotalBandQty: Decimal): Boolean
  • GetRoutingCost(var DirectRtgAmt: Decimal; var OverheadRtgAmt: Decimal; var SubconAmt: Decimal)
  • CalcCosts(CalcLIFO: Boolean; var EndYearInv: Decimal; var Cost: Decimal; Qty: Decimal; Amt: Decimal)
  • UpdateExpCostExist(PostingDate: Date; StartingDate: Date)
  • GetBefStartItemQtyAndCost(var BefStItemQty: Decimal; var BefStItemCost: Decimal)
  • SetBefStItemFilters(var BefStartItemCost: Record "Before Start Item Cost"; StartDate: Date; EndDate: Date)
  • SetItemLedgerEntryFilters(var ItemLedgerEntry: Record "Item Ledger Entry"; StartDate: Date; EndDate: Date; FilterTxt: Text[5]; EntryType: Enum "Item Ledger Entry Type")
  • ItemLedgEntryExist(): Boolean
  • SetStartDateAndRefDate(CompetenceYear: Date)
  • GetComponentCost(): Decimal
  • UpdateCosts(UpdateItemCostHistory: Boolean): Decimal
  • GetProdOrderOutput(): Decimal
  • GetPurchAmt(ItemLedgEntry: Record "Item Ledger Entry"): Decimal
  • GetProdAmt(ItemLedgEntry2: Record "Item Ledger Entry"; UpdateItemCostHistory: Boolean): Decimal
  • SetItemCostHistFilter(CompYearDate: Date; FilterTxt: Text[4]; Def: Boolean)

Triggers

OnPostReport, OnPreReport

Documented on Microsoft Learn

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "report", object_name: "Calculate End Year Costs"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

A IT country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.

Evidence 1 sources