Table 18091201 EOS IPL Invoice Plan Header

Table 18091201 EOS IPL Invoice Plan Header

LanguageCaption
de-DERechnungsplankopf
en-USInvoice Plan Header
it-ITTestata piano fatturazione

Fields

No. (5)

Code[20]

LanguageCaption
de-DENr.
en-USNo.
it-ITNr.

Job No. (7)

Code[20]

TableRelation: Job

LanguageCaption
de-DEProjektnr.
en-USJob No.
it-ITNr. commessa

Invoice Plan Template Code (10)

Code[20]

TableRelation: "EOS IPL Template Header"

LanguageCaption
de-DERechnungsplanvorlagencode
en-USInvoice Plan Template Code
it-ITCodice modello piano fatturazione

Source Type (19)

Enum "EOS IPL Source Type"

LanguageCaption
de-DEHerkunftsart
en-USSource Type
it-ITTipo origine

Source Document No. (20)

Code[20]

TableRelation: if ("Source Type" = const("Sales Order")) "Sales Header" where("Document Type" = const(Order)) else if ("Source Type" = const("Service Order")) "Service Header" where("Document Type" = const(Order)) else if ("Source Type" = const("Purchase Order")) "Purchase Header" where("Document Type" = const(Order))

LanguageCaption
de-DEHerkunftsbelegnr.
en-USSource Document No.
it-ITNr. documento origine

Source No. (25)

Code[20]

TableRelation: if ("Source Type" = filter("Sales Order" | "Service Order")) "Customer" else if ("Source Type" = filter("Purchase Order")) "Vendor"

LanguageCaption
de-DEHerkunftsnr.
en-USSource No.
it-ITNr. origine

Name (35)

Text[100]

LanguageCaption
de-DEName
en-USName
it-ITNome

Name 2 (40)

Text[100]

LanguageCaption
de-DEName 2
en-USName 2
it-ITNome 2

Address (50)

Text[100]

LanguageCaption
de-DEAdresse
en-USAddress
it-ITIndirizzo

Address 2 (55)

Text[100]

LanguageCaption
de-DEAdresse 2
en-USAddress 2
it-ITIndirizzo 2

Country/Region Code (60)

Code[10]

TableRelation: "Country/Region"

LanguageCaption
de-DELänder-/Regionscode
en-USCountry/Region Code
it-ITCod. paese

Post Code (65)

Code[20]

TableRelation: if ("Country/Region Code" = const('')) "Post Code" else if ("Country/Region Code" = filter(<> '')) "Post Code" where("Country/Region Code" = field("Country/Region Code"))

LanguageCaption
de-DEPLZ-Code
en-USPost Code
it-ITCAP

City (70)

Text[30]

TableRelation: if ("Country/Region Code" = const('')) "Post Code".City else if ("Country/Region Code" = filter(<> '')) "Post Code".City where("Country/Region Code" = field("Country/Region Code"))

LanguageCaption
de-DEOrt
en-USCity
it-ITCittà

County (72)

Text[30]

LanguageCaption
de-DEBundesregion
en-USCounty
it-ITProvincia

Gen. Bus. Posting Group (75)

Code[20]

TableRelation: "Gen. Business Posting Group"

LanguageCaption
de-DEGeschäftsbuchungsgruppe
en-USGen. Bus. Posting Group
it-ITCat. reg. business

VAT Bus. Posting Group (76)

Code[20]

TableRelation: "VAT Business Posting Group"

LanguageCaption
de-DEMwSt.-Geschäftsbuchungsgruppe
en-USVAT Bus. Posting Group
it-ITCat. reg. business IVA

Currency Code (80)

Code[10]

TableRelation: Currency

LanguageCaption
de-DEWährungscode
en-USCurrency Code
it-ITCod. valuta

Total Amount (90)

Decimal

LanguageCaption
de-DEGesamtbetrag
en-USTotal Amount
it-ITImporto totale

Total Amount Including VAT (95)

Decimal

LanguageCaption
de-DESumme Positionen (brutto)
en-USTotal Amount Including VAT
it-ITImporto totale (IVA incl.)

Order Amount (100)

Decimal

FieldClass: FlowField

CalcFormula: sum("EOS IPL Position Allocation".Amount where("Invoice Plan No." = field("No."), Assigned = const(true)))

LanguageCaption
de-DE%
en-USOrder Amount
it-ITImporto ordine

Posted Amount (110)

Decimal

FieldClass: FlowField

CalcFormula: sum("EOS IPL Invoice Plan Line"."Net Amount" where("Invoice Plan No." = field("No."), "Posted Invoice" = const(true), "Invoice Type" = const("Anticipated Payment Invoice")))

LanguageCaption
de-DEAbgerechneter Betrag
en-USPosted Anticipated Amount
it-ITImporto anticipo registrato

Open Amount (120)

Decimal

LanguageCaption
de-DEOffener Betrag
en-USTotal Closing Amount
it-ITImporto a chiusura da fatturare

Invoice Plan Amount (130)

Decimal

FieldClass: FlowField

CalcFormula: sum("EOS IPL Invoice Plan Line"."Net Amount" where("Invoice Plan No." = field("No."), "Invoice Type" = const("Anticipated Payment Invoice")))

LanguageCaption
de-DEAufgeteilter Betrag
en-USInvoice Plan Amount
it-ITImporto totale anticipo

Invoice Plan Remaining Amount (140)

Decimal

FieldClass: FlowField

CalcFormula: sum("Detailed Cust. Ledg. Entry".Amount where("EOS IPL Invoice Plan No." = field("No."), "Document Type" = filter(Invoice | "Credit Memo"), "Entry Type" = filter("Initial Entry")))

LanguageCaption
de-DEGebuchter Gesamtbetrag
en-USTotal Posted Amount
it-ITImporto totale fatturato

Inv. Plan Purch. Remaining Amt (150)

Decimal

FieldClass: FlowField

CalcFormula: sum("Detailed Vendor Ledg. Entry".Amount where("EOS IPL Invoice Plan No." = field("No."), "Document Type" = filter(Invoice | "Credit Memo"), "Entry Type" = filter("Initial Entry")))

LanguageCaption
de-DEGesamtbetrag Gebuchter Betrag
en-USTotal Posted Amount
it-ITImporto totale fatturato

Completely Invoiced (200)

Boolean

LanguageCaption

Shortcut Dimension 1 Code (300)

Code[20]

TableRelation: "Dimension Value".Code where("Global Dimension No." = const(1))

LanguageCaption
de-DEShortcutdimensionscode 1
en-USShortcut Dimension 1 Code
it-ITCod. colleg. dimen. 1

Shortcut Dimension 2 Code (301)

Code[20]

TableRelation: "Dimension Value".Code where("Global Dimension No." = const(2))

LanguageCaption
de-DEShortcutdimensionscode 2
en-USShortcut Dimension 2 Code
it-ITCod. colleg. dimen. 2

Description (302)

Text[100]

LanguageCaption
de-DEBeschreibung
en-USDescription
it-ITDescrizione

Description 2 (303)

Text[100]

LanguageCaption
de-DEBeschreibung 2
en-USDescription 2
it-ITDescrizione 2

Closed (305)

Boolean

LanguageCaption
de-DEGeschlossen
en-USClosed
it-ITChiuso

Closing Invoice corrected (307)

Boolean

LanguageCaption

Gen. Prod. Posting Group (310)

Code[20]

TableRelation: "Gen. Product Posting Group"

LanguageCaption
de-DEProduktbuchungsgruppe
en-USGen. Prod. Posting Group
it-ITCat. reg. articolo/servizio

VAT Prod. Posting Group (311)

Code[20]

TableRelation: "VAT Product Posting Group"

LanguageCaption
de-DEMwSt.-Produktbuchungsgruppe
en-USVAT Prod. Posting Group
it-ITCat. reg. art./serv. IVA

Account AP Invoice (320)

Code[20]

TableRelation: "G/L Account"

LanguageCaption
de-DEKonto Abschlagsrechnung
en-USAnticipated Inv. Plan. Bal. Acc.
it-ITFattura Conto AP

Dimension Set ID (480)

Integer

TableRelation: "Dimension Set Entry"

LanguageCaption
de-DEDimensionssatz-ID
en-USDimension Set ID
it-ITID set di dimensioni

No. Series (500)

Code[20]

TableRelation: "No. Series"

LanguageCaption
de-DENummernserie
en-USNo. Series
it-ITNr. serie

