Codeunit "PEPPOL Service Validation"

ID 1621
Namespace: Microsoft.Sales.Peppol

Properties

Name Value
TableNo Table Microsoft.Service.Document."Service Header"

Methods

CheckServiceHeader

procedure CheckServiceHeader(ServiceHeader: Record "Service Header")

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"

CheckServiceInvoice

procedure CheckServiceInvoice(ServiceInvoiceHeader: Record "Service Invoice Header")

Parameters

Name Type Description
ServiceInvoiceHeader Table Microsoft.Service.History."Service Invoice Header"

CheckServiceCreditMemo

procedure CheckServiceCreditMemo(ServiceCrMemoHeader: Record "Service Cr.Memo Header")

Parameters

Name Type Description
ServiceCrMemoHeader Table Microsoft.Service.History."Service Cr.Memo Header"

Events

OnCheckServiceHeaderOnBeforeCheckSalesDocumentLine

[IntegrationEvent(False,False)]
local procedure OnCheckServiceHeaderOnBeforeCheckSalesDocumentLine(var SalesLine: Record "Sales Line", ServiceLine: Record "Service Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ServiceLine Table Microsoft.Service.Document."Service Line"

OnCheckServiceInvoiceOnBeforeCheckSalesDocumentLine

[IntegrationEvent(False,False)]
local procedure OnCheckServiceInvoiceOnBeforeCheckSalesDocumentLine(var SalesLine: Record "Sales Line", ServiceInvoiceLine: Record "Service Invoice Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ServiceInvoiceLine Table Microsoft.Service.History."Service Invoice Line"

OnCheckServiceCreditMemoOnBeforeCheckSalesDocumentLine

[IntegrationEvent(False,False)]
local procedure OnCheckServiceCreditMemoOnBeforeCheckSalesDocumentLine(var SalesLine: Record "Sales Line", ServiceCrMemoLine: Record "Service Cr.Memo Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ServiceCrMemoLine Table Microsoft.Service.History."Service Cr.Memo Line"

OnAfterSetServiceLineFilter

[IntegrationEvent(False,False)]
local procedure OnAfterSetServiceLineFilter(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header")

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
ServiceHeader Table Microsoft.Service.Document."Service Header"

OnCheckServiceInvoiceOnBeforeCheckSalesDocument

[IntegrationEvent(False,False)]
local procedure OnCheckServiceInvoiceOnBeforeCheckSalesDocument(var SalesHeader: Record "Sales Header", ServiceInvoiceHeader: Record "Service Invoice Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ServiceInvoiceHeader Table Microsoft.Service.History."Service Invoice Header"

See also