[IntegrationEvent(False,False)]
local procedure OnBeforeModifyServiceDocNoSeries(var ServHeader: Record "Service Header", PServHeader: Record "Service Header", ModifyHeader: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterCheckCertificateOfSupplyStatus(ServShptHeader: Record "Service Shipment Header", ServShptLine: Record "Service Shipment Line")
[IntegrationEvent(False,False)]
local procedure OnAfterCheckDimComb(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterFinalizeCrMemoDocument(var ServiceCrMemoHeader: Record "Service Cr.Memo Header", ServiceHeader: Record "Service Header", var PServCrMemoHeader: Record "Service Cr.Memo Header")
[IntegrationEvent(False,False)]
local procedure OnAfterFinalizeInvoiceDocument(var ServiceInvoiceHeader: Record "Service Invoice Header", ServiceHeader: Record "Service Header", var PServInvHeader: Record "Service Invoice Header")
[IntegrationEvent(False,False)]
local procedure OnAfterFinalizeShipmentDocument(var ServiceShipmentHeader: Record "Service Shipment Header", ServiceHeader: Record "Service Header", var PServShptHeader: Record "Service Shipment Header")
[IntegrationEvent(False,False)]
local procedure OnAfterInitialize(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var CloseCondition: Boolean, Ship: Boolean, Consume: Boolean, Invoice: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterInsertServLedgerEntrySaleConsume(var NextServLedgerEntryNo: Integer)
Parameters
Name
Type
Description
NextServLedgerEntryNo
Integer
OnAfterPostDocumentLines
[IntegrationEvent(False,False)]
local procedure OnAfterPostDocumentLines(var ServHeader: Record "Service Header", var ServInvHeader: Record "Service Invoice Header", var ServInvLine: Record "Service Invoice Line", var ServCrMemoHeader: Record "Service Cr.Memo Header", var ServCrMemoLine: Record "Service Cr.Memo Line", GenJnlLineDocType: Enum "Gen. Journal Document Type", GenJnlLineDocNo: Code[20])
[IntegrationEvent(False,False)]
local procedure OnAfterPostServiceResourceLine(var ServHeader: Record "Service Header", var ServLine: Record "Service Line", var ServMgtSetup: Record "Service Mgt. Setup", var TempServLine: Record "Service Line" temporary, var GenJnlLineDocNo: Code[20], var GenJnlLineExtDocNo: Code[35], var Ship: Boolean, var Invoice: Boolean, var Consume: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterPrepareDocument(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterPrepareShipmentHeader(var ServiceShptHeader: Record "Service Shipment Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterPrepareInvoiceHeader(var ServiceInvHeader: Record "Service Invoice Header", ServiceHeader: Record "Service Header", var ServItemLine: Record "Service Item Line")
[IntegrationEvent(False,False)]
local procedure OnAfterPrepareCrMemoHeader(var ServiceCrMemoHeader: Record "Service Cr.Memo Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterServShptHeaderInsert(var ServiceShipmentHeader: Record "Service Shipment Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterServShptLineInsert(var ServiceShipmentLine: Record "Service Shipment Line", ServiceLine: Record "Service Line", ServiceShipmentHeader: Record "Service Shipment Header", ServiceInvoiceHeader: Record "Service Invoice Header", PassedServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterServShptItemLineInsert(var ServiceShptItemLine: Record "Service Shipment Item Line", ServiceItemLine: Record "Service Item Line")
[IntegrationEvent(False,False)]
local procedure OnAfterServInvHeaderInsert(var ServiceInvoiceHeader: Record "Service Invoice Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterServInvLineInsert(var ServiceInvoiceLine: Record "Service Invoice Line", ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterServCrMemoHeaderInsert(var ServiceCrMemoHeader: Record "Service Cr.Memo Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterServCrMemoLineInsert(var ServiceCrMemoLine: Record "Service Cr.Memo Line", ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcContractDates(var ServItemLine: Record "Service Item Line" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeFinalizeCrMemoDocument(var ServiceCrMemoHeader: Record "Service Cr.Memo Header", var ServHeader: Record "Service Header" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeFinalizeInvoiceDocument(var ServiceInvoiceHeader: Record "Service Invoice Header", var ServHeader: Record "Service Header" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeFinalizeShipmentDocument(var ServiceShipmentHeader: Record "Service Shipment Header", var ServHeader: Record "Service Header" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeFinalizeDeleteHeader(var PassedServHeader: Record "Service Header", var ServHeader: Record "Service Header" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeFinalizeDeleteItemLines(var PServItemLine: Record "Service Item Line", var ServHeader: Record "Service Header" temporary, var ServItemLine: Record "Service Item Line" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetAndCheckCustomer(var ServiceHeader: Record "Service Header" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitialize(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var CloseCondition: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertServLedgerEntrySaleConsume(var ServHeader: Record "Service Header", var ServLine: Record "Service Line", var ServItemLine: Record "Service Item Line", var ServMgtSetup: Record "Service Mgt. Setup", var NextServLedgerEntryNo: Integer, var GenJnlLineDocNo: Code[20], Consume: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeServInvHeaderInsert(var ServiceInvoiceHeader: Record "Service Invoice Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeServInvLineInsert(var ServiceInvoiceLine: Record "Service Invoice Line", ServiceLine: Record "Service Line", var GlobalServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeServCrMemoHeaderInsert(var ServiceCrMemoHeader: Record "Service Cr.Memo Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeServCrMemoLineInsert(var ServiceCrMemoLine: Record "Service Cr.Memo Line", ServiceLine: Record "Service Line", var GlobalServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeServShptHeaderInsert(var ServiceShipmentHeader: Record "Service Shipment Header", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeServShptLineInsert(var ServiceShipmentLine: Record "Service Shipment Line", ServiceLine: Record "Service Line", ServiceShipmentHeader: Record "Service Shipment Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeServShptItemLineInsert(var ServiceShptItemLine: Record "Service Shipment Item Line", ServiceItemLine: Record "Service Item Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeSetGenJnlLineDocNumbers(var ServiceHeader: Record "Service Header", var DocType: Integer, var DocNo: Code[20], var ExtDocNo: Code[35])
[IntegrationEvent(False,False)]
local procedure OnBeforeSetLastNos(var PServHeader: Record "Service Header", var ServHeader: Record "Service Header" temporary, Ship: Boolean, Invoice: Boolean, ServLinesPassed: Boolean, CloseCondition: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDocumentLines(var ServHeader: Record "Service Header", var CloseCondition: Boolean, var ServLinesPassed: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckAndBlankQtysOnBeforeCheckServLine(var ServiceLine: Record "Service Line", var SkipCheckContractNoAndShipmentNo: Boolean, var SkipCheckUnitOfMeasureCode: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterFillInvPostingBuffer(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var ServiceLineACY: Record "Service Line", var ServiceInvoiceHeader: Record "Service Invoice Header", var ServiceCrMemoHeader: Record "Service Cr.Memo Header", var ServiceShipmentHeader: Record "Service Shipment Header")
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterPrepareLine(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var ServiceInvoiceHeader: Record "Service Invoice Header", var ServiceCrMemoHeader: Record "Service Cr.Memo Header", var ServiceShipmentHeader: Record "Service Shipment Header")
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnBeforeCheckServLine(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", Ship: Boolean, Invoice: Boolean, var ServiceItemLine: Record "Service Item Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterSortLines(var ServHeader: Record "Service Header", var ServLine: Record "Service Line", var TempVATAmountLine: Record "VAT Amount Line" temporary, var TempVATAmountLineForSLE: Record "VAT Amount Line" temporary)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterCalcShouldPostShipmentServiceEntry(var ServHeader: Record "Service Header", var ServLine: Record "Service Line", var Ship: Boolean, var ApplToServEntryNo: Integer, var NextServLedgerEntryNo: Integer, var ShouldPostShipmentServiceEntry: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnBeforePostRemQtyToBeConsumed(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnPrepareDocumentOnBeforePassedServLineFind(var PassedServLine: Record "Service Line", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterServPostingJnlsMgtCreateCreditEntry(var NextServLedgerEntryNo: Integer, var ApplToServEntryNo: Integer, var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnRemoveLinesNotSatisfyPostingOnBeforeInitRemainingServLine(var ServiceLine2: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUpdateServLinesOnPostOrderOnBeforeInitOutstanding(var ServiceLine: Record "Service Line", var Consume: Boolean, var Invoice: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPrepareDocumentOnPServLineLoopOnBeforeServLineInsert(var ServLine: Record "Service Line", PServLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterMakeInvtAdjustment(var InvtSetup: Record "Inventory Setup", var ServHeader: Record "Service Header" temporary)
[IntegrationEvent(False,False)]
local procedure OnBeforeSetNoSeries(var ServHeader: Record "Service Header" temporary, Invoice: Boolean, Consume: Boolean, var Result: Boolean, var IsHandled: Boolean, var PServiceHeader: Record "Service Header", Ship: Boolean)
[IntegrationEvent(False,False)]
local procedure OnFinalizeOnBeforeFinalizeHeaderAndLines(var PassedServHeader: Record "Service Header", var IsHandled: Boolean, var CloseCondition: Boolean)
[IntegrationEvent(False,False)]
local procedure OnFinalizeDeleteHeaderOnAfterDeleteInvoiceSpecFromHeader(var ServHeader: Record "Service Header" temporary)
[IntegrationEvent(False,False)]
local procedure OnPrepareShipmentHeaderOnBeforeCalcServItemDates(var ServHeader: Record "Service Header", var ServItemLine: Record "Service Item Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPrepareInvoiceHeaderOnAfterServInvHeaderTransferFields(var ServHeader: Record "Service Header", var ServInvHeader: Record "Service Invoice Header" temporary)
[IntegrationEvent(False,False)]
local procedure OnPrepareInvoiceHeaderOnBeforeCheckPostingNo(var ServHeader: Record "Service Header", var ServInvHeader: Record "Service Invoice Header" temporary)
[IntegrationEvent(False,False)]
local procedure OnUpdateShptLinesOnInvOnAfterCalcQtyToBeConsumed(var ServiceLine: Record "Service Line", var QtyToBeConsumed: Decimal, var QtyToBeConsumedBase: Decimal, var RemQtyToBeConsumed: Decimal, var RemQtyToBeConsumedBase: Decimal)
[IntegrationEvent(False,False)]
local procedure OnUpdateServLinesOnPostOrderOnBeforeServLineLoop(var ServiceLine: Record "Service Line", Invoice: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnRemoveLinesNotSatisfyPostingOnFindServLinesNotSelectedToPost(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var ServiceLine2: Record "Service Line", var CloseCondition: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnRemoveLinesNotSatisfyPostingOnBeforeRemoveServLines(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnBeforeFilterServiceLine(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterCheckCloseCondition(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var ServiceItemLine: Record "Service Item Line")
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterAssignApplToServEntryNo(var ServiceHeader: Record "Service Header", var ApplToServEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnPrepareShipmentHeaderOnBeforeCreateServiceShipmentItemLine(var ServiceHeader: Record "Service Header", ServiceItemLine: Record "Service Item Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnSetNoSeriesOnBeforeSetPostingNo(var ServiceHeader: Record "Service Header", Invoice: Boolean, var ModifyHeader: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckDimValuePostingOnAssignDimensionsToNewLine(var TableIDArr: array[10] of Integer, var NumberArr: array[10] of Code[20], var ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnPrepareDocumentOnServLineInsert(var ServiceHeader2: Record "Service Header", var ServiceLine: Record "Service Line", ServiceLine2: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnBeforeCreateCreditEntry(ServiceHeader: Record "Service Header", ServiceLine: Record "Service Line", GenJnlLineDocNo: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnFinalizeShipmentDocumentOnAfterInserServiceShipmentLine(var ServiceShipmentLine2: Record "Service Shipment Line")
[IntegrationEvent(False,False)]
local procedure OnFinalizeShipmentDocumentOnBeforeCopyServiceShipmentItemLine(var ServiceShipmentItemLine: Record "Service Shipment Item Line")
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnBeforePostBalancingEntry(ServiceHeader: Record "Service Header", ServiceLine: Record "Service Line", var TotalServiceLine: Record "Service Line", var ServPostingJournalsMgt: Codeunit "Serv-Posting Journals Mgt.", GenJnlLineDocType: Enum "Gen. Journal Document Type", GenJnlLineDocNo: Code[20], GenJnlLineExtDocNo: Code[35], var InvoicePostingInterface: Interface "Invoice Posting", var Window: Dialog, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnBeforeInvoiceRounding(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var TotalServiceLine: Record "Service Line", var ServAmountsMgt: Codeunit "Serv-Amounts Mgt.", var LastLineRetrieved: Boolean, BiggestLineNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckAndSetPostingConstantsOnAfterCalcPassedConsume(PassedShip: Boolean, var PassedConsume: Boolean, PassedInvoice: Boolean, var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnCheckAndSetPostingConstantsOnAfterCalcPassedInvoice(PassedShip: Boolean, PassedConsume: Boolean, var PassedInvoice: Boolean, var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnCheckAndSetPostingConstantsOnAfterCalcPassedShip(var PassedShip: Boolean, PassedConsume: Boolean, PassedInvoice: Boolean, var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeRemoveLinesNotSatisfyPosting(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", Ship: Boolean, Consume: Boolean, Invoice: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterGetInvoicePostingParameters(var InvoicePostingParameters: Record "Invoice Posting Parameters" temporary, var ServiceInvoiceHeader: Record "Service Invoice Header")
[IntegrationEvent(False,False)]
local procedure OnPrepareShipmentLineOnAfterWarrantyLedgerEntryModify(ServiceShipmentLine: Record "Service Shipment Line")
[IntegrationEvent(False,False)]
local procedure OnFinalizeShipmentDocumentOnBeforeServiceShipmentHeaderInsert(var ServiceShipmentHeaderToInsert: Record "Service Shipment Header", var TempServiceShipmentHeader: Record "Service Shipment Header" temporary, var TempServiceHeader: Record "Service Header" temporary)
[IntegrationEvent(False,False)]
local procedure OnFinalizeInvoiceDocumentOnBeforeServiceInvoiceHeaderInsert(var ServiceInvoiceHeaderToInsert: Record "Service Invoice Header", var TempServiceInvoiceHeader: Record "Service Invoice Header" temporary, var TempServiceHeader: Record "Service Header" temporary)
[IntegrationEvent(False,False)]
local procedure OnFinalizeCrMemoDocumentOnBeforeServiceCreditMemoHeaderInsert(var ServiceCrMemoHeaderToInsert: Record "Service Cr.Memo Header", var TempServiceCrMemoHeader: Record "Service Cr.Memo Header" temporary, var TempServiceHeader: Record "Service Header" temporary)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckServiceShipmentLineValues(var ServiceShipmentLine: Record "Service Shipment Line", var ServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentLinesOnAfterPostSalesAndVAT(var ServiceHeader: Record "Service Header", var TotalServiceLine: Record "Service Line", var Window: Dialog, GenJnlLineDocNo: Code[20], GenJnlLineExtDocNo: Text[35], Invoice: Boolean)