Codeunit 5940 ServContractManagement

Base Application, Microsoft.Service.Contract
List17181920212223242526272829
Procedures278133
Events1911191110121933

In 29 3 changed

CheckServiceItemBlockedForServiceContract(var ServiceContractLine: Record "Service Contract Line")new in 24changed in 29
changed, was internal CheckServiceItemBlockedForServiceContract(var ServiceContractLine: Record "Service Contract Line")
CheckServiceItemBlockedForAll(var ServiceContractLine: Record "Service Contract Line")new in 24changed in 29
changed, was internal CheckServiceItemBlockedForAll(var ServiceContractLine: Record "Service Contract Line")
CheckItemServiceBlocked(var ServiceContractLine: Record "Service Contract Line")new in 24changed in 29
changed, was internal CheckItemServiceBlocked(var ServiceContractLine: Record "Service Contract Line")

In 28 1 gone, 2 added

[IntegrationEvent] OnChangeCustNoOnServContractOnAfterGetCust(Customer: Record Customer; var ServiceContractHeader: Record "Service Contract Header"; var CustCheckCrLimit: Codeunit "Cust-Check Cr. Limit"; var IsHandled: Boolean)23 to 27
gone
[IntegrationEvent] OnBeforeCheckServiceItemBlockedForAll(var ServiceContractLine: Record "Service Contract Line"; var IsHandled: Boolean)new in 28
added
[IntegrationEvent] OnBeforeCheckItemServiceBlocked(var ServiceContractLine: Record "Service Contract Line"; var IsHandled: Boolean)new in 28
added

In 26 3 added

[IntegrationEvent] OnBeforeCheckCustomer(var Result: Boolean; var IsHandled: Boolean)new in 26
added
[IntegrationEvent] OnCreateServiceLineOnBeforeServLedgEntryToServiceLine(var ServiceHeader: Record "Service Header"; var ServiceContractHeader: Record "Service Contract Header"; var ServiceLedgerEntry: Record "Service Ledger Entry"; var InvFromDate: Date; var InvToDate: Date)new in 26
added
[IntegrationEvent] OnCreateServiceLineOnAfterServLedgEntryToServiceLine(ServiceHeader: Record "Service Header"; InvoiceFromDate: Date; InvoiceToDate: Date)new in 26
added

In 25 1 gone, 1 marked obsolete, 7 added

[IntegrationEvent] OnCreateAllServLinesOnAfterCreateServiceLedgerEntry(var ServContractLine: Record "Service Contract Line"; var ServiceApplyEntry: Integer)18 to 24
gone
[IntegrationEvent] OnChangeCustNoOnServContractOnAfterGetCust(Customer: Record Customer; var ServiceContractHeader: Record "Service Contract Header"; var CustCheckCrLimit: Codeunit "Cust-Check Cr. Limit"; var IsHandled: Boolean)23 to 27
marked Pending, tag 25.0: Replaced by event OnChangeCustNoOnServContractOnAfterGetCustomer
[IntegrationEvent] OnChangeCustNoOnServContractOnAfterGetCustomer(Customer: Record Customer; var ServiceContractHeader: Record "Service Contract Header"; var ServCheckCreditLimit: Codeunit "Serv. Check Credit Limit"; var IsHandled: Boolean)new in 25
added
[IntegrationEvent] OnAfterInitCodeUnit(var ServiceRegister: Record "Service Register")new in 25
added
[IntegrationEvent] OnFillTempServiceLedgerEntriesOAfterCalcDoInsertTempServiceLedgerEntry(ServiceLedgerEntry: Record "Service Ledger Entry"; var DoInsertTempServiceLedgerEntry: Boolean)new in 25
added
[IntegrationEvent] OnInsertMultipleServLedgEntriesOnUpdateDateFieldsBeforeCalcNonDistrAmount(var InvoiceFrom: Date; var DueDate: Date; NoOfPayments: Integer)new in 25
added
[IntegrationEvent] OnInsertMultipleServLedgEntriesOnBeforeUpdatePaymentsCount(CheckMonthParts: Boolean; var NoOfPayments: Integer; var CountOfEntryLoop: Integer; var ShouldUpdatePaymentsCount: Boolean)new in 25
added
[IntegrationEvent] OnInsertMultipleServLedgEntriesOnBeforeSetServLedgEntryAmounts(var ServiceLedgerEntry: Record "Service Ledger Entry"; var InvRoundedAmount: array[4] of Decimal; NonDistrAmount: array[4] of Decimal; NoOfPayments: Integer; Index: Integer; CountOfEntryLoop: Integer; AmountRoundingPrecision: Decimal; DueDate: Date; var IsHandled: Boolean)new in 25
added
[IntegrationEvent] OnInsertMultipleServLedgEntriesOnAfterSetDueDate(Index: Integer; var DueDate: Date; ServiceLedgerEntry: Record "Service Ledger Entry"; CountOfEntryLoop: Integer; InvRoundedAmount: array[4] of Decimal; var NonDistrAmount: array[4] of Decimal; var ServiceHeader: Record "Service Header"; AmountRoundingPrecision: Decimal)new in 25
added

