---
id: object/table/1706
type: object
title: Table 1706 "Deferral Posting Buffer"
summary: Table 1706 "Deferral Posting Buffer" in Base Application (Microsoft.Finance.Deferral). 30 fields, 10 public procedures, 6 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: 580a8b772bd2e5f78aae4760a475a392c09bed1512ba2ee6898ba62a72e7081b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/Deferral/DeferralPostingBuffer.Table.al
    title: src/Layers/W1/BaseApp/Finance/Deferral/DeferralPostingBuffer.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1706
name: Deferral Posting Buffer
namespace: Microsoft.Finance.Deferral
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: []
ms_search_form_ids: []
counts:
  fields: 30
  procedures: 18
  events: 6
  subscribers: 0
relations:
  out: 12
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 1706 "Deferral Posting Buffer"

> Table 1706 "Deferral Posting Buffer" in Base Application (Microsoft.Finance.Deferral). 30 fields, 10 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC24, BC26-28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Deferral Posting Buffer |
| 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 | Entry No. | Integer | — | DataClassification SystemMetadata |
| 2 | Type | Option | — | OptionCaption: Prepmt. Exch. Rate Difference,G/L Account,Item,Resource,Fixed Asset; DataClassification SystemMetadata |
| 3 | G/L Account | Code[20] | — | TableRelation [Table 15 "G/L Account"](../table/15.md) ("G/L Account" where("Account Type" = const(Posting), Blocked = const(false))); NotBlank; DataClassification SystemMetadata |
| 4 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group); DataClassification SystemMetadata |
| 5 | Gen. Prod. Posting Group | Code[20] | — | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group); DataClassification SystemMetadata |
| 6 | VAT Bus. Posting Group | Code[20] | — | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group); DataClassification SystemMetadata |
| 7 | VAT Prod. Posting Group | Code[20] | — | TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md) (VAT Product Posting Group); DataClassification SystemMetadata |
| 8 | Tax Area Code | Code[20] | — | TableRelation [Table 318 "Tax Area"](../table/318.md) (Tax Area); DataClassification SystemMetadata |
| 9 | Tax Group Code | Code[20] | — | TableRelation [Table 321 "Tax Group"](../table/321.md) (Tax Group); DataClassification SystemMetadata |
| 10 | Tax Liable | Boolean | — | DataClassification SystemMetadata |
| 11 | Use Tax | Boolean | — | DataClassification SystemMetadata |
| 12 | Job No. | Code[20] | Project No. <small>caption</small> | TableRelation [Table 167 "Job"](../table/167.md); DataClassification SystemMetadata |
| 13 | Posting Date | Date | — | DataClassification SystemMetadata |
| 14 | Amount | Decimal | — | DataClassification SystemMetadata |
| 15 | Amount (LCY) | Decimal | — | DataClassification SystemMetadata |
| 16 | System-Created Entry | Boolean | — | DataClassification SystemMetadata |
| 17 | Global Dimension 1 Code | Code[20] | — | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1))); DataClassification SystemMetadata |
| 18 | Global Dimension 2 Code | Code[20] | — | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2))); DataClassification SystemMetadata |
| 19 | Description | Text[100] | — | DataClassification SystemMetadata |
| 20 | Deferral Account | Code[20] | — | DataClassification SystemMetadata |
| 21 | Period Description | Text[100] | — | DataClassification SystemMetadata |
| 22 | Deferral Doc. Type | Enum "Deferral Document Type" | — | enum [Enum 1702 "Deferral Document Type"](../enum/1702.md); DataClassification SystemMetadata |
| 23 | Document No. | Code[20] | — | DataClassification SystemMetadata |
| 24 | Sales/Purch Amount | Decimal | — | DataClassification SystemMetadata |
| 25 | Sales/Purch Amount (LCY) | Decimal | — | DataClassification SystemMetadata |
| 26 | Gen. Posting Type | Enum "General Posting Type" | — | enum [Enum 57 "General Posting Type"](../enum/57.md); DataClassification SystemMetadata |
| 27 | Partial Deferral | Boolean | — | DataClassification SystemMetadata |
| 480 | Dimension Set ID | Integer | — | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable; DataClassification SystemMetadata |
| 1700 | Deferral Code | Code[10] | — | TableRelation [Table 1700 "Deferral Template"](../table/1700.md) ("Deferral Template"."Deferral Code"); DataClassification SystemMetadata |
| 1701 | Deferral Line No. | Integer | — | DataClassification SystemMetadata |

## Keys

- Key1: Entry No. (clustered)
- Key2: Deferral Doc. Type, Document No., Deferral Line No.

## Events published

