---
id: object/table/252
type: object
title: Table 252 "General Posting Setup"
summary: Table 252 "General Posting Setup" in Base Application (Microsoft.Finance.GeneralLedger.Setup). 32 fields, 33 public procedures, 25 events. Present since at least BC23, still in BC30, changed in BC24, BC26, 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: e14d6525480ade812362359a6317a99987eaaf3a03849747a0132e0047948bab
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/GeneralPostingSetup.Table.al
    title: src/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/GeneralPostingSetup.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-payment-tolerance-and-payment-discount-tolerance
    - https://learn.microsoft.com/dynamics365/business-central/finance-set-up-prepayments
    - https://learn.microsoft.com/dynamics365/business-central/SRB/working-with-contracts/contract-deferrals
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/financial-analytics/built-in-finance-analysis-tools
    - topic/business-central/business-functionality/finance/invoicing-prepayments
    - topic/business-central/business-functionality/finance/manage-payables
    - topic/business-central/business-functionality/finance/manage-receivables
    - topic/business-central/business-functionality/finance/work-with-the-chart-of-accounts-and-gene
    - topic/business-central/business-functionality/sales/subscription-billing/contracts
    - topic/business-central/business-functionality/set-up-business-central/set-up-finance
  localizations:
    - localization/es
    - localization/ru
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 252
name: General Posting Setup
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"
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries:
  - es
  - ru
ms_search_form_ids: []
counts:
  fields: 32
  procedures: 65
  events: 25
  subscribers: 0
relations:
  out: 31
  referenced_by: 0
  pages: 2
  extended_by: 1
  event_subscribers: 1
  calls: 2
  called_by: 0
  implements: 0
---

# Table 252 "General Posting Setup"

> Table 252 "General Posting Setup" in Base Application (Microsoft.Finance.GeneralLedger.Setup). 32 fields, 33 public procedures, 25 events. Present since at least BC23, still in BC30, changed in BC24, BC26, 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/GeneralPostingSetup.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 314 "General Posting Setup"](../page/314.md) (5 Learn pages), [Page 395 "General Posting Setup Card"](../page/395.md) (3).

## Properties

