Report 18091200 EOS IPL Sales Invoice Creation

Report 18091200 EOS IPL Sales Invoice Creation

LanguageCaption
de-ATVerkaufsrechnung aus Rechnungsplan
de-CHVerkaufsrechnung aus Rechnungsplan
de-DEVerkaufsrechnung aus Rechnungsplan
en-AUSales Invoice from Invoice Plan
en-CASales Invoice from Invoice Plan
en-GBSales Invoice from Invoice Plan
en-NZSales Invoice from Invoice Plan
en-USSales Invoice from Invoice Plan
it-CHFattura di vendita dal piano di fatturazione
it-ITFattura di vendita dal piano di fatturazione

Methods

CreateSalesHeader

procedure CreateSalesHeader()

CreateSalesLine

procedure CreateSalesLine(var SalesHeader: Record "Sales Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; Description: Text)

Parameters / Return Value

  • SalesHeader Record "Sales Header"

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

  • IPLInvoicePlanHeader Record "EOS IPL Invoice Plan Header"

  • Description Text[]


Events

OnBeforeOurOrderCommentLine

local procedure OnBeforeOurOrderCommentLine(SalesLine: Record "Sales Line"; SalesOrderHeader: Record "Sales Header"; var skipOurOrderCommentLine: Boolean)

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

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Sales Line which is about to be inserted

  • SalesOrderHeader Record "Sales Header"

    Sales 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 SalesLine: Record "Sales Line"; SalesOrderHeader: Record "Sales Header")

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

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Sales Line which is about to be inserted

  • SalesOrderHeader Record "Sales Header"

    Sales Order Header that is being processed


OnBeforeYourOrderCommentLine

local procedure OnBeforeYourOrderCommentLine(SalesLine: Record "Sales Line"; SalesOrderHeader: Record "Sales Header"; var skipYourOrderCommentLine: Boolean)

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

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Sales Line which is about to be inserted

  • SalesOrderHeader Record "Sales Header"

    Sales 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 SalesLine: Record "Sales Line"; SalesOrderHeader: Record "Sales Header")

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

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Sales Line which is about to be inserted

  • SalesOrderHeader Record "Sales Header"

    Sales Order Header that is being processed


OnBeforeGenerateSalesLine

local procedure OnBeforeGenerateSalesLine(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocSalesLines: Record "Sales 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

  • SalesHeader Record "Sales Header"

    Sales 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

  • SourceDocSalesLines Record "Sales Line"

    Source Order Line being processed

  • Description Text[]

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

  • LastLineNo Integer

    Last inserted Sales Line Line No.


OnAfterGenerateSalesLine

local procedure OnAfterGenerateSalesLine(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocSalesLines: Record "Sales 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

  • SalesHeader Record "Sales Header"

    Sales 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

  • SourceDocSalesLines Record "Sales Line"

    Source Order Line being processed

  • Description Text[]

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

  • LastLineNo Integer

    Last inserted Sales Line Line No.


OnBeforeGenerateSalesLineSplitByVAT

local procedure OnBeforeGenerateSalesLineSplitByVAT(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocSalesLines: Record "Sales 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

  • SalesHeader Record "Sales Header"

    Sales 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

  • SourceDocSalesLines Record "Sales Line"

    Source Order Line being processed

  • Description Text[]

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

  • LastLineNo Integer

    Last inserted Sales Line Line No.


OnAfterGenerateSalesLineSplitByVAT

local procedure OnAfterGenerateSalesLineSplitByVAT(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocSalesLines: Record "Sales 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

  • SalesHeader Record "Sales Header"

    Sales 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

  • SourceDocSalesLines Record "Sales Line"

    Invoicing Plan Line being processed

  • Description Text[]

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

  • LastLineNo Integer

    Last inserted Sales Line Line No.



EOS Labs -