Table "Filed Service Contract Header"

ID 5970
Namespace: Microsoft.Service.Contract

Properties

Name Value
Caption Filed Service Contract Header
DrillDownPageID Page Microsoft.Service.Contract."Filed Service Contract List"
LookupPageID Page Microsoft.Service.Contract."Filed Service Contract List"
Permissions tabledata "Filed Service Contract Header" = rimd, tabledata "Filed Contract Line" = rimd, tabledata "Filed Serv. Contract Cmt. Line" = rimd, tabledata "Filed Contract Service Hour" = rimd, tabledata "Filed Contract/Serv. Discount" = rimd
DataClassification CustomerContent

Fields

Name Type Description
"Contract No." Code[20]
"Contract Type" Enum Microsoft.Service.Contract."Service Contract Type"
Description Text[100]
"Description 2" Text[50]
Status Option
"Change Status" Enum Microsoft.Service.Contract."Service Contract Change Status"
"Customer No." Code[20]
Name Text[100]
Address Text[100]
"Address 2" Text[50]
"Post Code" Code[20]
City Text[30]
"Contact Name" Text[100]
"Your Reference" Text[35]
"Salesperson Code" Code[20]
"Bill-to Customer No." Code[20]
"Bill-to Name" Text[100]
"Bill-to Address" Text[100]
"Bill-to Address 2" Text[50]
"Bill-to Post Code" Code[20]
"Bill-to City" Text[30]
"Ship-to Code" Code[10]
"Ship-to Name" Text[100]
"Ship-to Address" Text[100]
"Ship-to Address 2" Text[50]
"Ship-to Post Code" Code[20]
"Ship-to City" Text[30]
"Serv. Contract Acc. Gr. Code" Code[10]
"Invoice Period" Enum Microsoft.Service.Contract."Service Contract Header Invoice Period"
"Last Invoice Date" Date
"Next Invoice Date" Date
"Starting Date" Date
"Expiration Date" Date
"First Service Date" Date
"Max. Labor Unit Price" Decimal
"Calcd. Annual Amount" Decimal
"Annual Amount" Decimal
"Amount per Period" Decimal
"Combine Invoices" Boolean
Prepaid Boolean
"Next Invoice Period" Text[30]
"Service Zone Code" Code[10]
"Language Code" Code[10]
"Format Region" Text[80]
"Cancel Reason Code" Code[10]
"Last Price Update Date" Date
"Next Price Update Date" Date
"Last Price Update %" Decimal
"Response Time (Hours)" Decimal
"Contract Lines on Invoice" Boolean
"Service Period" DateFormula
"Payment Terms Code" Code[10]
"Invoice after Service" Boolean
"Quote Type" Option
"Allow Unbalanced Amounts" Boolean
"Contract Group Code" Code[10]
"Service Order Type" Code[10]
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
"Accept Before" Date
"Automatic Credit Memos" Boolean
"Template No." Code[20]
"Price Update Period" DateFormula
"Price Inv. Increase Code" Code[20]
"Print Increase Text" Boolean
"Currency Code" Code[10]
"No. Series" Code[20]
Probability Decimal
Comment Boolean
"Responsibility Center" Code[10]
"Phone No." Text[30]
"Fax No." Text[30]
"E-Mail" Text[80]
"Bill-to County" Text[30]
County Text[30]
"Ship-to County" Text[30]
"Country/Region Code" Code[10]
"Bill-to Country/Region Code" Code[10]
"Ship-to Country/Region Code" Code[10]
"Name 2" Text[50]
"Bill-to Name 2" Text[50]
"Ship-to Name 2" Text[50]
"Next Invoice Period Start" Date
"Next Invoice Period End" Date
"Entry No." Integer

Specifies the unique number of filed service contract or service contract quote.

"File Date" Date
"File Time" Time
"Filed By" Code[50]
"Reason for Filing" Option
"Contract Type Relation" Enum Microsoft.Service.Contract."Service Contract Type"
"Contract No. Relation" Code[20]
"No. of Filed Versions" Integer
Restorable Boolean
"Source Contract Exists" Boolean
"Last Filed DateTime" DateTime
"Payment Method Code" Code[10]
"Ship-to Phone No." Text[30]
"Dimension Set ID" Integer
"Direct Debit Mandate ID" Code[35]
"Contact No." Code[20]
"Bill-to Contact No." Code[20]
"Bill-to Contact" Text[100]
"Last Invoice Period End" Date
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

GetLastEntryNo

procedure GetLastEntryNo(): Integer

Returns

Type Description
Integer

FileContract

procedure FileContract(ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

FileQuotationBeforeSigning

procedure FileQuotationBeforeSigning(ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

FileContractBeforeCancellation

procedure FileContractBeforeCancellation(ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

NextInvoicePeriod

procedure NextInvoicePeriod(): Text[250]

Returns

Type Description
Text[250]

Events

OnAfterFileContract

[IntegrationEvent(False,False)]
local procedure OnAfterFileContract(var FiledServiceContractHeader: Record "Filed Service Contract Header", ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
FiledServiceContractHeader Table Microsoft.Service.Contract."Filed Service Contract Header"
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

OnFileContractOnBeforeFiledServContractHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnFileContractOnBeforeFiledServContractHeaderInsert(var ServiceContractHeader: Record "Service Contract Header", var FiledServiceContractHeader: Record "Filed Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"
FiledServiceContractHeader Table Microsoft.Service.Contract."Filed Service Contract Header"

OnFileContractOnBeforeFiledContractLineTransferFields

[IntegrationEvent(False,False)]
local procedure OnFileContractOnBeforeFiledContractLineTransferFields(var ServiceContractLine: Record "Service Contract Line")

Parameters

Name Type Description
ServiceContractLine Table Microsoft.Service.Contract."Service Contract Line"

See also