Codeunit "Serv. PEPPOL Management"

ID 6458
Namespace: Microsoft.Sales.Peppol

Properties

Name Value
SingleInstance True

Methods

FindNextServiceInvoiceRec

procedure FindNextServiceInvoiceRec(var ServiceInvoiceHeader: Record "Service Invoice Header", var SalesHeader: Record "Sales Header", Position: Integer): Boolean

Parameters

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

Returns

Type Description
Boolean

FindNextServiceInvoiceLineRec

procedure FindNextServiceInvoiceLineRec(var ServiceInvoiceLine: Record "Service Invoice Line", var SalesLine: Record "Sales Line", Position: Integer): Boolean

Parameters

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

Returns

Type Description
Boolean

FindNextServiceCreditMemoRec

procedure FindNextServiceCreditMemoRec(var ServiceCrMemoHeader: Record "Service Cr.Memo Header", var SalesHeader: Record "Sales Header", Position: Integer): Boolean

Parameters

Name Type Description
ServiceCrMemoHeader Table Microsoft.Service.History."Service Cr.Memo Header"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Position Integer

Returns

Type Description
Boolean

MapServiceLineTypeToSalesLineType

procedure MapServiceLineTypeToSalesLineType(ServiceLineType: Enum "Service Line Type"): Enum "Sales Line Type"

Parameters

Name Type Description
ServiceLineType Enum Microsoft.Service.Document."Service Line Type"

Returns

Type Description
Enum Microsoft.Sales.Document."Sales Line Type"

FindNextServiceCreditMemoLineRec

procedure FindNextServiceCreditMemoLineRec(var ServiceCrMemoLine: Record "Service Cr.Memo Line", var SalesLine: Record "Sales Line", Position: Integer): Boolean

Parameters

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

Returns

Type Description
Boolean

Events

OnAfterFindNextServiceInvoiceRec

[IntegrationEvent(False,False)]
local procedure OnAfterFindNextServiceInvoiceRec(var ServiceInvoiceHeader: Record "Service Invoice Header", var SalesHeader: Record "Sales Header", Position: Integer, var Found: Boolean)

Parameters

Name Type Description
ServiceInvoiceHeader Table Microsoft.Service.History."Service Invoice Header"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Position Integer
Found Boolean

OnAfterFindNextServiceInvoiceLineRec

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

Parameters

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

OnAfterFindNextServiceCreditMemoRec

[IntegrationEvent(False,False)]
local procedure OnAfterFindNextServiceCreditMemoRec(var ServiceCrMemoHeader: Record "Service Cr.Memo Header", var SalesHeader: Record "Sales Header", Position: Integer, var Found: Boolean)

Parameters

Name Type Description
ServiceCrMemoHeader Table Microsoft.Service.History."Service Cr.Memo Header"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Position Integer
Found Boolean

OnAfterFindNextServiceCrMemoLineRec

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

Parameters

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

OnBeforeFindServiceInvoiceLine

[IntegrationEvent(False,False)]
local procedure OnBeforeFindServiceInvoiceLine(var SalesInvoiceLine: Record "Service Invoice Line")

Parameters

Name Type Description
SalesInvoiceLine Table Microsoft.Service.History."Service Invoice Line"

OnBeforeFindServiceCrMemoLine

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

Parameters

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

See also