tableFinanceofficial - Microsoftderived - from the source, no model text

Table 252 "General Posting Setup"

Base Application · Microsoft.Finance.GeneralLedger.Setup

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25unchanged
  4. BC261 fields added, 1 procedures added
  5. BC27-28unchanged
  6. BC2929 fields changed
  7. BC30unchanged

Neighbourhood 14 connected objects and pages

Table 15 "G/L Account" (relates to, 27 links)G/L AccountTable 250 "Gen. Business Posting Group" (relates to)Gen. Business Posting GroupTable 251 "Gen. Product Posting Group" (relates to)Gen. Product Posting GroupPage 314 "General Posting Setup" (pages and codeunits on it, 3 links)General Posting SetupPage 395 "General Posting Setup Card" (pages and codeunits on it)General Posting Setup CardTable extension 8066 "General Posting Setup" (extended by)General Posting SetupCodeunit 8068 "Vendor Deferrals Mngmt." (event subscribers)Vendor Deferrals Mngmt.Codeunit 48 "PostingSetupManagement" (calls, 23 links)PostingSetupManagementCodeunit 570 "G/L Account Category Mgt." (calls)G/L Account Category Mgt.Payment tolerance and payment discount tolerance (Learn pages)Payment tolerance and paymen…Set up prepayments (Learn pages)Set up prepaymentsSubscription contract deferrals (Learn pages)Subscription contract deferr…Understand the general ledger and Chart of Accounts (Learn pages)Understand the general ledge…Understanding the Chart of Accounts (Learn pages)Understanding the Chart of A…

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Finance.GeneralLedger.Setup · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 314 “General Posting Setup” (5 Learn pages), Page 395 “General Posting Setup Card” (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 Δ BC29 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” (Gen. Business Posting Group)
2 Gen. Prod. Posting Group Δ BC29 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” (Gen. Product Posting Group); NotBlank
10 Sales Account Δ BC29 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” (G/L Account)
11 Sales Line Disc. Account Δ BC29 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” (G/L Account)
12 Sales Inv. Disc. Account Δ BC29 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” (G/L Account)
13 Sales Pmt. Disc. Debit Acc. Δ BC29 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” (G/L Account)
14 Purch. Account Δ BC29 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” (G/L Account)
15 Purch. Line Disc. Account Δ BC29 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” (G/L Account)
16 Purch. Inv. Disc. Account Δ BC29 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” (G/L Account)
17 Purch. Pmt. Disc. Credit Acc. Δ BC29 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” (G/L Account)
18 COGS Account Δ BC29 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” (G/L Account)
19 Inventory Adjmt. Account Δ BC29 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” (G/L Account)
27 Sales Credit Memo Account Δ BC29 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” (G/L Account)
28 Purch. Credit Memo Account Δ BC29 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” (G/L Account)
30 Sales Pmt. Disc. Credit Acc. Δ BC29 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” (G/L Account)
31 Purch. Pmt. Disc. Debit Acc. Δ BC29 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” (G/L Account)
32 Sales Pmt. Tol. Debit Acc. Δ BC29 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” (G/L Account)
33 Sales Pmt. Tol. Credit Acc. Δ BC29 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” (G/L Account)
34 Purch. Pmt. Tol. Debit Acc. Δ BC29 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” (G/L Account)
35 Purch. Pmt. Tol. Credit Acc. Δ BC29 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” (G/L Account)
36 Sales Prepayments Account Δ BC29 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” (G/L Account)
37 Purch. Prepayments Account Δ BC29 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” (G/L Account)
50 Description Δ BC29 Text[100] Specifies a description of the general posting setup.
51 View All Accounts on Lookup Δ BC29 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 Δ BC29 Boolean Specifies if this particular combination of general business posting group and general product posting group is blocked.
5600 Purch. FA Disc. Account Δ BC29 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” (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). via Page 395 “General Posting Setup Card” TableRelation Table 15 “G/L Account” (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. via Page 395 “General Posting Setup Card” TableRelation Table 15 “G/L Account” (G/L Account)
6000 Direct Cost Non-Inv. App. Acc. + BC26 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” (G/L Account)
99000752 Direct Cost Applied Account Δ BC29 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” (G/L Account)
99000753 Overhead Applied Account Δ BC29 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” (G/L Account)
99000754 Purchase Variance Account Δ BC29 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” (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.
  • 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] + BC26: 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

Pages and codeunits on this table

Extended by

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.

Countries that replace it

ES, RU

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.

Evidence 1 sources