In 24 4 added

internal CheckServiceItemBlockedForServiceContract(var ServiceContractLine: Record "Service Contract Line")new in 24changed in 29
added
internal CheckServiceItemBlockedForAll(var ServiceContractLine: Record "Service Contract Line")new in 24changed in 29
added
internal CheckItemServiceBlocked(var ServiceContractLine: Record "Service Contract Line")new in 24changed in 29
added
[IntegrationEvent] OnCreateOrGetCreditHeaderOnAfterCopyFromCustomer(var ServiceHeader: Record "Service Header"; ServiceContract: Record "Service Contract Header"; Customer: Record Customer)new in 24
added

In 23 10 added, 3 gone

CheckCustomerCurrencyCombination(var ServiceContractHeader: Record "Service Contract Header")new in 23
added
[IntegrationEvent] OnInsertMultipleServLedgEntriesOnBeforeServLedgEntryInsert(var ServiceLedgerEntry: Record "Service Ledger Entry"; ServiceContractHeader: Record "Service Contract Header"; ServiceContractLine: Record "Service Contract Line"; var NonDistrAmount: array[4] of Decimal; var IsHandled: Boolean)gone after 22
gone
[IntegrationEvent] OnPostPartialServLedgEntryOnBeforeServLedgEntryInsert(var ServLedgEntry: Record "Service Ledger Entry"; ServContractLine: Record "Service Contract Line")gone after 22
gone
[IntegrationEvent] OnChangeCustNoOnServContractOnAfterGetCust(Customer: Record Customer; var ServiceContractHeader: Record "Service Contract Header")22 to 22
gone
[IntegrationEvent] OnInsertMultipleServLedgEntriesOnBeforeServLedgEntryInsert(var ServiceLedgerEntry: Record "Service Ledger Entry"; ServiceContractHeader: Record "Service Contract Header"; ServiceContractLine: Record "Service Contract Line"; var NonDistrAmount: array[4] of Decimal; var IsHandled: Boolean; ServiceHeader: Record "Service Header")new in 23
added
[IntegrationEvent] OnPostPartialServLedgEntryOnBeforeServLedgEntryInsert(var ServLedgEntry: Record "Service Ledger Entry"; ServContractLine: Record "Service Contract Line"; ServiceHeader: Record "Service Header")new in 23
added
[IntegrationEvent] OnChangeCustNoOnServContractOnAfterGetCust(Customer: Record Customer; var ServiceContractHeader: Record "Service Contract Header"; var CustCheckCrLimit: Codeunit "Cust-Check Cr. Limit"; var IsHandled: Boolean)23 to 27
added
[IntegrationEvent] OnCreateServiceLedgEntryOnBeforeCalcCurrencyAmountRoundingPrecision(ServiceContractHeader: Record "Service Contract Header"; var ServiceLedgerEntry: Record "Service Ledger Entry"; var InvRoundedAmount: array[4] of Decimal; var InvAmount: array[4] of Decimal; AmountType: Option ,Amount,DiscAmount,UnitPrice,UnitCost; Currency: Record Currency; ServiceHeader2: Record "Service Header"; var IsHandled: Boolean)new in 23
added
[IntegrationEvent] OnCreateServiceLedgEntryOnAfterSetDiscountAmount(ServiceContractHeader: Record "Service Contract Header"; var ServiceLedgerEntry: Record "Service Ledger Entry"; var InvRoundedAmount: array[4] of Decimal; var InvAmount: array[4] of Decimal; AmountType: Option ,Amount,DiscAmount,UnitPrice,UnitCost; Currency: Record Currency; ServiceHeader2: Record "Service Header")new in 23
added
[IntegrationEvent] OnCreateCreditLineOnBeforeCreateDim(var ServiceLine2: Record "Service Line"; var IsHandled: Boolean)new in 23
added
[IntegrationEvent] OnCreateAllServLinesOnAfterCreateServiceLine(var ServiceContractLine: Record "Service Contract Line"; ServiceHeader: Record "Service Header"; InvoiceFrom: Date; InvoiceTo: Date)new in 23
added
[IntegrationEvent] OnGetAffectedItemsOnContractChangeOnBeforeOnFindServContractLine2(var ServiceContractLine2: Record "Service Contract Line")new in 23
added
[IntegrationEvent] OnServLedgEntryToServiceLineOnBeforeDimSet(var ServiceLine: Record "Service Line"; ServiceLedgerEntry: Record "Service Ledger Entry"; ServiceHeader: Record "Service Header"; var IsHandled: Boolean)new in 23
added

