---
id: object/table/5813
type: object
title: Table 5813 "Inventory Posting Setup"
summary: Table 5813 "Inventory Posting Setup" in Base Application (Microsoft.Inventory.Item). 13 fields, 11 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26-28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 96262faf7af995fdbc603918ddfd9384c266708e14625b120beefcd38f1f38d5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Item/InventoryPostingSetup.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Item/InventoryPostingSetup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/ru
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5813
name: Inventory Posting Setup
namespace: Microsoft.Inventory.Item
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries:
  - ru
ms_search_form_ids: []
counts:
  fields: 13
  procedures: 15
  events: 1
  subscribers: 0
relations:
  out: 13
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 1
  calls: 2
  called_by: 0
  implements: 0
---

# Table 5813 "Inventory Posting Setup"

> Table 5813 "Inventory Posting Setup" in Base Application (Microsoft.Inventory.Item). 13 fields, 11 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26-28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Inventory Posting Setup |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Location Code | Code[10] | Specifies the location code for setting up posting groups of inventory to general ledger. | TableRelation [Table 14 "Location"](../table/14.md) |
| 2 | Invt. Posting Group Code | Code[20] | Specifies the code for the inventory posting group, in the combination of location and inventory posting group, that you are setting up. | TableRelation [Table 94 "Inventory Posting Group"](../table/94.md) (Inventory Posting Group); NotBlank |
| 6 | Inventory Account | Code[20] | Specifies the number of the G/L account to which to post transactions with the expected cost for items in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 20 | Description | Text[100] | Specifies a description of the combination of inventory posting groups and locations. |  |
| 21 | View All Accounts on Lookup | Boolean | Specifies that all possible accounts are shown when you look up from a field. If the check box is not selected, then only accounts related to the involved account category are shown. |  |
| 5800 | Inventory Account (Interim) | Code[20] | Specifies the number of the general ledger account to which to post transactions with the expected cost for items in this combination. <small>via [Page 5831 "Inventory Posting Setup Card"](../page/5831.md)</small> | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000750 | WIP Account | Code[20] | Specifies the general ledger account number to which to post transactions for items in WIP inventory in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000753 | Material Variance Account | Code[20] | Specifies the number of the general ledger account to which to post material variance transactions for items in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000754 | Capacity Variance Account | Code[20] | Specifies the number of the general ledger account to which to post capacity variance transactions for items in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000755 | Mfg. Overhead Variance Account | Code[20] | Specifies the general ledger account number to which to post manufacturing overhead variance transactions for items in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000756 | Cap. Overhead Variance Account | Code[20] | Specifies the general ledger account number to which to post capacity overhead variance transactions for items in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000757 | Subcontracted Variance Account | Code[20] | Specifies the general ledger account number to which to post subcontracted variance transactions for items in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000758 | Mat. Non-Inv. Variance Acc. | Code[20] | Specifies the general ledger account number to which to post material non-inventory variance transactions for items in this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |

## Keys

- Key1: Location Code, Invt. Posting Group Code (clustered)

## Events published

- `OnAfterSuggestSetupAccount(var InventoryPostingSetup: Record "Inventory Posting Setup"; RecRef: RecordRef)` (integration)
  - subscribers: [Codeunit 99000795 "Mfg. Item Integration"](../codeunit/99000795.md) OnAfterSuggestSetupAccount

## Procedures

- `GetInventoryAccount(): Code[20]`
- `GetInventoryAccountInterim(): Code[20]`
- `GetCapacityVarianceAccount(): Code[20]`
- `GetCapOverheadVarianceAccount(): Code[20]`
- `GetMaterialVarianceAccount(): Code[20]`
- `GetMaterialNonInventoryVarianceAccount(): Code[20]`
- `GetMfgOverheadVarianceAccount(): Code[20]`
- `GetSubcontractedVarianceAccount(): Code[20]`
- `GetWIPAccount(): Code[20]`
- `SuggestSetupAccounts()`
- `SuggestAccount(var RecRef: RecordRef; AccountFieldNo: Integer)`

Plus 3 local procedures.

## Triggers

OnDelete

## Relations

- drill-down page [Page 5826 "Inventory Posting Setup"](../page/5826.md)
- lookup page [Page 5826 "Inventory Posting Setup"](../page/5826.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Cap. Overhead Variance Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Capacity Variance Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Inventory Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Inventory Account (Interim): TableRelation [Table 15 "G/L Account"](../table/15.md)
- Mat. Non-Inv. Variance Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Material Variance Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Mfg. Overhead Variance Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Subcontracted Variance Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- WIP Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Invt. Posting Group Code: TableRelation [Table 94 "Inventory Posting Group"](../table/94.md)

## Pages and codeunits on this table

- [Page 5826 "Inventory Posting Setup"](../page/5826.md) (source table)
- [Page 5831 "Inventory Posting Setup Card"](../page/5831.md) (source table)

## 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 48 "PostingSetupManagement"](../codeunit/48.md) (9 calls: `GetCapacityVarianceAccount → LogInventoryPostingSetupFieldError`, `GetCapOverheadVarianceAccount → LogInventoryPostingSetupFieldError`, `GetInventoryAccount → LogInventoryPostingSetupFieldError`, …)
- [Codeunit 570 "G/L Account Category Mgt."](../codeunit/570.md) (2 calls: `CheckGLAccount → CheckGLAccount`, `LookupGLAccount → LookupGLAccount`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26-28

## Countries that replace it

[RU](../../localizations/ru.md)

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: "table", object_name: "Inventory Posting Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
