Codeunit 18091200 EOS IPL Management
Codeunit 18091200 EOS IPL Management
Methods
GetInvoicePlanDefault
procedure GetInvoicePlanDefault(var GenJournalLine: Record "Gen. Journal Line")
Parameters / Return Value
- GenJournalLine
Record "Gen. Journal Line"
GetInvoicePlanSalesHeader
procedure GetInvoicePlanSalesHeader(var SalesHeader: Record "Sales Header")
Parameters / Return Value
- SalesHeader
Record "Sales Header"
OpenSalesHeaderInvoicePlan
procedure OpenSalesHeaderInvoicePlan(var SalesHeader: Record "Sales Header"): Boolean
Parameters / Return Value
SalesHeader
Record "Sales Header"
Returns
Boolean
CreateInvoicePlanFromSalesHeader
procedure CreateInvoicePlanFromSalesHeader(var SalesHeader: Record "Sales Header"): Code[20]
Parameters / Return Value
SalesHeader
Record "Sales Header"
Returns
Code[20]
CopyInvPlanTmpTextsToInvPlanTexts
procedure CopyInvPlanTmpTextsToInvPlanTexts(IPLTemplateLine: Record "EOS IPL Template Line"; IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line")
Parameters / Return Value
IPLTemplateLine
Record "EOS IPL Template Line"
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
AddSalesInvoiceToPartialClosingDeduction
procedure AddSalesInvoiceToPartialClosingDeduction(var SalesHeaderInvoice: Record "Sales Header";var SalesHeaderCreditMemo: Record "Sales Header";var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line";SalesLineStartLine: Integer;SalesLineEndLine: Integer;SplitByVAT: Boolean) TotalAmount2Revert: Decimal
Parameters / Return Value
SalesHeaderInvoice
Record "Sales Header"
SalesHeaderCreditMemo
Record "Sales Header"
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
SalesLineStartLine
Integer
SalesLineEndLine
Integer
SplitByVAT
Boolean
Returns
Decimal
AddSalesInvoiceToClosing
procedure AddSalesInvoiceToClosing(var SalesHeaderInvoice: Record "Sales Header";var SalesHeaderCreditMemo: Record "Sales Header";var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line";SalesLineStartLine: Integer;SalesLineEndLine: Integer;SplitByVAT: Boolean): Decimal
Parameters / Return Value
SalesHeaderInvoice
Record "Sales Header"
SalesHeaderCreditMemo
Record "Sales Header"
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
SalesLineStartLine
Integer
SalesLineEndLine
Integer
SplitByVAT
Boolean
Returns
Decimal
CheckSalesInvoicing
procedure CheckSalesInvoicing(var SalesHeaderInvoice: Record "Sales Header";var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line";SalesLineStartLine: Integer;SalesLineEndLine: Integer;AmountReverted: Decimal)
Parameters / Return Value
SalesHeaderInvoice
Record "Sales Header"
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
SalesLineStartLine
Integer
SalesLineEndLine
Integer
AmountReverted
Decimal
Events
OnBeforeGenerateSalesLineSplitByVAT
local procedure OnBeforeGenerateSalesLineSplitByVAT(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocSalesLines: Record "Sales Line"; var GLAccount: Code[20]; RevertedLineNo: Integer; Amount: Decimal; var Description: Text; var Description2: Text)
Raised before generating Sales Line when SplitByVAT is enabled, allows to add custom lines before the Sales Line insertion or Descriptions and GL Account modifications
Parameters / Return Value
SalesHeader
Record "Sales Header"
Sales Header being of the invoice being created
IPLInvoicePlanHeader
Record "EOS IPL Invoice Plan Header"
Invoice Plan Header being processed
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
Invoice Plan Line being processed
SourceDocSalesLines
Record "Sales Line"
Source Order Sales Lines used to process Splitting by VAT
GLAccount
Code[20]
GL Account for the Sales Line, set to var to allow customizations
RevertedLineNo
Integer
Reverted Line No
Amount
Decimal
Amount
Description
Text
Description for the Sales Line, set to var to allow customizations
Description2
Text
Description2 for the Sales Line, set to var to allow customizations
OnAfterGenerateSalesLineSplitByVAT
local procedure OnAfterGenerateSalesLineSplitByVAT(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; SourceDocSalesLines: Record "Sales Line"; var GLAccount: Code[20]; RevertedLineNo: Integer; Amount: Decimal; var Description: Text; var Description2: Text)
Raised after generating Sales Line when SplitByVAT is enabled, allows to add custom lines after the Sales Line insertion or Descriptions and GL Account modifications
Parameters / Return Value
SalesHeader
Record "Sales Header"
Sales Header being of the invoice being created
IPLInvoicePlanHeader
Record "EOS IPL Invoice Plan Header"
Invoice Plan Header being processed
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
Invoice Plan Line being processed
SourceDocSalesLines
Record "Sales Line"
Source Order Sales Lines used to process Splitting by VAT
GLAccount
Code[20]
GL Account for the Sales Line, set to var to allow customizations
RevertedLineNo
Integer
Reverted Line No
Amount
Decimal
Amount
Description
Text
Description for the Sales Line, set to var to allow customizations
Description2
Text
Description2 for the Sales Line, set to var to allow customizations
OnBeforeGenerateSalesLine
local procedure OnBeforeGenerateSalesLine(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; var GLAccount: Code[20]; RevertedLineNo: Integer; Amount: Decimal; var Description: Text; var Description2: Text)
Raised before generating Sales Line, allows to add custom lines before the Sales Line insertion or Descriptions and GL Account modifications
Parameters / Return Value
SalesHeader
Record "Sales Header"
Sales Header being of the invoice being created
IPLInvoicePlanHeader
Record "EOS IPL Invoice Plan Header"
Invoice Plan Header being processed
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
Invoice Plan Line being processed
GLAccount
Code[20]
GL Account for the Sales Line, set to var to allow customizations
RevertedLineNo
Integer
Reverted Line No
Amount
Decimal
Amount
Description
Text
Description for the Sales Line, set to var to allow customizations
Description2
Text
Description2 for the Sales Line, set to var to allow customizations
OnAfterGenerateSalesLine
local procedure OnAfterGenerateSalesLine(var SalesHeader: Record "Sales Header"; IPLInvoicePlanHeader: Record "EOS IPL Invoice Plan Header"; var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; var GLAccount: Code[20]; RevertedLineNo: Integer; Amount: Decimal; var Description: Text; var Description2: Text)
Raised after generating Sales Line, allows to add custom lines after the Sales Line insertion or Descriptions and GL Account modifications
Parameters / Return Value
SalesHeader
Record "Sales Header"
IPLInvoicePlanHeader
Record "EOS IPL Invoice Plan Header"
IPLInvoicePlanLine
Record "EOS IPL Invoice Plan Line"
GLAccount
Code[20]
GL Account for the Sales Line, set to var to allow customizations
RevertedLineNo
Integer
Reverted Line No
Amount
Decimal
Amount
Description
Text
Description for the Sales Line, set to var to allow customizations
Description2
Text
Description2 for the Sales Line, set to var to allow customizations
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.