In 22 8 gone, 10 added

CreateServiceLedgerEntry(ServHeader2: Record "Service Header"; ContractType: Integer; ContractNo: Code[20]; InvFrom: Date; InvTo: Date; SigningContract: Boolean; AddingNewLines: Boolean; LineNo: Integer): Integergone after 21
gone
CreateServLine(ServHeader: Record "Service Header"; ContractType: Integer; ContractNo: Code[20]; InvFrom: Date; InvTo: Date; ServiceApplyEntry: Integer; SignningContract: Boolean)gone after 21
gone
CreateDetailedServLine(ServHeader: Record "Service Header"; ServContractLine: Record "Service Contract Line"; ContractType: Integer; ContractNo: Code[20])gone after 21
gone
GetAffectedItemsOnCustChange(ContractNoToBeChanged: Code[20]; var TempServContract: Record "Service Contract Header"; var TempServItem: Record "Service Item"; Recursive: Boolean; ContractTypeToBeChanged: Integer)gone after 21
gone
CreateHeadingServLine(ServHeader: Record "Service Header"; ContractType: Integer; ContractNo: Code[20])gone after 21
gone
YearContract(ContrType: Integer; ContrNo: Code[20]): Booleangone after 21
gone
CreateLastServLines(ServHeader: Record "Service Header"; ContractType: Integer; ContractNo: Code[20])19 to 21
gone
FilterServContractLine(var ServContractLine: Record "Service Contract Line"; ContractNo: Code[20]; ContractType: Option; LineNo: Integer)19 to 21
gone
[IntegrationEvent] OnGetAffectedItemsOnContractChangeOnAfterServContractLineSetFilters(var ServiceContractLine: Record "Service Contract Line")new in 22
added
[IntegrationEvent] OnGetAffectedItemsOnContractChangeOnAfterTempServItemGetOrInsert(var IsHandled: Boolean; var ServiceContractLine: Record "Service Contract Line"; var TempServiceContractHeader: Record "Service Contract Header"; var TempServiceItem: Record "Service Item")new in 22
added
[IntegrationEvent] OnChangeCustNoOnServContractOnAfterGetCust(Customer: Record Customer; var ServiceContractHeader: Record "Service Contract Header")22 to 22
added
[IntegrationEvent] OnAfterChangeCustNoOnServItem(var ServiceItem: Record "Service Item")new in 22
added
[IntegrationEvent] OnCreateServHeaderOnBeforeCheckBlockedCustOnDocs(var ServiceHeader: Record "Service Header"; ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnBeforeCheckDimValuePosting(ServiceContractHeader: Record "Service Contract Header"; LineNo: Integer; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnBeforeCheckMultipleCurrenciesForCustomers(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnCreateCreditLineOnBeforeServLineHeadingInsert(var ServiceLine: Record "Service Line"; ServiceHeader: Record "Service Header"; ServiceContractHeader: Record "Service Contract Header")new in 22
added
[IntegrationEvent] OnCreateOrGetCreditHeaderOnBeforeCheckBlockedCustOnDocs(var ServiceHeader: Record "Service Header"; ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnAfterInitServLedgEntry(var ServiceLedgerEntry: Record "Service Ledger Entry"; ServiceContractHeader: Record "Service Contract Header")new in 22
added

In 21 3 gone, 1 marked obsolete, 7 added

[IntegrationEvent] OnBeforeChangeCustNoOnServItem(var ServiceItem: Record "Service Item"; NewCustomerNo: Code[20])18 to 20
gone
[IntegrationEvent] OnCreateAllServLinesOnAfterCreateServiceLedgerEntry(var ServContractLine: Record "Service Contract Line"; var ServiceApplyEntry: Integer)18 to 24
marked Pending, tag 22.0: Removed code that caused issues with Service Invoice calculation.
[IntegrationEvent] OnAfterProcessShiptoCodeChange(var ServiceContractHeader: Record "Service Contract Header")20 to 20
gone
[IntegrationEvent] OnCreateOrGetCreditHeaderOnBeforeInitSeries(var ServiceHeader: Record "Service Header"; ServMgtSetup: Record "Service Mgt. Setup"; var IsHandled: Boolean)20 to 20
gone
[IntegrationEvent] OnAfterCreateDetailedServiceLine(ServiceHeader: Record "Service Header"; ServiceContractLine: Record "Service Contract Line"; NewContract: Boolean; ServiceContractHeader: Record "Service Contract Header"; var ServLineNo: Integer)new in 21
added
[IntegrationEvent] OnAfterProcessShiptoCodeChange(var ServiceContractHeader: Record "Service Contract Header"; NewShipToCode: Code[10])new in 21
added
[IntegrationEvent] OnBeforeCreateDescriptionServiceLines(ServContractLineItemNo: Code[20]; ServContractLineDesc: Text[100]; ServContractLineItemSerialNo: Code[50]; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeCreateServiceLine(ServiceHeader: Record "Service Header"; ContractType: Enum "Service Contract Type"; ContractNo: Code[20]; InvFromDate: Date; InvToDate: Date; ServiceApplyEntry: Integer; SigningContract: Boolean; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeChangeCustNoOnServItem(var ServiceItem: Record "Service Item"; NewCustomerNo: Code[20]; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnCreateOrGetCreditHeaderOnBeforeInitSeries(var ServiceHeader: Record "Service Header"; ServMgtSetup: Record "Service Mgt. Setup"; var IsHandled: Boolean; ServiceContract: Record "Service Contract Header")new in 21
added
[IntegrationEvent] OnCreateServHeaderOnAfterCopyFromCustomer(var ServiceHeader: Record "Service Header"; ServiceContract: Record "Service Contract Header"; Customer: Record Customer)new in 21
added

In 20 2 gone, 17 added

[IntegrationEvent] OnCreateOrGetCreditHeaderOnBeforeInitSeries(var ServiceHeader: Record "Service Header"; ServMgtSetup: Record "Service Mgt. Setup")gone after 19
gone
[IntegrationEvent] OnCreateServHeaderOnBeforeInitSeries(var ServiceHeader: Record "Service Header"; var ServMgtSetup: Record "Service Mgt. Setup"; ServContract2: Record "Service Contract Header")gone after 19
gone
[IntegrationEvent] OnAfterProcessShiptoCodeChange(var ServiceContractHeader: Record "Service Contract Header")20 to 20
added
[IntegrationEvent] OnBeforeCreateDetailedServiceLine(ServiceHeader: Record "Service Header"; var IsHandled: Boolean; ContractType: Enum "Service Contract Type"; ContractNo: Code[20])new in 20
added
[IntegrationEvent] OnBeforeCreateHeadingServiceLine(ServiceHeader: Record "Service Header"; var IsHandled: Boolean; ContractType: Enum "Service Contract Type"; ContractNo: Code[20])new in 20
added
[IntegrationEvent] OnCreateOrGetCreditHeaderOnBeforeInitSeries(var ServiceHeader: Record "Service Header"; ServMgtSetup: Record "Service Mgt. Setup"; var IsHandled: Boolean)20 to 20
added
[IntegrationEvent] OnCreateServHeaderOnBeforeInitSeries(var ServiceHeader: Record "Service Header"; var ServMgtSetup: Record "Service Mgt. Setup"; ServContract2: Record "Service Contract Header"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeCalcServLedgEntryDiscountPct(var ServiceLedgerEntry: Record "Service Ledger Entry"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeCreateRemainingPeriodInvoiceServiceLines(var CurrServContract: Record "Service Contract Header"; var ServHeader: Record "Service Header"; InvFrom: Date; InvTo: Date; var AppliedEntry: Integer; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeFindLinePeriodStartsByInvoicedToDate(ServContractLine: Record "Service Contract Line"; PeriodStarts: Date; var LinePeriodStarts: Date; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnCreateAllServLinesOnAfterCalcShouldCraeteServiceApplyEntry(var ServHeader: Record "Service Header"; ServContractToInvoice: Record "Service Contract Header"; var ServContractLine: Record "Service Contract Line"; var PartInvoiceFrom: Date; var PartInvoiceTo: Date; var ServiceApplyEntry: Integer; var ShouldCraeteServiceApplyEntry: Boolean)new in 20
added
[IntegrationEvent] OnCreateAllServLinesOnBeforeCreateLastServiceLines(var ServContractToInvoice: Record "Service Contract Header"; var ServLine: Record "Service Line")new in 20
added
[IntegrationEvent] OnLookupServItemNoOnAfterServItemSetFilters(var ServiceItem: Record "Service Item"; ServiceContractLine: Record "Service Contract Line")new in 20
added
[IntegrationEvent] OnBeforeUpdateApplyUntilEntryNoInServLedgEntry(ServContractHeader: Record "Service Contract Header"; SigningContract: Boolean; ReturnLedgerEntry: Integer; FirstLineEntry: Integer; LastEntry: Integer; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnCreateServiceLedgEntryOnPrepaidOnAfterServContractLineSetFilters(var ServContractLine: Record "Service Contract Line"; AddingNewLines: Boolean)new in 20
added
[IntegrationEvent] OnCreateServiceLedgEntryOnNotPrepaidOnAfterServContractLineSetFilters(var ServContractLine: Record "Service Contract Line"; ServContractHeader: Record "Service Contract Header"; AddingNewLines: Boolean)new in 20
added
[IntegrationEvent] OnCreateServiceLedgEntryOnPrepaidOnBeforeCalcInvAmounts(var ServContractLine: Record "Service Contract Line"; var ServLedgEntry: Record "Service Ledger Entry")new in 20
added
[IntegrationEvent] OnCreateServiceLedgEntryOnAfterWDateLoop(var ServContractHeader: Record "Service Contract Header"; var WDate: Date)new in 20
added
[IntegrationEvent] OnCreateDescriptionServiceLinesOnAfterCalcServLineDescription(var ServLineDescription: Text; var ServContractLineItemNo: Code[20]; var ServContractLineDesc: Text[100]; var ServContractLineItemSerialNo: Code[50])new in 20
added

In 19 6 marked obsolete, 28 added, 4 gone

CreateServiceLedgerEntry(ServHeader2: Record "Service Header"; ContractType: Integer; ContractNo: Code[20]; InvFrom: Date; InvTo: Date; SigningContract: Boolean; AddingNewLines: Boolean; LineNo: Integer): Integergone after 21
marked Pending, tag 19.0: Replaced by CreateServiceLedgEntry()
CreateServLine(ServHeader: Record "Service Header"; ContractType: Integer; ContractNo: Code[20]; InvFrom: Date; InvTo: Date; ServiceApplyEntry: Integer; SignningContract: Boolean)gone after 21
marked Pending, tag 19.0: Replaced by CreateServiceLine()
CreateDetailedServLine(ServHeader: Record "Service Header"; ServContractLine: Record "Service Contract Line"; ContractType: Integer; ContractNo: Code[20])gone after 21
marked Pending, tag 19.0: Replaced by CreateDetailedServiceLine()
GetAffectedItemsOnCustChange(ContractNoToBeChanged: Code[20]; var TempServContract: Record "Service Contract Header"; var TempServItem: Record "Service Item"; Recursive: Boolean; ContractTypeToBeChanged: Integer)gone after 21
marked Pending, tag 19.0: Relaced by GetAffectedItemsOnContractChange()
CreateHeadingServLine(ServHeader: Record "Service Header"; ContractType: Integer; ContractNo: Code[20])gone after 21
marked Pending, tag 19.0: Replaced by CreateHeadingServiceLine()
YearContract(ContrType: Integer; ContrNo: Code[20]): Booleangone after 21
marked Pending, tag 19.0: Replaced by IsYearContract
CreateServiceLedgEntry(ServHeader2: Record "Service Header"; ContractType: Enum "Service Contract Type"; ContractNo: Code[20]; InvFromDate: Date; InvToDate: Date; SigningContract: Boolean; AddingNewLines: Boolean; LineNo: Integer): Integernew in 19
added
UpdateServLedgEntryAmounts(var ServContractLine: Record "Service Contract Line"; var Currency: Record Currency; var InvRoundedAmount: array[4] of Decimal; LineInvFrom: Date; InvTo: Date)new in 19
added
CalcServLedgEntryDiscountPct(var ServiceLedgerEntry: Record "Service Ledger Entry")new in 19
added
CreateServiceLine(ServHeader: Record "Service Header"; ContractType: Enum "Service Contract Type"; ContractNo: Code[20]; InvFromDate: Date; InvToDate: Date; ServiceApplyEntry: Integer; SignningContract: Boolean)new in 19
added
CreateDetailedServiceLine(ServHeader: Record "Service Header"; ServContractLine: Record "Service Contract Line"; ContractType: Enum "Service Contract Type"; ContractNo: Code[20])new in 19
added
CreateLastServLines(ServHeader: Record "Service Header"; ContractType: Integer; ContractNo: Code[20])19 to 21
added
CreateLastServiceLines(ServHeader: Record "Service Header"; ContractType: Enum "Service Contract Type"; ContractNo: Code[20])new in 19
added
GetAffectedItemsOnContractChange(ContractNoToBeChanged: Code[20]; var TempServContract: Record "Service Contract Header"; var TempServItem: Record "Service Item"; Recursive: Boolean; ContractTypeToBeChanged: Enum "Service Contract Type")new in 19
added
CreateHeadingServiceLine(ServHeader: Record "Service Header"; ContractType: Enum "Service Contract Type"; ContractNo: Code[20])new in 19
added
AmountToFCY(AmountLCY: Decimal; var ServHeader3: Record "Service Header"): Decimalnew in 19
added
IsYearContract(ContractType: Enum "Service Contract Type"; ContrNo: Code[20]): Booleannew in 19
added
CheckServiceContractHeaderAmts(ServiceContractHeader: Record "Service Contract Header")new in 19
added
SetServiceLedgerEntryUnitCost(var ServiceLedgerEntry: Record "Service Ledger Entry")new in 19
added
InitServLedgEntry(var ServLedgEntry: Record "Service Ledger Entry"; ServContractHeader: Record "Service Contract Header"; DocNo: Code[20])new in 19
added
FilterServContractLine(var ServContractLine: Record "Service Contract Line"; ContractNo: Code[20]; ContractType: Option; LineNo: Integer)19 to 21
added
FilterServiceContractLine(var ServContractLine: Record "Service Contract Line"; ContractNo: Code[20]; ContractType: Enum "Service Contract Type"; LineNo: Integer)new in 19
added
UpdateServLedgEntryAmount(var ServLedgEntry: Record "Service Ledger Entry"; var ServHeader: Record "Service Header")new in 19
added
CalcInvoicedToDate(var ServContractLine: Record "Service Contract Line"; InvFrom: Date; InvTo: Date)new in 19
added
SetServLedgEntryAmounts(var ServLedgEntry: Record "Service Ledger Entry"; var EntryAmount: array[4] of Decimal; Amount: Decimal; UnitPrice: Decimal; CostAmount: Decimal; DiscAmount: Decimal; AmtRoundingPrecision: Decimal)new in 19
added
CalcInvAmounts(var InvAmount: array[4] of Decimal; ServContractLine: Record "Service Contract Line"; InvFrom: Date; InvTo: Date)new in 19
added
InsertMultipleServLedgEntries(var NoOfPayments: Integer; var DueDate: Date; var NonDistrAmount: array[4] of Decimal; var InvRoundedAmount: array[4] of Decimal; var ServHeader: Record "Service Header"; InvFrom: Date; NextInvDate: Date; AddingNewLines: Boolean; CountOfEntryLoop: Integer; ServContractLine: Record "Service Contract Line"; AmountRoundingPrecision: Decimal)new in 19
added
[IntegrationEvent] OnBeforeCalcContractAmount(var ServiceContractHeader: Record "Service Contract Header"; PeriodStarts: Date; PeriodEnds: Date)gone after 18
gone
[IntegrationEvent] OnAfterCreateAllServLines(ServiceContractHeader: Record "Service Contract Header"; var ServContractLine: Record "Service Contract Line")18 to 18
gone
[IntegrationEvent] OnBeforeUpdateServLedgEntryAmounts(var ServiceContractLine: Record "Service Contract Line"; var ServLedgEntry: Record "Service Ledger Entry"; InvRoundedAmount: array[4] of Decimal; LineInvoiceFrom: Date; InvoiceTo: Date; var IsHandled: Boolean)18 to 18
gone
[IntegrationEvent] OnCreateServiceLedgerEntryOnBeforeInsertMultipleServLedgEntries(var NextInvDate: Date; ServContractHeader: Record "Service Contract Header"; ServContractLine: Record "Service Contract Line")18 to 18
gone
[IntegrationEvent] OnAfterCreateAllServLines(ServiceContractHeader: Record "Service Contract Header"; var ServContractLine: Record "Service Contract Line"; var ServHeader: Record "Service Header")new in 19
added
[IntegrationEvent] OnBeforeCheckContractGroupAccounts(ServContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeUpdateServLedgEntryAmounts(var ServiceContractLine: Record "Service Contract Line"; var ServLedgEntry: Record "Service Ledger Entry"; var InvRoundedAmount: array[4] of Decimal; LineInvoiceFrom: Date; InvoiceTo: Date; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnCalcContractAmountOnAfterServContractLineSetFilters(var ServiceContractLine: Record "Service Contract Line"; var ServiceContractHeader: Record "Service Contract Header"; PeriodStarts: Date; PeriodEnds: Date)new in 19
added
[IntegrationEvent] OnBeforeCalcContractAmount(var ServiceContractHeader: Record "Service Contract Header"; PeriodStarts: Date; PeriodEnds: Date; var AmountCalculated: Decimal; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnCreateServiceLedgerEntryOnBeforeInsertMultipleServLedgEntries(var NextInvDate: Date; ServContractHeader: Record "Service Contract Header"; ServContractLine: Record "Service Contract Line"; var NoOfPayments: Integer; var DueDate: Date; var InvFromDate: Date; var AddingNewLines: Boolean; var CountOfEntryLoop: Integer)new in 19
added
[IntegrationEvent] OnGetInvoicePeriodTextOnCaseElse(InvoicePeriod: Enum "Service Contract Header Invoice Period"; var InvPeriodText: Text[4])new in 19
added

In 18 2 gone, 17 added

[IntegrationEvent] OnBeforeServLedgEntryToServiceLine(var TotalServiceLine: Record "Service Line"; var TotalServiceLineLCY: Record "Service Line"; ServiceHeader: Record "Service Header"; ServiceLedgerEntry: Record "Service Ledger Entry"; var IsHandled: Boolean; ServiceLedgerEntryParm: Record "Service Ledger Entry")gone after 17
gone
[IntegrationEvent] OnCreateServiceLedgerEntryOnBeforeLoopPeriods(ServContractHeader: Record "Service Contract Header"; ServContractLine: Record "Service Contract Line"; InvFrom: Date; var WDate: Date; var DateExpression: Text)gone after 17
gone
[IntegrationEvent] OnAfterCreateAllServLines(ServiceContractHeader: Record "Service Contract Header"; var ServContractLine: Record "Service Contract Line")18 to 18
added
[IntegrationEvent] OnBeforeCalcInvAmounts(var InvAmount: array[4] of Decimal; var ServiceContractLine: Record "Service Contract Line"; InvFrom: Date; InvTo: Date; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeChangeCustNoOnServItem(var ServiceItem: Record "Service Item"; NewCustomerNo: Code[20])18 to 20
added
[IntegrationEvent] OnBeforeInitServiceLineAppliedGLAccount(var ServLine: Record "Service Line"; AppliedGLAccount: Code[20]; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeUpdateServLedgEntryAmounts(var ServiceContractLine: Record "Service Contract Line"; var ServLedgEntry: Record "Service Ledger Entry"; InvRoundedAmount: array[4] of Decimal; LineInvoiceFrom: Date; InvoiceTo: Date; var IsHandled: Boolean)18 to 18
added
[IntegrationEvent] OnCreateOrGetCreditHeaderOnBeforeCalcCurrencyFactor(ServiceHeader: Record "Service Header"; var CurrExchRate: Record "Currency Exchange Rate")new in 18
added
[IntegrationEvent] OnCreateServHeaderOnBeforeCalcCurrencyFactor(ServiceHeader: Record "Service Header"; var CurrExchRate: Record "Currency Exchange Rate")new in 18
added
[IntegrationEvent] OnBeforeConfirmCreateServiceInvoiceForPeriod(var CurrServContract: Record "Service Contract Header"; InvFrom: Date; InvTo: Date; var Result: Boolean; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeServLedgEntryToServiceLine(var TotalServiceLine: Record "Service Line"; var TotalServiceLineLCY: Record "Service Line"; ServiceHeader: Record "Service Header"; ServiceLedgerEntry: Record "Service Ledger Entry"; var IsHandled: Boolean; ServiceLedgerEntryParm: Record "Service Ledger Entry"; InvFrom: Date; InvTo: Date)new in 18
added
[IntegrationEvent] OnInsertDescriptionServiceLineOnBeforeServiceLineInsert(var ServiceLine: Record "Service Line")new in 18
added
[IntegrationEvent] OnCreateAllServLinesOnAfterCreateDetailedServLine(ServiceContractHeader: Record "Service Contract Header"; ServHeader: Record "Service Header"; ServContractLine: Record "Service Contract Line")new in 18
added
[IntegrationEvent] OnCreateAllServLinesOnAfterCreateServiceLedgerEntry(var ServContractLine: Record "Service Contract Line"; var ServiceApplyEntry: Integer)18 to 24
added
[IntegrationEvent] OnCreateAllServLinesOnBeforeServContractLineLoop(var InvoiceFrom: Date; ServContractLine: Record "Service Contract Line"; ServiceContractHeader: Record "Service Contract Header")new in 18
added
[IntegrationEvent] OnCreateServiceLedgerEntryOnAfterInitServLedgEntry(var ServLedgEntry: Record "Service Ledger Entry"; var ServContractHeader: Record "Service Contract Header"; ContractType: Integer; ContractNo: Code[20]; LineNo: Integer)new in 18
added
[IntegrationEvent] OnCreateServiceLedgerEntryOnBeforeCheckServContractLineStartingDate(ServContractHeader: Record "Service Contract Header"; var CountOfEntryLoop: Integer)new in 18
added
[IntegrationEvent] OnCreateServiceLedgerEntryOnBeforeLoopPeriods(ServContractHeader: Record "Service Contract Header"; ServContractLine: Record "Service Contract Line"; var InvFrom: Date; var WDate: Date; var DateExpression: Text)new in 18
added
[IntegrationEvent] OnCreateServiceLedgerEntryOnBeforeInsertMultipleServLedgEntries(var NextInvDate: Date; ServContractHeader: Record "Service Contract Header"; ServContractLine: Record "Service Contract Line")18 to 18
added