| Property | Value |
|---|---|
| Caption | General 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 | Gen. Bus. Posting Group | Code[20] | Specifies the vendor's or customer's trade type to link transactions made for this business partner with the appropriate general ledger account according to the general posting setup. | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group) |
| 2 | Gen. Prod. Posting Group | Code[20] | Specifies the item's product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup. | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group); NotBlank |
| 10 | Sales Account | Code[20] | Specifies the number of the general ledger sales account to which the program will post sales transactions with this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 11 | Sales Line Disc. Account | Code[20] | Specifies the general ledger account number to post customer/item and quantity discounts when you post sales transactions with this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 12 | Sales Inv. Disc. Account | Code[20] | Specifies the general ledger account number to which to post sales invoice discount amounts when you post sales transactions for this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 13 | Sales Pmt. Disc. Debit Acc. | Code[20] | Specifies the general ledger account number to post granted sales payment discount amounts when you post payments for sales with this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 14 | Purch. Account | Code[20] | Specifies the general ledger account number to which the program will post purchase transactions with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 15 | Purch. Line Disc. Account | Code[20] | Specifies the general ledger account number to which to post purchase line discount amounts with this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 16 | Purch. Inv. Disc. Account | Code[20] | Specifies the general ledger account number to which to post purchase invoice discount amounts with this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 17 | Purch. Pmt. Disc. Credit Acc. | Code[20] | Specifies the general ledger account number to which to post received purchase payment discount amounts when you post payments for purchases with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 18 | COGS Account | Code[20] | Specifies the general ledger account number to which to post the cost of goods sold with this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 19 | Inventory Adjmt. Account | Code[20] | Specifies the general ledger account number to which to post inventory adjustments (positive and negative) with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 27 | Sales Credit Memo Account | Code[20] | Specifies the general ledger account number to which the program will post transactions involving sales credit memos for this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 28 | Purch. Credit Memo Account | Code[20] | Specifies the general ledger account number to which the program will post transactions involving purchase credit memos for this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 30 | Sales Pmt. Disc. Credit Acc. | Code[20] | Specifies the general ledger account number to which to post reductions in sales payment discount amounts when you post payments for sales with this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 31 | Purch. Pmt. Disc. Debit Acc. | Code[20] | Specifies the general ledger account number to which to post reductions in purchase payment discount amounts when you post payments for purchases with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 32 | Sales Pmt. Tol. Debit Acc. | Code[20] | Specifies the number of the G/L account to which you want the program to post payment tolerance for purchases with this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 33 | Sales Pmt. Tol. Credit Acc. | Code[20] | Specifies the number of the G/L account to which you want the program to post payment tolerance for purchases with this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 34 | Purch. Pmt. Tol. Debit Acc. | Code[20] | Specifies the number of the G/L account to which you want the program to post payment tolerance for purchases with this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 35 | Purch. Pmt. Tol. Credit Acc. | Code[20] | Specifies the number of the G/L account to which you want the program to post payment tolerance for purchases with this combination. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 36 | Sales Prepayments Account | Code[20] | Specifies the general ledger account number to which to post sales prepayment amounts when you post prepayment invoices from a sales order for this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 37 | Purch. Prepayments Account | Code[20] | Specifies the general ledger account number to which to post purchase prepayment amounts when you post prepayment invoices from a purchase order for this particular combination of business group and product group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 50 | Description | Text[100] | Specifies a description of the general posting setup. |  |
| 51 | 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. |  |
| 52 | Blocked | Boolean | Specifies if this particular combination of general business posting group and general product posting group is blocked. |  |
| 5600 | Purch. FA Disc. Account | Code[20] | Specifies the account the line and invoice discount will be posted to when a check mark is placed in the Subtract Disc. in Purch. Inv. field. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 5801 | Invt. Accrual Acc. (Interim) | Code[20] | Specifies the number of the G/L account to which you want the program to post expected inventory adjustments (positive and negative). <small>via [Page 395 "General Posting Setup Card"](../page/395.md)</small> | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 5803 | COGS Account (Interim) | Code[20] | Specifies the interim G/L account number to which you want the program to post the expected cost of goods sold. <small>via [Page 395 "General Posting Setup Card"](../page/395.md)</small> | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 6000 | Direct Cost Non-Inv. App. Acc. | Code[20] | Specifies the general ledger account number to post the direct cost non-inventory applied with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000752 | Direct Cost Applied Account | Code[20] | Specifies the general ledger account number to post the direct cost applied with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000753 | Overhead Applied Account | Code[20] | Specifies the general ledger account number to post the overhead applied with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 99000754 | Purchase Variance Account | Code[20] | Specifies the general ledger account number to post the direct cost applied with this particular combination of business posting group and product posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |

## Keys

- Key1: Gen. Bus. Posting Group, Gen. Prod. Posting Group (clustered)
- Key2: Gen. Prod. Posting Group, Gen. Bus. Posting Group

## Events published