Date Filter (600)

Date

FieldClass: FlowFilter

LanguageCaption
de-DEDatumsfilter
en-USDate Filter
it-ITFiltro data

Date of Closing Invoice Cust. (700)

Date

FieldClass: FlowField

CalcFormula: min("Cust. Ledger Entry"."Posting Date" where("Document Type" = const(Invoice), "EOS IPL Document Type" = const("Closing Invoice"), "EOS IPL Invoice Plan No." = field("No.")))

LanguageCaption
de-DESchlußrechnungsdatum Debitor
en-USClosing Invoice Data
it-ITData di Cliente Fattura Chiusura

Cust. L. Entry No. Clos. Inv. (702)

Integer

FieldClass: FlowField

CalcFormula: min("Cust. Ledger Entry"."Entry No." where("Document Type" = const(Invoice), "EOS IPL Document Type" = const("Closing Invoice"), "EOS IPL Invoice Plan No." = field("No."), "Posting Date" = field("Date Filter")))

LanguageCaption
de-DEDebitorenposten-Nr. Abschlussrechnung
en-USClosing Invoice Ledger Entry No.
it-ITNr. movimento contabile cliente Fattura di chiusura

Cust. Remaining Amt. (LCY) (707)

Decimal

FieldClass: FlowField

CalcFormula: sum("Detailed Cust. Ledg. Entry"."Amount (LCY)" where("EOS IPL Invoice Plan No." = field("No."), "Posting Date" = field("Date Filter")))

LanguageCaption
de-DEDeb. Restbetrag (MW)
en-USRemaining Amt. (LCY)
it-ITImporto Residuo Cliente (VL)

Methods

AssistEdit

procedure AssistEdit(): Boolean

Parameters / Return Value

  • Returns Boolean

TotalPositionNet

procedure TotalPositionNet(): Decimal

Parameters / Return Value

  • Returns Decimal

TotalPositionGross

procedure TotalPositionGross(): Decimal

Parameters / Return Value

  • Returns Decimal

CheckInvoicePlan

procedure CheckInvoicePlan()

CreateInvoice

procedure CreateInvoice()

CreateClosingInvoice

procedure CreateClosingInvoice()

CreateCrMemos

procedure CreateCrMemos()

CheckSalesOrder

procedure CheckSalesOrder()

UpdateDocumentHeader

procedure UpdateDocumentHeader()

CreateDim

procedure CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20]; Type4: Integer; No4: Code[20]; Type5: Integer; No5: Code[20])

Parameters / Return Value

  • Type1 Integer

  • No1 Code[20]

  • Type2 Integer

  • No2 Code[20]

  • Type3 Integer

  • No3 Code[20]

  • Type4 Integer

  • No4 Code[20]

  • Type5 Integer

  • No5 Code[20]


ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters / Return Value

  • FieldNumber Integer

  • ShortcutDimCode Code[20]


ShowDocDim

procedure ShowDocDim()

ShowSourceDoc

procedure ShowSourceDoc()

ShowInvoices

procedure ShowInvoices()

ShowServiceInvoices

procedure ShowServiceInvoices()

ShowCreditMemos

procedure ShowCreditMemos()

ShowServiceCreditMemos

procedure ShowServiceCreditMemos()

ShowPostedInvoices

procedure ShowPostedInvoices()

ShowPostedCreditMemos

procedure ShowPostedCreditMemos()

ShowPostedServiceCreditMemos

procedure ShowPostedServiceCreditMemos()

ShowPostedPurchaseCreditMemos

procedure ShowPostedPurchaseCreditMemos()

SetReferToPosition

procedure SetReferToPosition()

SetDisableSourceHeaderUpdate

procedure SetDisableSourceHeaderUpdate(Value: Boolean)

Parameters / Return Value

  • Value Boolean

CalculateClosingAmount

procedure CalculateClosingAmount(): Decimal

Parameters / Return Value

  • Returns Decimal

CalculateOpenAmount

procedure CalculateOpenAmount(): Decimal

Parameters / Return Value

  • Returns Decimal

Events

OnAfterSetFiltersCollectedAmount

local procedure OnAfterSetFiltersCollectedAmount(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")

Raised after setting filters on Detailed Customer Ledger Entry table to calculate Collected Amount field, suscribe to this event to add “Dishonored” document type to the document type filters on italian localizations

Parameters / Return Value

  • DetailedCustLedgEntry Record "Detailed Cust. Ledg. Entry"

    Detailed Customer Ledger Entry table that is begin filtered


OnAfterSetFiltersPurchCollectedAmount

local procedure OnAfterSetFiltersPurchCollectedAmount(var VendorCustLedgEntry: Record "Detailed Vendor Ledg. Entry")

Raised after setting filters on Detailed Vendor Ledger Entry table to calculate Collected Amount field, suscribe to this event to add “Dishonored” document type to the document type filters on italian localizations

Parameters / Return Value

  • VendorCustLedgEntry Record "Detailed Vendor Ledg. Entry"

    Detailed Vendor Ledger Entry table that is begin filtered


OnAfterSetFiltersCollectedAmountLCY

local procedure OnAfterSetFiltersCollectedAmountLCY(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")

Raised after setting filters on Detailed Customer Ledger Entry table to calculate Collected Amount (LCY) field, suscribe to this event to add “Dishonored” document type to the document type filters on italian localizations

Parameters / Return Value

  • DetailedCustLedgEntry Record "Detailed Cust. Ledg. Entry"

    Detailed Customer Ledger Entry table that is begin filtered


OnAfterSetFiltersPurchCollectedAmountLCY

local procedure OnAfterSetFiltersPurchCollectedAmountLCY(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")

Raised after setting filters on Detailed Vendor Ledger Entry table to calculate Collected Amount (LCY) field, suscribe to this event to add “Dishonored” document type to the document type filters on italian localizations

Parameters / Return Value

  • DetailedVendorLedgEntry Record "Detailed Vendor Ledg. Entry"

    Detailed Vendor Ledger Entry table that is begin filtered


OnBeforeInsertIPLLinesFromIPLTemplate

local procedure OnBeforeInsertIPLLinesFromIPLTemplate(IPLHeader: Record "EOS IPL Invoice Plan Header"; IPLTemplateLine: Record "EOS IPL Template Line"; var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line"; var isHandled: Boolean)

Raised before inserting IPL Lines when choosing an IPL Template in the “Invoice Template Template Code” field validation in IPL Header

Parameters / Return Value

  • IPLHeader Record "EOS IPL Invoice Plan Header"

    IPL Header of the IPL Lines about to be inserted

  • IPLTemplateLine Record "EOS IPL Template Line"

    IPL Template Lines being processed to create the new IPL Lines

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

    IPL Line being created

  • isHandled Boolean

    If set to true skips IPL Line insert


OnAfterInsertIPLLinesFromIPLTemplate

local procedure OnAfterInsertIPLLinesFromIPLTemplate(IPLHeader: Record "EOS IPL Invoice Plan Header"; IPLTemplateLine: Record "EOS IPL Template Line"; var IPLInvoicePlanLine: Record "EOS IPL Invoice Plan Line")

Raised after inserting IPL Lines when choosing an IPL Template in the “Invoice Template Template Code” field validation in IPL Header

Parameters / Return Value

  • IPLHeader Record "EOS IPL Invoice Plan Header"

    IPL Header of the IPL Lines just inserted

  • IPLTemplateLine Record "EOS IPL Template Line"

    IPL Template Lines being processed to create the new IPL Lines

  • IPLInvoicePlanLine Record "EOS IPL Invoice Plan Line"

    IPL Line just created


OnAfterGetInvoicePlanTemplate

local procedure OnAfterGetInvoicePlanTemplate(var IPLHeader: Record "EOS IPL Invoice Plan Header"; IPLTemplateHeader: Record "EOS IPL Template Header"; IPLTemplateLine: Record "EOS IPL Template Line")

Raised after the procedure that inserts the IPL Template Header and IPL Template Line fields from the template to the Invoicing Plan, right before it ends

Parameters / Return Value

  • IPLHeader Record "EOS IPL Invoice Plan Header"

    IPL Header being processed

  • IPLTemplateHeader Record "EOS IPL Template Header"

    IPL Template Header being used to process the Invoice Plan Header

  • IPLTemplateLine Record "EOS IPL Template Line"

    IPL Template Lines being used to process the Invoice Plan Lines



EOS Labs -