---
id: object/table/251
type: object
title: Table 251 "Gen. Product Posting Group"
summary: Table 251 "Gen. Product Posting Group" in Base Application (Microsoft.Finance.GeneralLedger.Setup). 4 fields, 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC29.
tier: official
language: en
tags:
  - table
  - 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: 30eeb00b41ea44f7f8d0d77e5fa7505081f45d25b6507dd4bc23e582c9207508
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/GenProductPostingGroup.Table.al
    title: src/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/GenProductPostingGroup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-chart-of-accounts
    - https://learn.microsoft.com/dynamics365/business-central/finance-general-ledger
    - https://learn.microsoft.com/dynamics365/business-central/finance-posting-groups
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_generalproductpostinggroup_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_generalproductpostinggroup
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/financial-analytics/built-in-finance-analysis-tools
    - topic/business-central/business-functionality/finance/work-with-the-chart-of-accounts-and-gene
    - topic/business-central/business-functionality/finance/working-with-value-added-tax-vat/set-up-vat
    - topic/business-central/business-functionality/set-up-business-central/set-up-finance
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 251
name: Gen. Product Posting Group
namespace: Microsoft.Finance.GeneralLedger.Setup
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "29"
source_major: "29"
obsolete: null
countries:
  - es
ms_search_form_ids: []
counts:
  fields: 4
  procedures: 3
  events: 2
  subscribers: 0
relations:
  out: 2
  referenced_by: 94
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 251 "Gen. Product Posting Group"

> Table 251 "Gen. Product Posting Group" in Base Application (Microsoft.Finance.GeneralLedger.Setup). 4 fields, 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC29.

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

Learn documents this table through its pages: [Page 313 "Gen. Product Posting Groups"](../page/313.md) (3 Learn pages), [Page 30079 "APIV2 - Gen. Prod. Post. Group"](../page/30079.md) (2).

## Properties

| Property | Value |
|---|---|
| Caption | Gen. Product Posting Group |
| 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 | Code | Code[20] | Specifies a code for the product posting group. | NotBlank |
| 2 | Description | Text[100] | Specifies a description for the product posting group. |  |
| 3 | Def. VAT Prod. Posting Group | Code[20] | Specifies a default VAT product group code. | TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md) (VAT Product Posting Group) |
| 4 | Auto Insert Default | Boolean | Specifies whether to automatically insert the default VAT product posting group code in the Def. VAT Prod. Posting Group field when you insert the corresponding general product posting group code from the Code field, for example on new item and resource cards, or in the item charges setup. |  |

## Keys

- Key1: Code (clustered)

## Events published

- `OnValidateDefVATProdPostingGroupOnBeforeGLAcc2Modify(var GLAccount: Record "G/L Account"; var GenProductPostingGroup: Record "Gen. Product Posting Group")` (integration): Integration event fired before modifying G/L Account during Default VAT Product Posting Group validation.
- `OnValidateDefVATProdPostingGroupOnBeforeItem2Modify(var Item: Record Item; var GenProductPostingGroup: Record "Gen. Product Posting Group")` (integration): Integration event fired before modifying Item during Default VAT Product Posting Group validation.

## Procedures

- `ValidateVatProdPostingGroup(var GenProdPostingGrp: Record "Gen. Product Posting Group"; EnteredGenProdPostingGroup: Code[20]): Boolean`: Validates and retrieves a General Product Posting Group record by code, indicating if auto-insert is enabled.

## Relations

- lookup page [Page 313 "Gen. Product Posting Groups"](../page/313.md)
- Def. VAT Prod. Posting Group: TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md)

## Referenced by

94 fields in 87 objects relate to this table (TableRelation or CalcFormula).

