tableService Managementofficial - Microsoftderived - from the source, no model text

Table 5972 "Contract/Service Discount"

Base Application · Microsoft.Service.Contract

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25-27unchanged
  4. BC284 fields changed
  5. BC29-30unchanged

Neighbourhood 8 connected objects and pages

Table 152 "Resource Group" (relates to)Resource GroupTable 5904 "Service Item Group" (relates to)Service Item GroupTable 5905 "Service Cost" (relates to)Service CostTable 5965 "Service Contract Header" (relates to)Service Contract HeaderTable 5968 "Service Contract Template" (relates to)Service Contract TemplatePage 6058 "Contract/Service Discounts" (pages and codeunits on it, 2 links)Contract/Service DiscountsCodeunit 5941 "ContractDiscount-Find" (pages and codeunits on it)ContractDiscount-FindCodeunit 5999 "Service Experience Tier" (event subscribers)Service Experience Tier

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.Service.Contract · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Caption Contract/Service Discount
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 Contract Type Enum “Service Contract Type” — enum Enum 5965 “Service Contract Type”
2 Contract No. Code[20] — TableRelation Table 5965 “Service Contract Header”, Table 5968 “Service Contract Template” (if (“Contract Type” = const(Template)) “Service Contract Template”.“No.” else if (“Contract Type” = const(Contract)) “Service Contract Header”.“Contract No.” where(“Contract Type” = const(Contract)) else if (“Contract Type” = const(Quote)) “Service Contract Header”.“Contract No.” where(“Contract Typ…)
4 Type Δ BC28 Enum “Service Contract Discount Type” Specifies the type of the contract/service discount. enum Enum 5973 “Service Contract Discount Type”
5 No. Δ BC28 Code[20] Specifies the number of the involved entry or record, according to the specified number series. TableRelation Table 152 “Resource Group”, Table 5904 “Service Item Group”, Table 5905 “Service Cost” (if (Type = const(“Service Item Group”)) “Service Item Group”.Code else if (Type = const(“Resource Group”)) “Resource Group”.“No.” else if (Type = const(Cost)) “Service Cost”.Code)
6 Starting Date Δ BC28 Date Specifies the date when the discount becomes applicable to the contract or quote.
7 Discount % Δ BC28 Decimal Specifies the discount percentage.

Keys

  • Key1: Contract Type, Contract No., Type, No., Starting Date (clustered)

Events published

  • OnBeforeVerifyContractOpen(var ContractServiceDiscount: Record "Contract/Service Discount"; var IsHandled: Boolean) (integration)

Trigger event subscribers

Procedures

1 local procedures, no public ones.

Triggers

OnDelete, OnInsert, OnModify, OnRename

Relations

Pages and codeunits on this table

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: "Contract/Service Discount"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources