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

Table 5965 "Service Contract Header"

Base Application · Microsoft.Service.Contract

Across versions

  1. BC23present
  2. BC2424 fields changed, 1 procedures changed
  3. BC251 fields added, 1 events added
  4. BC26unchanged
  5. BC273 procedures added
  6. BC2886 fields changed
  7. BC29-30unchanged

Neighbourhood 77 connected objects and pages

Table 18 "Customer" (relates to, 10 links)CustomerTable 222 "Ship-to Address" (relates to, 10 links)Ship-to AddressTable 5907 "Service Ledger Entry" (relates to, 4 links)Table 5936 "Service Document Register" (relates to, 4 links)Service Document RegisterTable 225 "Post Code" (relates to, 2 links)Table 231 "Reason Code" (relates to, 2 links)Reason CodeTable 349 "Dimension Value" (relates to, 2 links)Table 5050 "Contact" (relates to, 2 links)ContactTable 1230 "SEPA Direct Debit Mandate" (relates to)Table 13 "Salesperson/Purchaser" (relates to)Salesperson/PurchaserPage 6051 "Service Contract List" (pages and codeunits on it, 3 links)Service Contract ListCodeunit 5940 "ServContractManagement" (pages and codeunits on it)Codeunit 5942 "ServContractQuote-Tmpl. Upd." (pages and codeunits on it)Codeunit 5944 "SignServContractDoc" (pages and codeunits on it)Page 6050 "Service Contract" (pages and codeunits on it)Page 6053 "Service Contract Quote" (pages and codeunits on it)Page 6059 "Contract Statistics" (pages and codeunits on it)Page 6060 "Contract Trendscape" (pages and codeunits on it)Page 6065 "Customer Service Contracts" (pages and codeunits on it)Page 9321 "Service Contracts" (pages and codeunits on it)Page 9322 "Service Contract Quotes" (pages and codeunits on it)Codeunit 6459 "Serv. Document Attachment Mgt." (event subscribers, 3 links)Serv. Document Attachment Mgt.Codeunit 5999 "Service Experience Tier" (event subscribers)Codeunit 6460 "Serv. Notification Mgt." (event subscribers)Codeunit 27 "Confirm Management" (calls, 5 links)Confirm ManagementCodeunit 408 "DimensionManagement" (calls, 4 links)DimensionManagementCodeunit 5700 "User Setup Management" (calls, 4 links)Codeunit 5900 "ServOrderManagement" (calls, 2 links)ServOrderManagementPage 456 "No. Series" (calls, 2 links)Codeunit 5940 "ServContractManagement" (calls)Codeunit 5942 "ServContractQuote-Tmpl. Upd." (calls)Codeunit 6492 "Serv. Move Entries" (calls)Page 6078 "Service Contract Line List" (calls)Table 5900 "Service Header" (referenced by, 2 links)Service HeaderTable 5907 "Service Ledger Entry" (referenced by, 2 links)Table 5970 "Filed Service Contract Header" (referenced by, 2 links)Filed Service Contract HeaderTable 5990 "Service Shipment Header" (referenced by, 2 links)Table 5992 "Service Invoice Header" (referenced by, 2 links)Service Invoice HeaderTable 5994 "Service Cr.Memo Header" (referenced by, 2 links)Table 9052 "Service Cue" (referenced by, 2 links)

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 Service Contract Header
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 No. Δ BC28 Code[20] Specifies the number of the service contract or service contract quote.
2 Contract Type Δ BC28 Enum “Service Contract Type” Specifies the type of the contract. enum Enum 5965 “Service Contract Type”
3 Description Δ BC28 Text[100] Specifies a description of the service contract.
4 Description 2 Text[50] —
5 Status Δ BC28 Enum “Service Contract Status” Specifies the status of the service contract or contract quote. enum Enum 5967 “Service Contract Status”
6 Change Status Δ BC28 Enum “Service Contract Change Status” Specifies if a service contract or contract quote is locked or open for changes. enum Enum 5968 “Service Contract Change Status”; not editable
7 Customer No. Δ BC28 Code[20] Specifies the number of the customer who owns the service items in the service contract/contract quote. TableRelation Table 18 “Customer”; NotBlank
8 Name Δ BC24 Δ BC28 Text[100] Specifies the name of the customer in the service contract. FlowField: lookup(Customer.Name where(“No.” = field(“Customer No.”))); not editable
9 Address Δ BC24 Δ BC28 Text[100] Specifies the customer’s address. FlowField: lookup(Customer.Address where(“No.” = field(“Customer No.”))); not editable
10 Address 2 Δ BC24 Δ BC28 Text[50] Specifies additional address information. FlowField: lookup(Customer.“Address 2” where(“No.” = field(“Customer No.”))); not editable
11 Post Code Δ BC24 Δ BC28 Code[20] Specifies the postal code. FlowField: lookup(Customer.“Post Code” where(“No.” = field(“Customer No.”))); not editable
12 City Δ BC24 Δ BC28 Text[30] Specifies the name of the city in where the customer is located. FlowField: lookup(Customer.City where(“No.” = field(“Customer No.”))); not editable
13 Contact Name Δ BC28 Text[100] Specifies the name of the person you regularly contact when you do business with the customer in this service contract.
14 Your Reference Δ BC28 Text[35] Specifies the customer’s reference number.
15 Salesperson Code Δ BC28 Code[20] Specifies the code of the salesperson assigned to this service contract. TableRelation Table 13 “Salesperson/Purchaser” (“Salesperson/Purchaser” where(Blocked = const(false)))
16 Bill-to Customer No. Δ BC28 Code[20] Specifies the number of the customer that you send or sent the invoice or credit memo to. TableRelation Table 18 “Customer”
17 Bill-to Name Δ BC24 Δ BC28 Text[100] Specifies the name of the customer that you send or sent the invoice or credit memo to. FlowField: lookup(Customer.Name where(“No.” = field(“Bill-to Customer No.”))); not editable
18 Bill-to Address Δ BC24 Δ BC28 Text[100] Specifies the address of the customer to whom you sent the invoice. FlowField: lookup(Customer.Address where(“No.” = field(“Bill-to Customer No.”))); not editable
19 Bill-to Address 2 Δ BC24 Δ BC28 Text[50] Specifies an additional line of the address. FlowField: lookup(Customer.“Address 2” where(“No.” = field(“Bill-to Customer No.”))); not editable
20 Bill-to Post Code Δ BC24 Δ BC28 Code[20] Specifies the postal code of the customer’s billing address. FlowField: lookup(Customer.“Post Code” where(“No.” = field(“Bill-to Customer No.”))); not editable
21 Bill-to City Δ BC24 Δ BC28 Text[30] Specifies the city of the address. FlowField: lookup(Customer.City where(“No.” = field(“Bill-to Customer No.”))); not editable
22 Ship-to Code Δ BC28 Code[10] Specifies a code for an alternate shipment address if you want to ship to another address than the one that has been entered automatically. This field is also used in case of drop shipment. TableRelation Table 222 “Ship-to Address” (“Ship-to Address”.Code where(“Customer No.” = field(“Customer No.”)))
23 Ship-to Name Δ BC24 Δ BC28 Text[100] Specifies the name of the customer at the address that the items are shipped to. FlowField: lookup(“Ship-to Address”.Name where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
24 Ship-to Address Δ BC24 Δ BC28 Text[100] Specifies the address that the items are shipped to. FlowField: lookup(“Ship-to Address”.Address where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
25 Ship-to Address 2 Δ BC24 Δ BC28 Text[50] Specifies an additional part of the ship-to address, in case it is a long address. FlowField: lookup(“Ship-to Address”.“Address 2” where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
26 Ship-to Post Code Δ BC24 Δ BC28 Code[20] Specifies the postal code of the address that the items are shipped to. FlowField: lookup(“Ship-to Address”.“Post Code” where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
27 Ship-to City Δ BC24 Δ BC28 Text[30] Specifies the city of the address that the items are shipped to. FlowField: lookup(“Ship-to Address”.City where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
28 Serv. Contract Acc. Gr. Code Δ BC28 Code[10] Specifies the code associated with the service contract account group. TableRelation Table 5973 “Service Contract Account Group” (Service Contract Account Group)
32 Invoice Period Δ BC28 Enum “Service Contract Header Invoice Period” Specifies the invoice period for the service contract. enum Enum 5997 “Service Contract Header Invoice Period”
33 Last Invoice Date Δ BC28 Date Specifies the date when this service contract was last invoiced. not editable
34 Next Invoice Date Δ BC28 Date Specifies the date of the next invoice for this service contract. not editable
35 Starting Date Δ BC28 Date Specifies the starting date of the service contract.
36 Expiration Date Δ BC28 Date Specifies the date when the service contract expires.
38 First Service Date Δ BC28 Date Specifies the date of the first expected service for the service items in the contract.
39 Max. Labor Unit Price Δ BC28 Decimal Specifies the maximum unit price that can be set for a resource on all service orders and lines for the service contract.
40 Calcd. Annual Amount Δ BC28 Decimal Specifies the sum of the Line Amount field values on all contract lines associated with the service contract or contract quote, disregarding starting date and expiration date. FlowField: sum(“Service Contract Line”.“Line Amount” where(“Contract Type” = field(“Contract Type”), “Contract No.” = field(“Contract No.”))); not editable
42 Annual Amount Δ BC28 Decimal Specifies the total amount for all service contract lines that will be invoiced annually for the service contract or contract quote, disregarding starting date and expiration date. Changes to this amount will be distributed among the service contract lines.
43 Amount per Period Δ BC28 Decimal Specifies the amount that will be invoiced for each invoice period for the service contract. not editable
44 Combine Invoices Δ BC28 Boolean Specifies you want to combine invoices for this service contract with invoices for other service contracts with the same bill-to customer.
45 Prepaid Δ BC28 Boolean Specifies that this service contract is prepaid.
46 Next Invoice Period Text[30] — not editable
47 Service Zone Code Δ BC28 Code[10] Specifies the code of the service zone of the customer ship-to address. TableRelation Table 5957 “Service Zone” (Service Zone)
48 Language Code Code[10] — TableRelation Table 8 “Language”
49 Format Region Text[80] — TableRelation “Language Selection”.“Language Tag”
50 Cancel Reason Code Δ BC28 Code[10] Specifies a reason code for canceling the service contract. TableRelation Table 231 “Reason Code” (Reason Code)
51 Last Price Update Date Δ BC28 Date Specifies the date you last updated the contract prices. not editable
52 Next Price Update Date Δ BC28 Date Specifies the next date you want contract prices to be updated.
53 Last Price Update % Δ BC28 Decimal Specifies the price update percentage you used the last time you updated the contract prices. not editable
55 Response Time (Hours) Δ BC28 Decimal Specifies the response time for the service contract. via Page 6050 “Service Contract”
56 Contract Lines on Invoice Δ BC28 Boolean Specifies that you want the lines for this contract to appear as text on the invoice.
57 No. of Posted Invoices Δ BC28 Integer Specifies the number of posted service invoices linked to the service contract. FlowField: count(“Service Document Register” where(“Source Document Type” = const(Contract), “Source Document No.” = field(“Contract No.”), “Destination Document Type” = const(“Posted Invoice”))); not editable
58 No. of Unposted Invoices Δ BC28 Integer Specifies the number of unposted service invoices linked to the service contract. FlowField: count(“Service Document Register” where(“Source Document Type” = const(Contract), “Source Document No.” = field(“Contract No.”), “Destination Document Type” = const(Invoice))); not editable
59 Service Period Δ BC28 DateFormula Specifies a default service period for the items in the contract.
60 Payment Terms Code Δ BC28 Code[10] Specifies a formula that calculates the payment due date, payment discount date, and payment discount amount. TableRelation Table 3 “Payment Terms” (Payment Terms)
62 Invoice after Service Δ BC28 Boolean Specifies that you can only invoice the contract if you have posted a service order since last time you invoiced the contract.
63 Quote Type Δ BC28 Enum “Service Contract Quote Type” Specifies the type of the service contract quote. enum Enum 5969 “Service Contract Quote Type”
64 Allow Unbalanced Amounts Δ BC28 Boolean Specifies if the contents of the Calcd. Annual Amount field are copied into the Annual Amount field in the service contract or contract quote.
65 Contract Group Code Δ BC28 Code[10] Specifies the contract group code assigned to the service contract. TableRelation Table 5966 “Contract Group” (Contract Group)
66 Service Order Type Δ BC28 Code[10] Specifies the service order type assigned to service orders linked to this contract. TableRelation Table 5903 “Service Order Type” (Service Order Type)
67 Shortcut Dimension 1 Code Δ BC28 Code[20] Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1), Blocked = const(false)))
68 Shortcut Dimension 2 Code Δ BC28 Code[20] Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2), Blocked = const(false)))
69 Accept Before Δ BC28 Date Specifies the date before which the customer must accept this contract quote.
71 Automatic Credit Memos Δ BC28 Boolean Specifies that a credit memo is created when you remove a contract line.
74 Template No. Code[20] —
75 Price Update Period Δ BC28 DateFormula Specifies the price update period for this service contract.
79 Price Inv. Increase Code Δ BC28 Code[20] Specifies the standard text code printed on service invoices, informing the customer which prices have been updated since the last invoice. TableRelation Table 7 “Standard Text” (Standard Text)
80 Print Increase Text Δ BC28 Boolean Specifies the standard text code printed on service invoices, informing the customer which prices have been updated since the last invoice.
81 Currency Code Δ BC28 Code[10] Specifies the currency used to calculate the amounts in the documents related to this contract. TableRelation Table 4 “Currency”
82 No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series); not editable
83 Probability Δ BC28 Decimal Specifies the probability of the customer approving the service contract quote.
84 Comment Boolean — FlowField: exist(“Service Comment Line” where(“Table Name” = const(“Service Contract”), “Table Subtype” = field(“Contract Type”), “No.” = field(“Contract No.”), “Table Line No.” = filter(0))); not editable
85 Responsibility Center Δ BC28 Code[10] Specifies the code of the responsibility center, such as a distribution hub, that is associated with the involved user, company, customer, or vendor. TableRelation Table 5714 “Responsibility Center” (Responsibility Center)
86 Phone No. Δ BC28 Text[30] Specifies the customer telephone number.
87 Fax No. Text[30] —
88 E-Mail Δ BC28 Text[80] Specifies the customer’s email address.
89 Bill-to County Δ BC24 Δ BC28 Text[30] Specifies the county code of the customer’s billing address. FlowField: lookup(Customer.County where(“No.” = field(“Bill-to Customer No.”))); not editable
90 County Δ BC24 Text[30] — FlowField: lookup(Customer.County where(“No.” = field(“Customer No.”))); not editable
91 Ship-to County Δ BC24 Δ BC28 Text[30] Specifies the county of the address. FlowField: lookup(“Ship-to Address”.County where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
92 Country/Region Code Δ BC24 Δ BC28 Code[10] Specifies the country/region of the address. FlowField: lookup(Customer.“Country/Region Code” where(“No.” = field(“Customer No.”))); not editable
93 Bill-to Country/Region Code Δ BC24 Δ BC28 Code[10] Specifies the country/region code of the customer’s billing address. FlowField: lookup(Customer.“Country/Region Code” where(“No.” = field(“Bill-to Customer No.”))); not editable
94 Ship-to Country/Region Code Δ BC24 Δ BC28 Code[10] Specifies the country/region code of the address. FlowField: lookup(“Ship-to Address”.“Country/Region Code” where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
95 Name 2 Δ BC24 Text[50] — FlowField: lookup(Customer.“Name 2” where(“No.” = field(“Customer No.”))); not editable
96 Bill-to Name 2 Δ BC24 Text[50] — FlowField: lookup(Customer.“Name 2” where(“No.” = field(“Bill-to Customer No.”))); not editable
97 Ship-to Name 2 Δ BC24 Δ BC28 Text[50] Specifies an additional part of the name of the customer that the items are shipped to. FlowField: lookup(“Ship-to Address”.“Name 2” where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
98 Next Invoice Period Start Date — not editable
99 Next Invoice Period End Date — not editable
100 Contract Invoice Amount Δ BC28 Decimal — FlowField: - sum(“Service Ledger Entry”.“Amount (LCY)” where(“Service Contract No.” = field(“Contract No.”), “Entry Type” = const(Sale), “Moved from Prepaid Acc.” = const(true), Type = field(“Type Filter”), “Posting Date” = field(“Date Filter”), Open = const(false))); not editable
101 Contract Prepaid Amount Δ BC28 Decimal — FlowField: - sum(“Service Ledger Entry”.“Amount (LCY)” where(“Service Contract No.” = field(“Contract No.”), “Entry Type” = const(Sale), “Moved from Prepaid Acc.” = const(false), Type = const(“Service Contract”), “Posting Date” = field(“Date Filter”), Open = const(false), Prepaid = const(true))); not editable
102 Contract Discount Amount Δ BC28 Decimal — FlowField: sum(“Service Ledger Entry”.“Contract Disc. Amount” where(“Service Contract No.” = field(“Contract No.”), “Entry Type” = const(Sale), “Moved from Prepaid Acc.” = const(true), Type = field(“Type Filter”), “Posting Date” = field(“Date Filter”), Open = const(false))); not editable
103 Contract Cost Amount Δ BC28 Decimal — FlowField: sum(“Service Ledger Entry”.“Cost Amount” where(“Service Contract No.” = field(“Contract No.”), “Entry Type” = const(Usage), “Moved from Prepaid Acc.” = const(true), Type = field(“Type Filter”), “Posting Date” = field(“Date Filter”), Open = const(false))); not editable
104 Contract Gain/Loss Amount Δ BC28 Decimal — FlowField: sum(“Contract Gain/Loss Entry”.Amount where(“Contract No.” = field(“Contract No.”), “Reason Code” = field(“Reason Code Filter”), “Change Date” = field(“Date Filter”))); not editable
106 No. of Posted Credit Memos Δ BC28 Integer Specifies the number of posted credit memos linked to this service contract. FlowField: count(“Service Document Register” where(“Source Document Type” = const(Contract), “Source Document No.” = field(“Contract No.”), “Destination Document Type” = const(“Posted Credit Memo”))); not editable
107 No. of Unposted Credit Memos Δ BC28 Integer Specifies the number of unposted credit memos linked to the service contract. FlowField: count(“Service Document Register” where(“Source Document Type” = const(Contract), “Source Document No.” = field(“Contract No.”), “Destination Document Type” = const(“Credit Memo”))); not editable
140 Type Filter Enum “Service Ledger Entry Type” — FlowFilter; enum Enum 5907 “Service Ledger Entry Type”
141 Reason Code Filter Code[10] — TableRelation Table 231 “Reason Code” (Reason Code); FlowFilter
142 Posted Service Order Filter Code[20] — TableRelation Table 5990 “Service Shipment Header” (Service Shipment Header); FlowFilter
143 Date Filter Date — FlowFilter
144 Item Filter Code[20] — TableRelation Table 27 “Item”; FlowFilter
204 Payment Method Code Δ BC28 Code[10] Specifies how to make payment, such as with bank transfer, cash, or check. TableRelation Table 289 “Payment Method” (Payment Method)
210 Ship-to Phone No. + BC25 Δ BC28 Text[30] Specifies the telephone number of the company’s shipping address. FlowField: lookup(“Ship-to Address”.“Phone No.” where(“Customer No.” = field(“Customer No.”), Code = field(“Ship-to Code”))); not editable
480 Dimension Set ID Integer — TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable
1200 Direct Debit Mandate ID Δ BC28 Code[35] Specifies the direct-debit mandate that the customer has signed to allow direct-debit collection of payments. TableRelation Table 1230 “SEPA Direct Debit Mandate” (“SEPA Direct Debit Mandate” where(“Customer No.” = field(“Bill-to Customer No.”), Closed = const(false), Blocked = const(false))); DataClassification SystemMetadata
5050 Contact No. Δ BC28 Code[20] Specifies the number of the contact who will receive the service delivery. TableRelation Table 5050 “Contact”
5051 Bill-to Contact No. Δ BC28 Code[20] Specifies the number of the contact person at the customer’s billing address. TableRelation Table 5050 “Contact”
5052 Bill-to Contact Δ BC28 Text[100] Specifies the name of the contact person at the customer’s billing address.
5053 Last Invoice Period End Date —

Keys

  • Key1: Contract Type, Contract No. (clustered)
  • Key2: Contract No., Contract Type
  • Key3: Customer No., Ship-to Code
  • Key4: Bill-to Customer No., Contract Type, Combine Invoices, Next Invoice Date
  • Key5: Next Price Update Date
  • Key6: Responsibility Center, Service Zone Code, Status, Contract Group Code
  • Key7: Salesperson Code, Status
  • Key8: Template No.
  • Key9: Customer No., Bill-to Customer No.
  • Key10: Customer No., Currency Code, Ship-to Code
  • Key11: Expiration Date

Events published

  • OnAfterInitDefaultDimensionSources(var ServiceContractHeader: Record "Service Contract Header"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer) (integration)
  • OnAfterAssistEdit(var ServiceContractHeader: Record "Service Contract Header") (integration)
  • OnAfterReturnNoOfPer(InvoicePeriod: Enum "Service Contract Header Invoice Period"; var RetPer: Integer) (integration)
  • OnAfterUpdateBillToCont(var ServiceContractHeader: Record "Service Contract Header"; Customer: Record Customer; Contact: Record Contact) (integration)
  • OnAfterUpdateShiptoCode(var ServiceContractHeader: Record "Service Contract Header") (integration)
  • OnAfterUpdContractChangeLog(var ServiceContractHeader: Record "Service Contract Header"; OldServiceContractHeader: Record "Service Contract Header") (integration)
  • OnAfterValidateShortcutDimCode(var ServiceContractHeader: Record "Service Contract Header"; var xServiceContractHeader: Record "Service Contract Header"; FieldNumber: Integer; var ShortcutDimCode: Code[20]) (integration)
  • OnBeforeApplyServiceContractQuoteTemplate(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeGetServiceContractNos(ServiceContractHeader: Record "Service Contract Header"; var NoSeriesCode: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeCalculateEndPeriodDate(var ServiceContractHeader: Record "Service Contract Header"; PrepaidContract: Boolean; NextInvDate: Date; var Result: Date; var IsHandled: Boolean) (integration)
  • OnBeforeInitNoSeries(var ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header"; ServMgtSetup: Record "Service Mgt. Setup"; var IsHandled: Boolean) (integration)
  • OnBeforeSetSecurityFilterOnRespCenter(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeValidateNextInvoicePeriod(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean; xServiceContractHeader: Record "Service Contract Header") (integration)
  • OnBeforeValidateNextInvoiceDate(var ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeValidatePrepaid(var ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header"; var ServiceLedgerEntry: Record "Service Ledger Entry"; var IsHandled: Boolean) (integration)
  • OnBeforeValidateShortcutDimCode(var ServiceContractHeader: Record "Service Contract Header"; var xServiceContractHeader: Record "Service Contract Header"; FieldNumber: Integer; var ShortcutDimCode: Code[20]) (integration)
  • OnBeforeValidateLastInvoiceDate(var ServiceContractHeader: Record "Service Contract Header"; var xServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeValidateInvoicePeriod(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnValidateNextInvoiceDateOnBeforeCheck(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnValidateNextInvoiceDateOnBeforeValidateNextInvoicePeriod(var ServiceContractHeader: Record "Service Contract Header") (integration)
  • OnValidateStartingDateOnAfterServContractLineSetFilters(var ServiceContractHeader: Record "Service Contract Header"; var ServContractLine: Record "Service Contract Line") (integration)
  • OnCalculateEndPeriodDateOnPrepaidCaseElse(var ServiceContractHeader: Record "Service Contract Header"; var EndPeriodDate: Date) (integration)
  • OnCalculateEndPeriodDateCaseElse(var ServiceContractHeader: Record "Service Contract Header"; var EndPeriodDate: Date) (integration)
  • OnCalcInvPeriodDurationCaseElse(var ServiceContractHeader: Record "Service Contract Header"; var InvPeriodDuration: DateFormula) (integration)
  • OnUpdateBillToCustOnBeforeContBusinessRelationFindByContact(var ServiceContractHeader: Record "Service Contract Header"; Customer: Record Customer; Contact: Record Contact) (integration)
  • OnValidateBillToCustomerNoOnAfterCopyFieldsFromCust(var ServiceContractHeader: Record "Service Contract Header"; Customer: Record Customer; SkipBillToContact: Boolean) (integration)
  • OnBeforeCheckExpirationDate(var IsHandled: Boolean; var ServiceContractHeader: Record "Service Contract Header") (integration)
  • OnBeforeUpdateCust(var ServiceContractHeader: Record "Service Contract Header"; ContactNo: Code[20]; var IsHandled: Boolean) (integration)
  • OnIsInvoicePeriodInTimeSegment(ServiceContractHeader: Record "Service Contract Header"; var InvoicePeriodInTimeSegment: Boolean) (integration)
  • OnAfterContractLinesExist(var ServContractLine: Record "Service Contract Line"; var Result: Boolean) (integration)
  • OnBeforeSetSalespersonCode(var ServiceContractHeader: Record "Service Contract Header"; SalesPersonCodeToCheck: Code[20]; var SalesPersonCodeToAssign: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeSetAmountPerPeriod(var ServiceContractHeader: Record "Service Contract Header"; InvFrom: Date; InvTo: Date; DaysInFullInvPeriod: Integer; DaysInThisInvPeriod: Integer; var IsHandled: Boolean) (integration)
  • OnAfterCreateDim(var ServiceContractHeader: Record "Service Contract Header"; CurrFieldNo: Integer) (integration)
  • OnAfterUpdateCont(var ServiceContractHeader: Record "Service Contract Header"; CustomerNo: Code[20]) (integration)
  • OnBeforeChangeContractStatus(var ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeValidateCurrencyCode(var ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeChangeCustomerNo(var ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeChangeExpirationDate(var ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnValidateShipToCodeOnBeforeContractLinesExist(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnAfterUpdateZone(var ServiceContractHeader: Record "Service Contract Header") (integration)
  • OnBeforeCreateDim(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean; CurrFieldNo: Integer; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) + BC25 − BC25 (integration)
  • OnBeforeConfirmChangeContactNo(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeConfirmChangeBillToContactNo(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnAfterShowDocDim(var ServiceContractHeader: Record "Service Contract Header") (integration)
  • OnBeforeCheckChangeStatus(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeAskContractAmountDistribution(var ServiceContractHeader: Record "Service Contract Header"; var OK: Boolean; var Result: Integer; var IsHandled: Boolean) (integration)
  • OnValidateBillToCustomerNoOnBeforePrivacyBlockedCheck(var ServiceContractHeader: Record "Service Contract Header"; Customer: Record Customer; var IsHandled: Boolean) (integration)
  • OnValidateBillToCustomerNoOnBeforeBlockedCheck(var ServiceContractHeader: Record "Service Contract Header"; Customer: Record Customer; var IsHandled: Boolean) (integration)
  • OnBeforeValidateSalesPersonOnServiceContractHeader(var ServiceContractHeader: Record "Service Contract Header"; IsTransaction: Boolean; IsPostAction: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeValidateBillToCustomerNo(var ServiceContractHeader: Record "Service Contract Header"; var xServiceContractHeader: Record "Service Contract Header"; HideValidationDialog: Boolean; var Confirmed: Boolean; SkipBillToContact: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeValidateCustomerNo(var ServiceContractHeader: Record "Service Contract Header"; var xServiceContractHeader: Record "Service Contract Header"; var SkipBillToContact: Boolean; var SkipContact: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeValidateShipToCode(var ServiceContractHeader: Record "Service Contract Header"; var xServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnBeforeValidateStartingDate(var ServiceContractHeader: Record "Service Contract Header"; var ServContractLine: Record "Service Contract Line"; var IsHandled: Boolean) (integration)
  • OnUpdateContOnAfterUpdateContFromCust(var ServiceContractHeader: Record "Service Contract Header") (integration)
  • OnChangeContractStatusOnBeforeConfirmCancelTheContractQst(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnChangeContractStatusOnBeforeModifyServContractLines(var ServiceContractLine: Record "Service Contract Line"; ServiceContractHeader: Record "Service Contract Header"; xServiceContractHeader: Record "Service Contract Header") (integration)
  • OnCheckChangeStatusOnBeforeSetBillToCustomerNo(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnCheckChangeStatusOnBeforeCheckContractLinesExist(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)
  • OnChangeExpirationDateOnBeforeValidateInvoicePeriod(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean) (integration)

Trigger event subscribers

Procedures

  • UpdContractChangeLog(OldServContractHeader: Record "Service Contract Header")
  • AssistEdit(OldServContract: Record "Service Contract Header"): Boolean
  • ReturnNoOfPer(InvoicePeriod: Enum "Service Contract Header Invoice Period"): Integer
  • CalculateEndPeriodDate(Prepaid: Boolean; NextInvDate: Date): Date
  • UpdateServZone()
  • UpdateShiptoCode()
  • NextInvoicePeriod(): Text[250]
  • ValidateNextInvoicePeriod()
  • ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
  • CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
  • SuspendStatusCheck(StatCheckParameter: Boolean)
  • UpdateCont(CustomerNo: Code[20])
  • UpdateCust(ContactNo: Code[20])
  • GetActiveAnnualAmount(): Decimal + BC27
  • ShowActiveServiceContractLines() + BC27
  • SetHideValidationDialog(Hide: Boolean)
  • SetSecurityFilterOnRespCenter()
  • ShowDocDim()
  • SetSalespersonCode(SalesPersonCodeToCheck: Code[20]; var SalesPersonCodeToAssign: Code[20]) Δ BC24
  • ValidateSalesPersonOnServiceContractHeader(ServiceContractHeader2: Record "Service Contract Header"; IsTransaction: Boolean; IsPostAction: Boolean)
  • IsInvoicePeriodInTimeSegment(): Boolean
  • CreateDimFromDefaultDim(FieldNo: Integer)

Plus 19 local procedures.

Triggers

OnDelete, OnInsert, OnModify, OnRename

Relations

Referenced by

34 fields in 27 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

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.

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

Evidence 1 sources