---
id: object/table/93
type: object
title: Table 93 "Vendor Posting Group"
summary: Table 93 "Vendor Posting Group" in Base Application (Microsoft.Purchases.Vendor). 14 fields, 8 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.
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: 3bf2d9f676438056adbdcf237ce90a782114c47bd1f141d59d2b1fe3e24c3a2a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Vendor/VendorPostingGroup.Table.al
    title: src/Layers/W1/BaseApp/Purchases/Vendor/VendorPostingGroup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/au
    - localization/ca
    - localization/es
    - localization/mx
    - localization/nz
    - localization/ru
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 93
name: Vendor Posting Group
namespace: Microsoft.Purchases.Vendor
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries:
  - au
  - ca
  - es
  - mx
  - nz
  - ru
  - us
ms_search_form_ids: []
counts:
  fields: 14
  procedures: 12
  events: 0
  subscribers: 0
relations:
  out: 12
  referenced_by: 24
  pages: 2
  extended_by: 1
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 93 "Vendor Posting Group"

> Table 93 "Vendor Posting Group" in Base Application (Microsoft.Purchases.Vendor). 14 fields, 8 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Vendor 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 an identifier for the vendor posting group. | NotBlank |
| 2 | Payables Account | Code[20] | Specifies the general ledger account to use when you post payables due to vendors in this posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 7 | Service Charge Acc. | Code[20] | Specifies the general ledger account to use when you post service charges due to vendors in this posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 8 | Payment Disc. Debit Acc. | Code[20] | Specifies the general ledger account to use when you post reductions in payment discounts received from vendors in this posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 9 | Invoice Rounding Account | Code[20] | Specifies the general ledger account to use when amounts result from invoice rounding when you post transactions that involve vendors. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 10 | Debit Curr. Appln. Rndg. Acc. | Code[20] | Specifies the general ledger account to use when you post rounding differences. These differences can occur when you apply entries in different currencies to one another. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 11 | Credit Curr. Appln. Rndg. Acc. | Code[20] | Specifies the general ledger account to use when you post rounding differences. These differences can occur when you apply entries in different currencies to one another. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 12 | Debit Rounding Account | Code[20] | Specifies the general ledger account number to use when you post rounding differences from a remaining amount. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 13 | Credit Rounding Account | Code[20] | Specifies the general ledger account number to use when you post rounding differences from a remaining amount. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 16 | Payment Disc. Credit Acc. | Code[20] | Specifies the general ledger account to use when you post payment discounts received from vendors in this posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 17 | Payment Tolerance Debit Acc. | Code[20] | Specifies the general ledger account number to use when you post purchase tolerance amounts and payments for purchases. This applies to this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 18 | Payment Tolerance Credit Acc. | Code[20] | Specifies the general ledger account number to use when you post purchase tolerance amounts and payments for purchases. This applies to this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 20 | Description | Text[100] | Specifies the description for the vendor posting group. |  |
| 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. |  |

## Keys

- Key1: Code (clustered)

## Procedures

- `GetPayablesAccount(): Code[20]`
- `GetPmtDiscountAccount(Debit: Boolean): Code[20]`
- `GetPmtToleranceAccount(Debit: Boolean): Code[20]`
- `GetRoundingAccount(Debit: Boolean): Code[20]`
- `GetApplRoundingAccount(Debit: Boolean): Code[20]`
- `GetInvRoundingAccount(): Code[20]`
- `GetServiceChargeAccount(): Code[20]`
- `SetAccountVisibility(var PmtToleranceVisible: Boolean; var PmtDiscountVisible: Boolean; var InvRoundingVisible: Boolean; var ApplnRoundingVisible: Boolean)`

Plus 4 local procedures.

## Triggers

OnDelete

## Relations

- lookup page [Page 111 "Vendor Posting Groups"](../page/111.md)
- Credit Curr. Appln. Rndg. Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Credit Rounding Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Debit Curr. Appln. Rndg. Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Debit Rounding Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Invoice Rounding Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Payables Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Payment Disc. Credit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Payment Disc. Debit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Payment Tolerance Credit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Payment Tolerance Debit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Service Charge Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)

## Referenced by

24 fields in 23 objects relate to this table (TableRelation or CalcFormula).

- [Table 961 "Alt. Vendor Posting Group"](../table/961.md): Alt. Vendor Posting Group, Vendor Posting Group
- [Table 120 "Purch. Rcpt. Header"](../table/120.md): Vendor Posting Group
- [Table 122 "Purch. Inv. Header"](../table/122.md): Vendor Posting Group
- [Table 124 "Purch. Cr. Memo Hdr."](../table/124.md): Vendor Posting Group
- [Table 1383 "Vendor Templ."](../table/1383.md): Vendor Posting Group
- [Table 1692 "Posted Bank Deposit Line"](../table/1692.md): Posting Group
- [Table 181 "Posted Gen. Journal Line"](../table/181.md): Posting Group
- [Table 23 "Vendor"](../table/23.md): Vendor Posting Group
- [Table 25 "Vendor Ledger Entry"](../table/25.md): Vendor Posting Group
- [Table 38 "Purchase Header"](../table/38.md): Vendor Posting Group
- [Table 380 "Detailed Vendor Ledg. Entry"](../table/380.md): Posting Group
- [Table 4404 "EXR Top Vendor Report Buffer"](../table/4404.md): Vendor Posting Group
- [Table 4763 "Whse Demo Data Setup"](../table/4763.md): Vendor Posting Group
- [Table 5109 "Purchase Header Archive"](../table/5109.md): Vendor Posting Group
- [Table 5477 "Purch. Inv. Entity Aggregate"](../table/5477.md): Vendor Posting Group
- [Table 5496 "Purchase Order Entity Buffer"](../table/5496.md): Vendor Posting Group
- [Table 5508 "Purch. Cr. Memo Entity Buffer"](../table/5508.md): Vendor Posting Group
- [Table 5802 "Value Entry"](../table/5802.md): Source Posting Group
- [Table 6650 "Return Shipment Header"](../table/6650.md): Vendor Posting Group
- [Table 751 "Standard General Journal Line"](../table/751.md): Posting Group
- [Table 81 "Gen. Journal Line"](../table/81.md): Posting Group
- [Table 83 "Item Journal Line"](../table/83.md): Source Posting Group
- [Table 86 "Exch. Rate Adjmt. Reg."](../table/86.md): Posting Group

## Pages and codeunits on this table

- [Page 111 "Vendor Posting Groups"](../page/111.md) (source table)
- [Page 149 "Vendor Posting Group Card"](../page/149.md) (source table)

## Extended by

- [Table extension 6804 "WHT Vend Posting Group Ext"](../tableextension/6804.md)

## 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) (7 calls: `GetApplRoundingAccount → LogVendPostingGroupFieldError`, `GetInvRoundingAccount → LogVendPostingGroupFieldError`, `GetPayablesAccount → LogVendPostingGroupFieldError`, …)
- [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, BC28

## Countries that replace it

[AU](../../localizations/au.md), [CA](../../localizations/ca.md), [ES](../../localizations/es.md), [MX](../../localizations/mx.md), [NZ](../../localizations/nz.md), [RU](../../localizations/ru.md), [US](../../localizations/us.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: "Vendor Posting Group")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