- `OnAfterPrepareSales(var DeferralPostingBuffer: Record "Deferral Posting Buffer"; SalesLine: Record "Sales Line")` (integration): Integration event raised after preparing deferral posting buffer for sales line processing. Enables custom field updates or additional processing after sales line preparation.
- `OnAfterPreparePurch(var DeferralPostingBuffer: Record "Deferral Posting Buffer"; PurchaseLine: Record "Purchase Line")` (integration): Integration event raised after preparing deferral posting buffer for purchase line processing. Enables custom field updates or additional processing after purchase line preparation.
- `OnUpdateOnAfterSetFilters(var DeferralPostingBufferRec: Record "Deferral Posting Buffer"; DeferralPostBuffer: Record "Deferral Posting Buffer")` (integration): Integration event raised after setting filters on deferral posting buffer during update operation. Enables custom filter modification or additional processing on filtered records.
- `OnUpdateOnBeforeDeferralPostBufferInsert(var ToDeferralPostingBuffer: Record "Deferral Posting Buffer"; FromDeferralPostingBuffer: Record "Deferral Posting Buffer")` (integration): Integration event raised before inserting deferral posting buffer record during update operation. Enables custom field updates or validation before buffer record insertion.
- `OnAfterPrepareRemainderPurchase(var DeferralPostingBuffer: Record "Deferral Posting Buffer"; PurchaseLine: Record "Purchase Line")` (integration): Integration event raised after preparing remainder deferral posting buffer for purchase processing. Enables custom processing of remainder amounts for purchase transactions.
- `OnAfterPrepareRemainderSales(var DeferralPostingBuffer: Record "Deferral Posting Buffer"; SalesLine: Record "Sales Line")` (integration): Integration event raised after preparing remainder deferral posting buffer for sales processing. Enables custom processing of remainder amounts for sales transactions.

## Procedures

- `PrepareSales(SalesLine: Record "Sales Line"; DocumentNo: Code[20])`: Prepares the deferral posting buffer for sales line posting. Initializes buffer fields with sales line dimensions and tax information.
- `ReverseAmounts()`: Reverses the signs of all amount fields in the posting buffer. Used for credit transactions and corrections.
- `PreparePurch(PurchLine: Record "Purchase Line"; DocumentNo: Code[20])`: Prepares the deferral posting buffer for purchase line posting. Initializes buffer fields with purchase line dimensions and tax information.
- `PrepareRemainderSales(SalesLine: Record "Sales Line"; NewAmountLCY: Decimal; NewAmount: Decimal; GLAccount: Code[20]; DeferralAccount: Code[20]; DeferralLineNo: Integer)`: Prepares the deferral posting buffer for remainder sales amounts. Handles partial deferrals where only part of the line amount is deferred.
- `PrepareRemainderPurchase(PurchaseLine: Record "Purchase Line"; NewAmountLCY: Decimal; NewAmount: Decimal; GLAccount: Code[20]; DeferralAccount: Code[20]; DeferralLineNo: Integer)`: Prepares the deferral posting buffer for remainder purchase amounts. Handles partial deferrals where only part of the line amount is deferred.
- `PrepareInitialAmounts(AmountLCY: Decimal; AmountACY: decimal; RemainAmtToDefer: Decimal; RemainAmtToDeferACY: Decimal; GLAccount: Code[20]; DeferralAccount: Code[20])`: Prepares initial amounts for deferral posting buffer. Overload method without discount parameters.
- `PrepareInitialAmounts(AmountLCY: Decimal; AmountACY: decimal; RemainAmtToDefer: Decimal; RemainAmtToDeferACY: Decimal; GLAccount: Code[20]; DeferralAccount: Code[20]; DiscountAmount: Decimal; DiscountAmountACY: Decimal)`: Prepares initial amounts for deferral posting buffer including discount handling. Extended version with discount amount parameters.
- `InitFromDeferralLine(DeferralLine: Record "Deferral Line")`: Initializes the posting buffer from a deferral line record. Copies amounts, dates, and description from the deferral line.
- `Update(DeferralPostBuffer: Record "Deferral Posting Buffer")`: Updates an existing deferral posting buffer record with values from another buffer. Accumulates amounts if a matching record exists, otherwise creates a new record.
- `GetLastEntryNo(): Integer`: Gets the last entry number used in the deferral posting buffer table. Used for assigning sequential entry numbers to new buffer records.

Plus 2 local procedures.

## Relations

- G/L Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Job No.: TableRelation [Table 167 "Job"](../table/167.md)
- Deferral Code: TableRelation [Table 1700 "Deferral Template"](../table/1700.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)
- Tax Area Code: TableRelation [Table 318 "Tax Area"](../table/318.md)
- Tax Group Code: TableRelation [Table 321 "Tax Group"](../table/321.md)
- VAT Bus. Posting Group: TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- VAT Prod. Posting Group: TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md)
- Global Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Global Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.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 703 "Find Record Management"](../codeunit/703.md) (1 call: `GetLastEntryNo → GetLastEntryIntFieldValue`)

## Across versions

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

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: "Deferral Posting Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
