Report 18091203 EOS IPL Serv. Invoice Creation

Report 18091203 EOS IPL Serv. Invoice Creation

LanguageCaption
de-DEServicerechnung aus Rechnungsplan
en-USService Invoice from Invoice Plan
it-ITFattura di assistenza dal piano fattura

Methods

CreateServiceHeader

procedure CreateServiceHeader()

CreateServiceLine

procedure CreateServiceLine(var ServiceHeader: Record "Service Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; Description: Text)

Parameters / Return Value

  • ServiceHeader Record "Service Header"

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

  • IPLInvoicePlanHeader Record "EOS IPL Invoice Plan Header"

  • Description Text[]


Events

OnBeforeOurOrderCommentLine

local procedure OnBeforeOurOrderCommentLine(ServiceLine: Record "Service Line"; ServiceOrderHeader: Record "Service Header"; var skipOurOrderCommentLine: Boolean)

Raised before inserting Service Line with Our Order Comment Line, can be used to skip or modify the line.

Parameters / Return Value

  • ServiceLine Record "Service Line"

    Service Line which is about to be inserted

  • ServiceOrderHeader Record "Service Header"

    Service Order Header that is being processed

  • skipOurOrderCommentLine Boolean

    If set to true skips the inserting of the Our Order Comment Line


OnBeforeInsertOurOrderCommentLine

local procedure OnBeforeInsertOurOrderCommentLine(var ServiceLine: Record "Service Line"; ServiceOrderHeader: Record "Service Header")

Raised before inserting Service Line with Our Order Comment Line, can be used to skip or modify the line.

Parameters / Return Value

  • ServiceLine Record "Service Line"

    Service Line which is about to be inserted

  • ServiceOrderHeader Record "Service Header"

    Service Order Header that is being processed


OnBeforeYourOrderCommentLine

local procedure OnBeforeYourOrderCommentLine(ServiceLine: Record "Service Line"; ServiceOrderHeader: Record "Service Header"; var skipYourOrderCommentLine: Boolean)

Raised before inserting Service Line with Your Order Comment Line, can be used to skip or modify the line.

Parameters / Return Value

  • ServiceLine Record "Service Line"

    Service Line which is about to be inserted

  • ServiceOrderHeader Record "Service Header"

    Service Order Header that is being processed

  • skipYourOrderCommentLine Boolean

    If set to true skips the inserting of the Your Order Comment Line


OnBeforeInsertYourOrderCommentLine

local procedure OnBeforeInsertYourOrderCommentLine(var ServiceLine: Record "Service Line"; ServiceOrderHeader: Record "Service Header")

Raised before inserting Service Line with Your Order Comment Line, can be used to skip or modify the line.

Parameters / Return Value

  • ServiceLine Record "Service Line"

    Service Line which is about to be inserted

  • ServiceOrderHeader Record "Service Header"

    Service Order Header that is being processed


OnBeforeGenerateServiceLine

local procedure OnBeforeGenerateServiceLine(var ServiceHeader: Record "Service Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocServiceLines: Record "Service Line"; var Description: Text; var LastLineNo: Integer)

Raised before inserting GL Account Line, can be used to insert custom lines before the GL Account Line.

Parameters / Return Value

  • ServiceHeader Record "Service Header"

    Service Header being processed

  • IPLInvoicePlanHeader Record "EOS IPL Invoice Plan Header"

    Invoicing Plan Header being processed

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

    Invoicing Plan Line being processed

  • SourceDocServiceLines Record "Service Line"

    Source Order Line being processed

  • Description Text[]

    Description for the GL Account Line, set to var to allow customizations

  • LastLineNo Integer

    Last inserted Service Line Line No.


OnAfterGenerateServiceLine

local procedure OnAfterGenerateServiceLine(var ServiceHeader: Record "Service Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocServiceLines: Record "Service Line"; var Description: Text; var LastLineNo: Integer)

Raised after inserting GL Account Line, can be used to insert custom lines after the GL Account Line.

Parameters / Return Value

  • ServiceHeader Record "Service Header"

    Service Header being processed

  • IPLInvoicePlanHeader Record "EOS IPL Invoice Plan Header"

    Invoicing Plan Header being processed

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

    Invoicing Plan Line being processed

  • SourceDocServiceLines Record "Service Line"

    Source Order Line being processed

  • Description Text[]

    Description for the GL Account Line, set to var to allow customizations

  • LastLineNo Integer

    Last inserted Service Line Line No.


OnBeforeGenerateServiceLineSplitByVAT

local procedure OnBeforeGenerateServiceLineSplitByVAT(var ServiceHeader: Record "Service Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocServiceLines: Record "Service Line"; var Description: Text; var LastLineNo: Integer)

Raised before inserting GL Account Line when splitting by VAT during the Invoice creation, can be used to insert custom lines before the GL Account Line.

Parameters / Return Value

  • ServiceHeader Record "Service Header"

    Service Header being processed

  • IPLInvoicePlanHeader Record "EOS IPL Invoice Plan Header"

    Invoicing Plan Header being processed

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

    Invoicing Plan Line being processed

  • SourceDocServiceLines Record "Service Line"

    Source Order Line being processed

  • Description Text[]

    Description for the GL Account Line, set to var to allow customizations

  • LastLineNo Integer

    Last inserted Service Line Line No.


OnAfterGenerateServiceLineSplitByVAT

local procedure OnAfterGenerateServiceLineSplitByVAT(var ServiceHeader: Record "Service Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocServiceLines: Record "Service Line"; var Description: Text; var LastLineNo: Integer)

Raised after inserting GL Account Line when splitting by VAT during the Invoice creation, can be used to insert custom lines after the GL Account Line.

Parameters / Return Value

  • ServiceHeader Record "Service Header"

    Service Header being processed

  • IPLInvoicePlanHeader Record "EOS IPL Invoice Plan Header"

    Invoicing Plan Header being processed

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

    Invoicing Plan Line being processed

  • SourceDocServiceLines Record "Service Line"

    Invoicing Plan Line being processed

  • Description Text[]

    Description for the GL Account Line, set to var to allow customizations

  • LastLineNo Integer

    Last inserted Service Line Line No.



EOS Labs -