Table 8066 "Cust. Sub. Contract Deferral"
Subscription Billing · Microsoft.SubscriptionBilling
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 14 connected objects and pages
Subscription Billing · Microsoft.SubscriptionBilling · captioned “Customer Subscription Contract Deferral” · BC29-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 8079 “Customer Contract Deferrals” (1 Learn page).
Properties
| Property | Value |
|---|---|
| Caption | Customer Subscription Contract Deferral |
| DataClassification | CustomerContent |
| LookupPageId | Customer Contract Deferrals |
| DrillDownPageId | Customer Contract Deferrals |
| Permissions | tabledata “Sales Invoice Line” = r, tabledata “Sales Cr.Memo Line” = r |
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 | Specifies the number of the deferral that was assigned when it was created from the specified number series. via Page 8079 “Customer Contract Deferrals” | AutoIncrement |
| 2 | Subscription Contract No. | Code[20] | Specifies the number of the related contract. via Page 8079 “Customer Contract Deferrals” | TableRelation Table 8052 “Customer Subscription Contract” (“Customer Subscription Contract”.“No.”) |
| 3 | Document Type | Enum “Rec. Billing Document Type” | Specifies the document type used to create the deferral. via Page 8079 “Customer Contract Deferrals” | enum Enum 8054 “Rec. Billing Document Type” |
| 4 | Document No. | Code[20] | Specifies the document number used to create the deferral. via Page 8079 “Customer Contract Deferrals” | |
| 5 | Subscription Contract Type | Code[10] | Specifies the Subscription Contract Type of the contract for which the deferral was created. via Page 8079 “Customer Contract Deferrals” | TableRelation Table 8053 “Subscription Contract Type” (“Subscription Contract Type”.Code) |
| 6 | Released | Boolean | Specifies whether the deferral has been released. via Page 8079 “Customer Contract Deferrals” | |
| 7 | Posting Date | Date | Specifies the posting date of the deferral. via Page 8079 “Customer Contract Deferrals” | |
| 8 | Amount | Decimal | Specifies the amount of the deferral. via Page 8079 “Customer Contract Deferrals” | |
| 9 | Customer No. | Code[20] | Specifies the number of the customer (contractor) for which the deferral was generated. via Page 8079 “Customer Contract Deferrals” | TableRelation Table 18 “Customer” |
| 10 | User ID | Code[50] | Specifies the ID of the user who generated the deferral (e.g. for use in the change log). via Page 8079 “Customer Contract Deferrals” | TableRelation Table 91 “User Setup” (User Setup); DataClassification EndUserIdentifiableInformation |
| 13 | Discount Amount | Decimal | Specifies the discount amount of the deferral. via Page 8079 “Customer Contract Deferrals” | |
| 14 | Deferral Base Amount | Decimal | Specifies the amount that is the base amount for deferral. via Page 8079 “Customer Contract Deferrals” | |
| 15 | Discount % | Decimal | Specifies the percentage for the deferral discount. via Page 8079 “Customer Contract Deferrals” | |
| 16 | Bill-to Customer No. | Code[20] | Specifies the number of the customer (invoice recipient) for which the deferral was created. via Page 8079 “Customer Contract Deferrals” | TableRelation Table 18 “Customer” |
| 17 | Document Line No. | Integer | — | |
| 18 | Document Posting Date | Date | Specifies the posting date of the document used to create the deferral. via Page 8079 “Customer Contract Deferrals” | not editable |
| 19 | Release Posting Date | Date | Specifies the posting date on which the deferral was released. via Page 8079 “Customer Contract Deferrals” | |
| 20 | G/L Entry No. | Integer | Specifies the number of the G/L item with which the deferral was released. via Page 8079 “Customer Contract Deferrals” | TableRelation Table 17 “G/L Entry” (G/L Entry) |
| 21 | Number of Days | Integer | Specifies the number of days belonging to the deferral. via Page 8079 “Customer Contract Deferrals” | |
| 22 | Subscription Contract Line No. | Integer | — | TableRelation Table 8062 “Cust. Sub. Contract Line” (“Cust. Sub. Contract Line”.“Line No.” where(“Subscription Contract No.” = field(“Subscription Contract No.”))) |
| 23 | Subscription Description | Text[100] | Specifies the description of the Subscription that was invoiced via the sales line. via Page 8079 “Customer Contract Deferrals” | |
| 24 | Subscription Line Description | Text[100] | Specifies the description of the Subscription Line that was invoiced via the sales line. via Page 8079 “Customer Contract Deferrals” | |
| 25 | Discount | Boolean | Specifies whether the Subscription Line is used as a basis for periodic invoicing or discounts. via Page 8079 “Customer Contract Deferrals” | |
| 26 | Currency Code | Code[10] | — | |
| 27 | G/L Account No. | Code[20] | Specifies the G/L account selected on the Subscription Contract line. If it is filled, releasing the deferral posts to this account instead of the Customer Subscription Contract Account from the General Posting Setup. | TableRelation Table 15 “G/L Account” (G/L Account); not editable |
| 74 | Gen. Bus. Posting Group | Code[20] | Specifies the general business posting group. | TableRelation Table 250 “Gen. Business Posting Group” (Gen. Business Posting Group) |
| 75 | Gen. Prod. Posting Group | Code[20] | Specifies the general product posting group. | TableRelation Table 251 “Gen. Product Posting Group” (Gen. Product Posting Group) |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable |
Keys
- PK: Entry No. (clustered)
- SK1: Subscription Contract No.
Events published
OnAfterInitFromSalesLine(var CustSubContractDeferral: Record "Cust. Sub. Contract Deferral"; SalesLine: Record "Sales Line"; var Sign: Integer)(integration)
Trigger event subscribers
- OnAfterInsertEvent: Codeunit 8077 “Deferral Post. Preview Handler” OnInsertCustContractDeferral
- OnAfterModifyEvent: Codeunit 8077 “Deferral Post. Preview Handler” OnModifyCustContractDeferral
Procedures
InitFromSalesLine(SalesLine: Record "Sales Line"; var Sign: Integer)(internal)ShowDimensions()(internal)FilterOnDocumentTypeAndDocumentNo(RecurringBillingDocumentType: Enum "Rec. Billing Document Type"; DocumentNo: Code[20])(internal)GetDocumentPostingGroups(var GenBusPostingGroup: Code[20]; var GenProdPostingGroup: Code[20]): Boolean(internal)
Relations
- drill-down page Page 8079 “Customer Contract Deferrals”
- lookup page Page 8079 “Customer Contract Deferrals”
- G/L Account No.: TableRelation Table 15 “G/L Account”
- G/L Entry No.: TableRelation Table 17 “G/L Entry”
- Bill-to Customer No.: TableRelation Table 18 “Customer”
- Customer No.: TableRelation Table 18 “Customer”
- Gen. Bus. Posting Group: TableRelation Table 250 “Gen. Business Posting Group”
- Gen. Prod. Posting Group: TableRelation Table 251 “Gen. Product Posting Group”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
- Subscription Contract No.: TableRelation Table 8052 “Customer Subscription Contract”
- Subscription Contract Type: TableRelation Table 8053 “Subscription Contract Type”
- Subscription Contract Line No.: TableRelation Table 8062 “Cust. Sub. Contract Line”
- User ID: TableRelation Table 91 “User Setup”
Pages and codeunits on this table
- Page 8046 “Cust. Contract Deferral API” (source table)
- Page 8079 “Customer Contract Deferrals” (source table)
Recent changes
- 2026-09-04 #9905 [Bug][SubscriptionBilling] Contract lines of type G/L Account never post to the selected G/L account (main, BC30, fix)
Ask your agent
Procedure bodies are not stored here (D10). 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: "Cust. Sub. Contract Deferral"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.