Report "Service - Invoice"

ID 5911
Namespace: Microsoft.Service.History

Generate a service invoice that you can send to your customer.

Properties

Name Value
DefaultLayout RDLC
RDLCLayout ./Service/History/ServiceInvoice.rdlc
Caption Service - Invoice
Permissions TableData "Sales Shipment Buffer" = rimd
WordMergeDataItem Service Invoice Header

Methods

FindPostedShipmentDate

procedure FindPostedShipmentDate(): Date

Returns

Type Description
Date

GenerateBufferFromValueEntry

procedure GenerateBufferFromValueEntry(ServiceInvoiceLine2: Record "Service Invoice Line")

Parameters

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

GenerateBufferFromShipment

procedure GenerateBufferFromShipment(ServiceInvoiceLine: Record "Service Invoice Line")

Parameters

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

AddBufferEntry

procedure AddBufferEntry(ServiceInvoiceLine: Record "Service Invoice Line", QtyOnShipment: Decimal, PostingDate: Date)

Parameters

Name Type Description
ServiceInvoiceLine Table Microsoft.Service.History."Service Invoice Line"
QtyOnShipment Decimal
PostingDate Date

FindDimTxt

procedure FindDimTxt(DimSetID: Integer)

Parameters

Name Type Description
DimSetID Integer

Events

OnBeforeGetDocumentCaption

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDocumentCaption(ServiceInvoiceHeader: Record "Service Invoice Header", var DocCaption: Text)

Parameters

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

See also