- [Table 4760 "Manufacturing Demo Data Setup"](../table/4760.md): Manufact Code, Raw Mat Code, Retail Code
- [Table 181 "Posted Gen. Journal Line"](../table/181.md): Bal. Gen. Prod. Posting Group, Gen. Prod. Posting Group
- [Table 27 "Item"](../table/27.md): Gen. Prod. Posting Group, Gen. Prod. Posting Group Id
- [Table 551 "VAT Rate Change Conversion"](../table/551.md): From Code, To Code
- [Table 751 "Standard General Journal Line"](../table/751.md): Bal. Gen. Prod. Posting Group, Gen. Prod. Posting Group
- [Table 81 "Gen. Journal Line"](../table/81.md): Bal. Gen. Prod. Posting Group, Gen. Prod. Posting Group
- [Table 1003 "Job Planning Line"](../table/1003.md): Gen. Prod. Posting Group
- [Table 111 "Sales Shipment Line"](../table/111.md): Gen. Prod. Posting Group
- [Table 113 "Sales Invoice Line"](../table/113.md): Gen. Prod. Posting Group
- [Table 115 "Sales Cr.Memo Line"](../table/115.md): Gen. Prod. Posting Group
- [Table 121 "Purch. Rcpt. Line"](../table/121.md): Gen. Prod. Posting Group
- [Table 123 "Purch. Inv. Line"](../table/123.md): Gen. Prod. Posting Group
- [Table 125 "Purch. Cr. Memo Line"](../table/125.md): Gen. Prod. Posting Group
- [Table 1382 "Item Templ."](../table/1382.md): Gen. Prod. Posting Group
- [Table 15 "G/L Account"](../table/15.md): Gen. Prod. Posting Group
- [Table 156 "Resource"](../table/156.md): Gen. Prod. Posting Group
- [Table 1570 "G/L Entry Posting Preview"](../table/1570.md): Gen. Prod. Posting Group
- [Table 1571 "VAT Entry Posting Preview"](../table/1571.md): Gen. Prod. Posting Group
- [Table 169 "Job Ledger Entry"](../table/169.md): Gen. Prod. Posting Group
- [Table 17 "G/L Entry"](../table/17.md): Gen. Prod. Posting Group
- [Table 1706 "Deferral Posting Buffer"](../table/1706.md): Gen. Prod. Posting Group
- [Table 203 "Res. Ledger Entry"](../table/203.md): Gen. Prod. Posting Group
- [Table 20336 "Transaction Posting Buffer"](../table/20336.md): Gen. Prod. Posting Group
- [Table 207 "Res. Journal Line"](../table/207.md): Gen. Prod. Posting Group
- [Table 210 "Job Journal Line"](../table/210.md): Gen. Prod. Posting Group
- [Table 212 "Job Posting Buffer"](../table/212.md): Gen. Prod. Posting Group
- [Table 221 "Gen. Jnl. Allocation"](../table/221.md): Gen. Prod. Posting Group
- [Table 246 "Requisition Line"](../table/246.md): Gen. Prod. Posting Group
- [Table 252 "General Posting Setup"](../table/252.md): Gen. Prod. Posting Group
- [Table 254 "VAT Entry"](../table/254.md): Gen. Prod. Posting Group
- [Table 296 "Reminder Line"](../table/296.md): Gen. Prod. Posting Group
- [Table 298 "Issued Reminder Line"](../table/298.md): Gen. Prod. Posting Group
- [Table 303 "Finance Charge Memo Line"](../table/303.md): Gen. Prod. Posting Group
- [Table 305 "Issued Fin. Charge Memo Line"](../table/305.md): Gen. Prod. Posting Group
- [Table 37 "Sales Line"](../table/37.md): Gen. Prod. Posting Group
- [Table 376 "G/L Account (Analysis View)"](../table/376.md): Gen. Prod. Posting Group
- [Table 379 "Detailed Cust. Ledg. Entry"](../table/379.md): Gen. Prod. Posting Group
- [Table 380 "Detailed Vendor Ledg. Entry"](../table/380.md): Gen. Prod. Posting Group
- [Table 383 "Detailed CV Ledg. Entry Buffer"](../table/383.md): Gen. Prod. Posting Group
- [Table 39 "Purchase Line"](../table/39.md): Gen. Prod. Posting Group
- [Table 461 "Prepayment Inv. Line Buffer"](../table/461.md): Gen. Prod. Posting Group
- [Table 4763 "Whse Demo Data Setup"](../table/4763.md): Retail Code
- [Table 49 "Invoice Post. Buffer"](../table/49.md): Gen. Prod. Posting Group
- [Table 5108 "Sales Line Archive"](../table/5108.md): Gen. Prod. Posting Group
- [Table 5110 "Purchase Line Archive"](../table/5110.md): Gen. Prod. Posting Group
- [Table 5137 "Job Planning Line Archive"](../table/5137.md): Gen. Prod. Posting Group
- [Table 5405 "Production Order"](../table/5405.md): Gen. Prod. Posting Group
- [Table 55 "Invoice Posting Buffer"](../table/55.md): Gen. Prod. Posting Group
- [Table 5601 "FA Ledger Entry"](../table/5601.md): Gen. Prod. Posting Group
- [Table 5625 "Maintenance Ledger Entry"](../table/5625.md): Gen. Prod. Posting Group
- and 37 more objects (37 fields): data/code/relations/29.json

## Pages and codeunits on this table

- [Page 30079 "APIV2 - Gen. Prod. Post. Group"](../page/30079.md) (source table)
- [Page 313 "Gen. Product Posting Groups"](../page/313.md) (source table)

## Across versions

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

## Countries that replace it

[ES](../../localizations/es.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). 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: "Gen. Product Posting Group")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