- `OnAfterSuggestInvtAccounts(var GeneralPostingSetup: Record "General Posting Setup"; var RecRef: RecordRef)` (integration): Integration event raised after suggesting inventory-related G/L account assignments during posting setup account suggestion. Enables custom logic for modifying suggested inventory accounts based on business requirements.
- `OnAfterSuggestSalesAccounts(var GeneralPostingSetup: Record "General Posting Setup"; var RecRef: RecordRef)` (integration): Integration event raised after suggesting sales-related G/L account assignments during posting setup account suggestion. Enables custom logic for modifying suggested sales accounts based on business requirements.
- `OnAfterSuggestPurchAccounts(var GeneralPostingSetup: Record "General Posting Setup"; var RecRef: RecordRef)` (integration): Integration event raised after suggesting purchase-related G/L account assignments during posting setup account suggestion. Enables custom logic for modifying suggested purchase accounts based on business requirements.
- `OnBeforeGetSalesPrepmtAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving sales prepayment account number. Enables custom account retrieval logic for sales prepayment transactions.
- `OnBeforeGetPurchPrepmtAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase prepayment account number. Enables custom account retrieval logic for purchase prepayment transactions.
- `OnBeforeGetCOGSAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving cost of goods sold account number. Enables custom account retrieval logic for COGS transactions.
- `OnBeforeGetCOGSInterimAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving interim cost of goods sold account number. Enables custom account retrieval logic for interim COGS transactions.
- `OnBeforeGetInventoryAdjmtAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving inventory adjustment account number. Enables custom account retrieval logic for inventory adjustment transactions.
- `OnBeforeGetInventoryAccrualAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving inventory accrual account number. Enables custom account retrieval logic for inventory accrual transactions.
- `OnBeforeGetSalesAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving sales account number. Enables custom account retrieval logic for sales transactions.
- `OnBeforeGetSalesCrMemoAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving sales credit memo account number. Enables custom account retrieval logic for sales credit memo transactions.
- `OnBeforeGetSalesInvDiscAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving sales invoice discount account number. Enables custom account retrieval logic for sales invoice discount transactions.
- `OnBeforeGetSalesLineDiscAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving sales line discount account number. Enables custom account retrieval logic for sales line discount transactions.
- `OnBeforeGetSalesPmtDiscountAccount(Debit: Boolean; var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving sales payment discount account number. Enables custom account retrieval logic for sales payment discount transactions.
- `OnBeforeGetSalesPmtToleranceAccount(Debit: Boolean; var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving sales payment tolerance account number. Enables custom account retrieval logic for sales payment tolerance transactions.
- `OnBeforeGetPurchAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase account number. Enables custom account retrieval logic for purchase transactions.
- `OnBeforeGetPurchCrMemoAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase credit memo account number. Enables custom account retrieval logic for purchase credit memo transactions.
- `OnBeforeGetPurchInvDiscAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase invoice discount account number. Enables custom account retrieval logic for purchase invoice discount transactions.
- `OnBeforeGetPurchLineDiscAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase line discount account number. Enables custom account retrieval logic for purchase line discount transactions.
  - subscribers: [Codeunit 8068 "Vendor Deferrals Mngmt."](../codeunit/8068.md) SetLineDiscAccountForVendorContractDeferrals
- `OnBeforeGetPurchPmtDiscountAccount(Debit: Boolean; var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase payment discount account number. Enables custom account retrieval logic for purchase payment discount transactions.
- `OnBeforeGetPurchPmtToleranceAccount(Debit: Boolean; var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase payment tolerance account number. Enables custom account retrieval logic for purchase payment tolerance transactions.
- `OnBeforeGetPurchFADiscAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase fixed asset discount account number. Enables custom account retrieval logic for purchase fixed asset discount transactions.
- `OnBeforeGetDirectCostAppliedAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving direct cost applied account number. Enables custom account retrieval logic for manufacturing direct cost applied transactions.
- `OnBeforeGetOverheadAppliedAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving overhead applied account number. Enables custom account retrieval logic for manufacturing overhead applied transactions.
- `OnBeforeGetPurchaseVarianceAccount(var AccountNo: Code[20]; var IsHandled: Boolean)` (integration): Integration event raised before retrieving purchase variance account number. Enables custom account retrieval logic for manufacturing purchase variance transactions.

## Procedures

- `CheckGLAcc(AccNo: Code[20])`: Validates that the specified G/L account exists and is available for posting.
- `CheckOrdersPrepmtToDeduct(ErrorMsg: Text)` (internal)
- `CheckPrepmtSalesLinesToDeduct(ErrorMsg: Text)` (internal)
- `CheckPrepmtPurchLinesToDeduct(ErrorMsg: Text)` (internal)
- `FindSetupMissingSalesDiscountAccount(DiscountPosting: Option; var FieldNumber: Integer): Boolean`: Identifies general posting setup records missing sales discount account configuration for the specified discount posting method.
- `FindSetupMissingPurchDiscountAccount(DiscountPosting: Option; var FieldNumber: Integer): Boolean`: Identifies general posting setup records missing purchase discount account configuration for the specified discount posting method.
- `GetCOGSAccount(): Code[20]`: Retrieves the cost of goods sold account for this posting group combination with error handling for missing configuration.
- `GetCOGSInterimAccount(): Code[20]`: Retrieves the G/L account number for interim cost of goods sold postings.
- `GetInventoryAdjmtAccount(): Code[20]`: Retrieves the G/L account number for inventory adjustment postings.
- `GetInventoryAccrualAccount(): Code[20]`: Retrieves the G/L account number for inventory accrual postings.
- `GetSalesAccount(): Code[20]`: Retrieves the sales account for this posting group combination with error handling for missing configuration.
- `GetSalesCrMemoAccount(): Code[20]`: Retrieves the G/L account number for sales credit memo postings.
- `GetSalesInvDiscAccount(): Code[20]`: Retrieves the G/L account number for sales invoice discount postings.
- `GetSalesLineDiscAccount(): Code[20]`: Retrieves the G/L account number for sales line discount postings.
- `GetSalesPmtDiscountAccount(Debit: Boolean): Code[20]`: Retrieves the G/L account number for sales payment discount postings.
- `GetSalesPmtToleranceAccount(Debit: Boolean): Code[20]`: Retrieves the G/L account number for sales payment tolerance postings.
- `GetSalesPrepmtAccount(): Code[20]`: Retrieves the G/L account number for sales prepayment postings.
- `GetPurchAccount(): Code[20]`: Retrieves the G/L account number for purchase postings.
- `GetPurchCrMemoAccount(): Code[20]`: Retrieves the G/L account number for purchase credit memo postings.
- `GetPurchInvDiscAccount(): Code[20]`: Retrieves the G/L account number for purchase invoice discount postings.
- `GetPurchLineDiscAccount(): Code[20]`: Retrieves the G/L account number for purchase line discount postings.
- `GetPurchPmtDiscountAccount(Debit: Boolean): Code[20]`: Retrieves the G/L account number for purchase payment discount postings.
- `GetPurchPmtToleranceAccount(Debit: Boolean): Code[20]`: Retrieves the G/L account number for purchase payment tolerance postings.
- `GetPurchPrepmtAccount(): Code[20]`: Retrieves the G/L account number for purchase prepayment postings.
- `GetPurchFADiscAccount(): Code[20]`: Retrieves the G/L account number for purchase fixed asset discount postings.
- `GetDirectCostAppliedAccount(): Code[20]`: Retrieves the G/L account number for direct cost applied postings in manufacturing.
- `GetDirectCostNonInvtAppliedAccount(): Code[20]`: Retrieves the G/L account number for direct cost non-inventory applied postings in manufacturing.
- `GetOverheadAppliedAccount(): Code[20]`: Retrieves the G/L account number for overhead applied postings in manufacturing.
- `GetPurchaseVarianceAccount(): Code[20]`: Retrieves the G/L account number for purchase variance postings in manufacturing.
- `SetAccountsVisibility(var PmtToleranceVisible: Boolean; var PmtDiscountVisible: Boolean; var SalesInvDiscVisible: Boolean; var SalesLineDiscVisible: Boolean; var PurchInvDiscVisible: Boolean; var PurchLineDiscVisible: Boolean)`: Configures account field visibility on posting setup pages based on system configuration. Sets visibility flags for payment tolerance, payment discount, and various discount account fields.
- `SuggestSetupAccounts()`: Suggests default G/L account assignments for posting setup configuration. Analyzes existing accounts and recommends appropriate accounts for sales, purchase, and inventory postings.
- `SuggestAccount(var RecRef: RecordRef; AccountFieldNo: Integer)` (protected)
- `LookupGLAccount(var AccountNo: Code[20]; AccountCategory: Option; AccountSubcategoryFilter: Text)` (protected)

Plus 7 local procedures.

## Triggers

OnDelete

## Relations

- drill-down page [Page 314 "General Posting Setup"](../page/314.md)
- lookup page [Page 314 "General Posting Setup"](../page/314.md)
- COGS Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- COGS Account (Interim): TableRelation [Table 15 "G/L Account"](../table/15.md)
- Direct Cost Applied Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Direct Cost Non-Inv. App. Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Inventory Adjmt. Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Invt. Accrual Acc. (Interim): TableRelation [Table 15 "G/L Account"](../table/15.md)
- Overhead Applied Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Credit Memo Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. FA Disc. Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Inv. Disc. Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Line Disc. Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Pmt. Disc. Credit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Pmt. Disc. Debit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Pmt. Tol. Credit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Pmt. Tol. Debit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purch. Prepayments Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Purchase Variance Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Credit Memo Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Inv. Disc. Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Line Disc. Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Pmt. Disc. Credit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Pmt. Disc. Debit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Pmt. Tol. Credit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Pmt. Tol. Debit Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Sales Prepayments Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Gen. Prod. Posting Group: TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md)

## Pages and codeunits on this table

- [Page 314 "General Posting Setup"](../page/314.md) (source table)
- [Page 395 "General Posting Setup Card"](../page/395.md) (source table)

## Extended by

- [Table extension 8066 "General Posting Setup"](../tableextension/8066.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) (23 calls: `GetCOGSAccount → LogGenPostingSetupFieldError`, `GetCOGSInterimAccount → LogGenPostingSetupFieldError`, `GetDirectCostAppliedAccount → LogGenPostingSetupFieldError`, …)
- [Codeunit 570 "G/L Account Category Mgt."](../codeunit/570.md) (1 call: `LookupGLAccount → LookupGLAccount`)

## Across versions

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

## Countries that replace it

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