---
id: object/report/1002
type: object
title: Report 1002 "Post Inventory Cost to G/L"
summary: Report 1002 "Post Inventory Cost to G/L" in Base Application (Microsoft.Inventory.Costing). 3 public procedures, 8 events. Present since at least BC23, still in BC30, changed in BC26, BC28-29.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: ab021932a486f14a007626da447503a02252c79e3eac14bf4cc5cf016cf77cea
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Costing/PostInventoryCosttoGL.Report.al
    title: src/Layers/W1/BaseApp/Inventory/Costing/PostInventoryCosttoGL.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11309
    - change/bcapps/11144
object_type: report
object_id: 1002
name: Post Inventory Cost to G/L
namespace: Microsoft.Inventory.Costing
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "26"
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 17
  events: 8
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Report 1002 "Post Inventory Cost to G/L"

> Report 1002 "Post Inventory Cost to G/L" in Base Application (Microsoft.Inventory.Costing). 3 public procedures, 8 events. Present since at least BC23, still in BC30, changed in BC26, BC28-29.

Base Application · Microsoft.Inventory.Costing · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Costing/PostInventoryCosttoGL.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Post Inventory Cost to G/L |
| UsageCategory | Tasks |
| ApplicationArea | Basic, Suite |
| Permissions | TableData "Item Ledger Entry" = r, TableData "Invt. Posting Buffer" = r, #if not CLEAN28 TableData Microsoft.Manufacturing.Document."Prod. Order Line" = r, #endif TableData "Value Entry" = rm, TableData "Post Value Entry to G/L" = rd, TableData Microsoft.Manufacturing.Capacity."Capacity Ledger Entry... |

## Events published

- `OnAfterGetItemValueEntry(var ItemValueEntry: Record "Value Entry")` (integration)
- `OnAfterInsertValueEntryNoBuf(ValueEntry: Record "Value Entry"; var TempValueEntry: Record "Value Entry" temporary)` (integration)
- `OnAfterOnPreDataItem(var PostValueEntryToGL: Record "Post Value Entry to G/L"; CompanyName: Text)` (integration)
- `OnBeforeOnOpenPage(var DocNo: Code[20])` (integration)
- `OnBeforePreReport(var Item: Record Item; var ItemValueEntry: Record "Value Entry"; var PostValueEntryToGL: Record "Post Value Entry to G/L"; Post: Boolean)` (integration)
- `OnBeforeUpdateAmounts(var ItemValueEntry: Record "Value Entry")` (integration)
- `OnPreReportOnAfterSetDocNo(var DocNo: Code[20]; Post: Boolean)` (integration)
- `OnSkippedvalueEntryOnOfterGetRecordOnBeforeSkip(ValueEntry: Record "Value Entry"; var ShouldSkip: Boolean)` (integration)

## Procedures

- `InitializeRequest(NewPostMethod: Option; NewDocNo: Code[20]; NewPost: Boolean)`
- `SetGenJnlBatch(NewJnlTemplName: Code[10]; NewJnlBatchName: Code[10])`
- `GetParameters(var NewPostMethod: Option; var NewDocNo: Code[20]; var NewPost: Boolean)`

Plus 6 local procedures.

## Triggers

OnInitReport, OnPostReport, OnPreReport

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 5802 "Inventory Posting To G/L"](../codeunit/5802.md) (4 calls: `PostEntryToGL → (object)`, `PostEntryToGL → Initialize`, `PostEntryToGL → SetGenJnlBatch`, …)
- [Codeunit 410 "Update Analysis View"](../codeunit/410.md) (1 call: `OnPostReport → UpdateAll`)
- [Page 456 "No. Series"](../page/456.md) (1 call: `OnPreReport → (object)`)

## Recent changes

- 2026-09-14 [#11309 [29.X]-Post Inventory Cost to G/L fails when concatenated dimension text exceeds 250 characters](../../changes/bcapps/11309.md) (releases/29.x, BC29, fix)
- 2026-09-12 [#11144 [Master]-Post Inventory Cost to G/L fails when concatenated dimension text exceeds 250 characters](../../changes/bcapps/11144.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC26, BC28-29

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). The call sections above are our own, per object, from the BC29 call graph. 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: "Post Inventory Cost to G/L")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
