Table 1706 "Deferral Posting Buffer"
Base Application · Microsoft.Finance.Deferral
Across versions
- BC23present
- BC241 fields changed, 1 procedures added
- BC25unchanged
- BC262 procedures removed
- BC272 fields changed, 1 events removed
- BC284 fields changed
- BC29-30unchanged
Neighbourhood 12 connected objects and pages
Base Application · Microsoft.Finance.Deferral · BC23-30 · source at ea08af5e · 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” (“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” (Gen. Business Posting Group); DataClassification SystemMetadata |
| 5 | Gen. Prod. Posting Group | Code[20] | — | TableRelation Table 251 “Gen. Product Posting Group” (Gen. Product Posting Group); DataClassification SystemMetadata |
| 6 | VAT Bus. Posting Group | Code[20] | — | TableRelation Table 323 “VAT Business Posting Group” (VAT Business Posting Group); DataClassification SystemMetadata |
| 7 | VAT Prod. Posting Group | Code[20] | — | TableRelation Table 324 “VAT Product Posting Group” (VAT Product Posting Group); DataClassification SystemMetadata |
| 8 | Tax Area Code | Code[20] | — | TableRelation Table 318 “Tax Area” (Tax Area); DataClassification SystemMetadata |
| 9 | Tax Group Code | Code[20] | — | TableRelation Table 321 “Tax Group” (Tax Group); DataClassification SystemMetadata |
| 10 | Tax Liable | Boolean | — | DataClassification SystemMetadata |
| 11 | Use Tax | Boolean | — | DataClassification SystemMetadata |
| 12 | Job No. Δ BC24 | Code[20] | Project No. caption | TableRelation Table 167 “Job”; DataClassification SystemMetadata |
| 13 | Posting Date | Date | — | DataClassification SystemMetadata |
| 14 | Amount Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 15 | Amount (LCY) Δ BC27 Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 16 | System-Created Entry | Boolean | — | DataClassification SystemMetadata |
| 17 | Global Dimension 1 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1))); DataClassification SystemMetadata |
| 18 | Global Dimension 2 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“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”; DataClassification SystemMetadata |
| 23 | Document No. | Code[20] | — | DataClassification SystemMetadata |
| 24 | Sales/Purch Amount Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 25 | Sales/Purch Amount (LCY) Δ BC27 Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 26 | Gen. Posting Type | Enum “General Posting Type” | — | enum Enum 57 “General Posting Type”; DataClassification SystemMetadata |
| 27 | Partial Deferral | Boolean | — | DataClassification SystemMetadata |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable; DataClassification SystemMetadata |
| 1700 | Deferral Code | Code[10] | — | TableRelation Table 1700 “Deferral Template” (“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])+ BC24: 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)+ BC24: 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")− BC26: 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”
- Job No.: TableRelation Table 167 “Job”
- Deferral Code: TableRelation Table 1700 “Deferral Template”
- Gen. Bus. Posting Group: TableRelation Table 250 “Gen. Business Posting Group”
- Gen. Prod. Posting Group: TableRelation Table 251 “Gen. Product Posting Group”
- Tax Area Code: TableRelation Table 318 “Tax Area”
- Tax Group Code: TableRelation Table 321 “Tax Group”
- VAT Bus. Posting Group: TableRelation Table 323 “VAT Business Posting Group”
- VAT Prod. Posting Group: TableRelation Table 324 “VAT Product Posting Group”
- Global Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Global Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
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” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue)
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.