Codeunit 18123005 EOS063 Outb. Purch. EDoc. Wrt.

Codeunit 18123005 EOS063 Outb. Purch. EDoc. Wrt.

Methods

CreateFEfor

procedure CreateFEfor(Document: Variant; var FE: Codeunit "Temp Blob")

Start the creation of the XML for the document given

Parameters / Return Value

  • Document Variant

    The document: Handle Only Purchase Invoice/Cr. Memo Header

  • FE Codeunit "Temp Blob"

    The XML is saved to a Blob


GetLastProgressiveID

procedure GetLastProgressiveID(): Code[20]

Parameters / Return Value

  • Returns Code[20]

SetXmlLinesSource

procedure SetXmlLinesSource(NewXmlLinesSource: Enum "EOS063 XML Doc. Lines Source")

Parameters / Return Value

  • NewXmlLinesSource Enum "EOS063 XML Doc. Lines Source"

hasTransmissionIntermediaryVendor

procedure hasTransmissionIntermediaryVendor(var IdPaese: Text; var IdCodice: Text; var CodiceFiscale: Text; var Denominazione: Text): Boolean

Parameters / Return Value

  • IdPaese Text

  • IdCodice Text

  • CodiceFiscale Text

  • Denominazione Text

  • Returns Boolean


hasSoggettoEmittente

procedure hasSoggettoEmittente(var SoggettoEmittente: Text): Boolean

Parameters / Return Value

  • SoggettoEmittente Text

  • Returns Boolean


Events

OnBeforeAddElementText

local procedure OnBeforeAddElementText(TempDocumentBuffer: Record "Purch. Inv. Header" temporary; var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var elementName: Text[250]; id: Text; var Value: Text; var XmlWriter: Codeunit "EOS Xml Writer"; DocumentRecRef: RecordRef)

On Before Add Element Text <elementName>Value</elementName>

Parameters / Return Value

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for document line

  • elementName Text[250]

    same as OnBeforeAddStartTag

  • id Text

    same as OnBeforeAddStartTag

  • Value Text

    The Value of element. If empty it won’t be added

  • XmlWriter Codeunit "EOS Xml Writer"

    same as OnBeforeAddStartTag

  • DocumentRecRef RecordRef

    Recordref of the reference document header


OnAfterAddElement

local procedure OnAfterAddElement(TempDocumentBuffer: Record "Purch. Inv. Header" temporary; var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; elementName: Text[250]; id: Text; var XmlWriter: Codeunit "EOS Xml Writer"; DocumentRecRec: RecordRef)

On After Add Element

Parameters / Return Value

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for document line

  • elementName Text[250]

    same of OnBeforeAddStartTag

  • id Text

    same of OnBeforeAddStartTag

  • XmlWriter Codeunit "EOS Xml Writer"

    same of OnBeforeAddStartTag

  • DocumentRecRec RecordRef

    Recordref of the reference document header


OnBeforeCreateXML

local procedure OnBeforeCreateXML(var Document: Variant; var tempBlob: Codeunit "Temp Blob"; var handled: Boolean)

If you want to modify something before creating the XML or if you want to generate your own XML use this

Parameters / Return Value

  • Document Variant

    the Document that need the XML

  • tempBlob Codeunit "Temp Blob"

    The XML need to be saved to a BLOB

  • handled Boolean

    If True then bypass the standard code (no XML generated)


OnAfterCreateXML

local procedure OnAfterCreateXML(var Document: Variant; var tempBlob: Codeunit "Temp Blob")

If you want to modify something after creating the XML

Parameters / Return Value

  • Document Variant

    the Document that need the XML

  • tempBlob Codeunit "Temp Blob"

    The XML need to be saved to a BLOB


OnBeforeBuildTempDatiTrasmissioneBuffer

local procedure OnBeforeBuildTempDatiTrasmissioneBuffer(var TempDatiTrasmissioneBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; RecRef: RecordRef; var IsHandled: Boolean)

Raised before buffer data for DatiTrasmissione group is filled

Parameters / Return Value

  • TempDatiTrasmissioneBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in DatiTrasmissione group

  • RecRef RecordRef

    Source document recordref

  • IsHandled Boolean

    If True then bypass the standard app code


OnAfterBuildTempDatiTrasmissioneBuffer

local procedure OnAfterBuildTempDatiTrasmissioneBuffer(var TempDatiTrasmissioneBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; RecRef: RecordRef)

Raised after buffer data for DatiTrasmissione group is filled

Parameters / Return Value

  • TempDatiTrasmissioneBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in DatiTrasmissione group

  • RecRef RecordRef

    Source document recordref


OnBeforeBuildTempCedentePrestatoreBuffer

local procedure OnBeforeBuildTempCedentePrestatoreBuffer(var TempCedentePrestatoreBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; RecRef: RecordRef; var IsHandled: Boolean)

Raised before buffer data for CedentePrestatore group is filled

Parameters / Return Value

  • TempCedentePrestatoreBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CedentePrestatore group

  • RecRef RecordRef

    Source document recordref

  • IsHandled Boolean

    If True then bypass the standard app code


OnAfterBuildTempCedentePrestatoreBuffer

local procedure OnAfterBuildTempCedentePrestatoreBuffer(var TempCedentePrestatoreBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; RecRef: RecordRef)

Raised after buffer data for CedentePrestatore group is filled

Parameters / Return Value

  • TempCedentePrestatoreBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CedentePrestatore group

  • RecRef RecordRef

    Source document recordref


OnBeforeBuildTempCessionarioCommittenteBuffer

local procedure OnBeforeBuildTempCessionarioCommittenteBuffer(var TempCessionarioCommittenteBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; RecRef: RecordRef; var IsHandled: Boolean)

Raised before buffer data for CessionarioCommittente group is filled

Parameters / Return Value

  • TempCessionarioCommittenteBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CessionarioCommittente group

  • RecRef RecordRef

    Source document recordref

  • IsHandled Boolean

    If True then bypass the standard app code


OnAfterBuildTempCessionarioCommittenteBuffer

local procedure OnAfterBuildTempCessionarioCommittenteBuffer(var TempCessionarioCommittenteBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; RecRef: RecordRef)

Raised after buffer data for CessionarioCommittente group is filled

Parameters / Return Value

  • TempCessionarioCommittenteBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CessionarioCommittente group

  • RecRef RecordRef

    Source document recordref


OnBeforeBuildTempDocumentBuffer

local procedure OnBeforeBuildTempDocumentBuffer(var TempDocumentBuffer: Record "Purch. Inv. Header" temporary; RecRef: RecordRef; var IsHandled: Boolean)

Raised before buffer data for document header group is filled

Parameters / Return Value

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • RecRef RecordRef

    Source document recordref

  • IsHandled Boolean

    If True then bypass the standard app code


OnAfterBuildTempDocumentBuffer

local procedure OnAfterBuildTempDocumentBuffer(var TempDocumentBuffer: Record "Purch. Inv. Header" temporary; RecRef: RecordRef)

Raised after buffer data for document header group is filled

Parameters / Return Value

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • RecRef RecordRef

    Source document recordref


OnBeforeBuildTempTaxRepresentativeBuffer

local procedure OnBeforeBuildTempTaxRepresentativeBuffer(var TempTaxRepresentativeBuffer: Record Vendor temporary; RecRef: RecordRef; var HasTaxRepresentative: Boolean; var IsHandled: Boolean)

Raised before buffer data for RappresentanteFiscale group is filled

Parameters / Return Value

  • TempTaxRepresentativeBuffer Record "Vendor"

    Temporary buffer based on table Vendor. Contains data that will be exported in RappresentanteFiscale group

  • RecRef RecordRef

    Source document recordref

  • HasTaxRepresentative Boolean

    Return values that specifies if

  • IsHandled Boolean

    If True then bypass the standard app code


OnAfterBuildTempTaxRepresentativeBuffer

local procedure OnAfterBuildTempTaxRepresentativeBuffer(var TempTaxRepresentativeBuffer: Record Vendor temporary; RecRef: RecordRef; var HasTaxRepresentative: Boolean)

Raised after buffer data for RappresentanteFiscale group is filled

Parameters / Return Value

  • TempTaxRepresentativeBuffer Record "Vendor"

    Temporary buffer based on table Vendor. Contains data that will be exported in RappresentanteFiscale group

  • RecRef RecordRef

    Source document recordref

  • HasTaxRepresentative Boolean

    Return values that specifies if


OnBeforeBuildTempDocumentLineBuffer

local procedure OnBeforeBuildTempDocumentLineBuffer(var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var TempDocumentBuffer: Record "Purch. Inv. Header" temporary; RecRef: RecordRef; var IsHandled: Boolean)

Raised before buffer data for CessionarioCommittente group is filled

Parameters / Return Value

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for document line

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • RecRef RecordRef

    Source document recordref

  • IsHandled Boolean

    If True then bypass the standard app code


OnAfterBuildTempDocumentLineBuffer

local procedure OnAfterBuildTempDocumentLineBuffer(var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var TempDocumentBuffer: Record "Purch. Inv. Header" temporary; RecRef: RecordRef)

Raised after buffer data for CessionarioCommittente group is filled

Parameters / Return Value

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for document line

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • RecRef RecordRef

    Source document recordref


OnBeforeWriteDatiTrasmissione_1_1

local procedure OnBeforeWriteDatiTrasmissione_1_1(TempDatiTrasmissioneBuffer: Record "EOS Outb. Electr. Doc. Setup"; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

On Before Write Dati Trasmissione (1.1.X)

Parameters / Return Value

  • TempDatiTrasmissioneBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in DatiTrasmissione group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • IsHandled Boolean

    if true then skip the standard logics


OnAfterWriteDatiTrasmissione_1_1

local procedure OnAfterWriteDatiTrasmissione_1_1(TempDatiTrasmissioneBuffer: Record "EOS Outb. Electr. Doc. Setup"; var XmlWriter: Codeunit "EOS Xml Writer")

On After Write Dati Trasmissione (1.1.X)

Parameters / Return Value

  • TempDatiTrasmissioneBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in DatiTrasmissione group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnBeforeWriteCedentePrestatore_1_2

local procedure OnBeforeWriteCedentePrestatore_1_2(TempCedentePrestatoreBuffer: Record "EOS Outb. Electr. Doc. Setup"; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

On Before Write Cedente Prestatore (1.2.X)

Parameters / Return Value

  • TempCedentePrestatoreBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CedentePrestatore group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • IsHandled Boolean

    if true then skip the standard logics


OnBeforeWriteCodiceFiscale_1_2_1_2

local procedure OnBeforeWriteCodiceFiscale_1_2_1_2(TempCedentePrestatoreBuffer: Record "EOS Outb. Electr. Doc. Setup"; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

On Before Write Codice Fiscale (1.2.1.2)

Parameters / Return Value

  • TempCedentePrestatoreBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CedentePrestatore group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • IsHandled Boolean

    if true then skip the standard logics


OnAfterWriteCedentePrestatore_1_2

local procedure OnAfterWriteCedentePrestatore_1_2(TempCedentePrestatoreBuffer: Record "EOS Outb. Electr. Doc. Setup"; var XmlWriter: Codeunit "EOS Xml Writer")

On After Write Cedente Prestatore (1.2.X)

Parameters / Return Value

  • TempCedentePrestatoreBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CedentePrestatore group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnBeforeWriteRappresentanteFiscale_1_3

local procedure OnBeforeWriteRappresentanteFiscale_1_3(TempTaxRepresentativeRec: Record Vendor; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

On Before Write Rappresentante Fiscale (1.3.X)

Parameters / Return Value

  • TempTaxRepresentativeRec Record "Vendor"

    Temporary buffer based on table Vendor. Contains data that will be exported in RappresentanteFiscale group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • IsHandled Boolean

    if true then skip the standard logics


OnAfterWriteRappresentanteFiscale_1_3

local procedure OnAfterWriteRappresentanteFiscale_1_3(TempTaxRepresentativeRec: Record Vendor; var XmlWriter: Codeunit "EOS Xml Writer")

On After Write Rappresentante Fiscale (1.3.X)

Parameters / Return Value

  • TempTaxRepresentativeRec Record "Vendor"

    Temporary buffer based on table Vendor. Contains data that will be exported in RappresentanteFiscale group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnBeforeWriteCessionarioCommittente_1_4

local procedure OnBeforeWriteCessionarioCommittente_1_4(TempCessionarioCommittenteBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean; DocumentRecRec: RecordRef)

On Before Write Cessionario Committente (1.4.X)

Parameters / Return Value

  • TempCessionarioCommittenteBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CessionarioCommittente group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • IsHandled Boolean

    if true then skip the standard logics

  • DocumentRecRec RecordRef

    Recordref of the reference document header


OnAfterWriteCessionarioCommittente_1_4

local procedure OnAfterWriteCessionarioCommittente_1_4(TempCessionarioCommittenteBuffer: Record "EOS Outb. Electr. Doc. Setup" temporary; var XmlWriter: Codeunit "EOS Xml Writer"; DocumentRecRec: RecordRef)

On After Write Cessionario Committente (1.4.X)

Parameters / Return Value

  • TempCessionarioCommittenteBuffer Record "EOS Outb. Electr. Doc. Setup"

    Temporary buffer based on table EOS Outb. Electr. Doc. Setup. Contains data that will be exported in CessionarioCommittente group

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • DocumentRecRec RecordRef

    Recordref of the reference document header


OnBeforewriteDatiGenerali_2_1

local procedure OnBeforewriteDatiGenerali_2_1(TempDocumentBuffer: Record "Purch. Inv. Header" temporary; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

On Before write Dati Generali (2.1.X)

Parameters / Return Value

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • IsHandled Boolean

    if true then skip the standard logics


OnAfterwriteDatiGenerali_2_1

local procedure OnAfterwriteDatiGenerali_2_1(TempDocumentBuffer: Record "Purch. Inv. Header" temporary; var XmlWriter: Codeunit "EOS Xml Writer")

On After write Dati Generali (2.1.X)

Parameters / Return Value

  • TempDocumentBuffer Record "Purch. Inv. Header"

    Temporary buffer based on table Purch. Inv. Header. Contains data that will be exported for document header

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnBeforewriteDatiBeniServizi_2_2_1

local procedure OnBeforewriteDatiBeniServizi_2_2_1(var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var XmlWriter: Codeunit "EOS Xml Writer"; var handled: Boolean; DocumentRecRec: RecordRef)

On Before write Dati Beni Servizi - Dettaglio linee (2.2.1.X)

Parameters / Return Value

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for aggregated document line

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • handled Boolean

    if true then skip the standard logics

  • DocumentRecRec RecordRef

    Recordref of the reference document header


OnAfterwriteDatiBeniServizi_2_2_1

local procedure OnAfterwriteDatiBeniServizi_2_2_1(var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var XmlWriter: Codeunit "EOS Xml Writer")

On After write Dati Beni Servizi - Dettaglio linee (2.2.1.X)

Parameters / Return Value

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for aggregated document line

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnBeforewriteDatiRiepilogo_2_2_2

local procedure OnBeforewriteDatiRiepilogo_2_2_2(var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var XmlWriter: Codeunit "EOS Xml Writer"; var handled: Boolean; DocumentRecRec: RecordRef)

On Before write Dati Beni Servizi - Dati Riepilogo (2.2.2.X)

Parameters / Return Value

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for aggregated document line

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • handled Boolean

    if true then skip the standard logics

  • DocumentRecRec RecordRef

    Recordref of the reference document header


OnAfterwriteDatiRiepilogo_2_2_2

local procedure OnAfterwriteDatiRiepilogo_2_2_2(var TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var XmlWriter: Codeunit "EOS Xml Writer"; DocumentRecRec: RecordRef)

On After write Dati Beni Servizi - Dati Riepilogo (2.2.2.X)

Parameters / Return Value

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Temporary buffer based on table Purch. Inv. Line. Contains data that will be exported for aggregated document line

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • DocumentRecRec RecordRef

    Recordref of the reference document header


OnWriteDatiPagamento_2_4

local procedure OnWriteDatiPagamento_2_4(DocumentRecRec: RecordRef; var XmlWriter: Codeunit "EOS Xml Writer")

Use this event if you want to export DatiPagamento tags. Standard do not supports this tag group-

Parameters / Return Value

  • DocumentRecRec RecordRef

    Recordref of the reference document header

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnWriteAllegati_2_5

local procedure OnWriteAllegati_2_5(DocumentRecRec: RecordRef; var XmlWriter: Codeunit "EOS Xml Writer")

Use this event if you want to export Allegati tags. Standard do not supports this tag group-

Parameters / Return Value

  • DocumentRecRec RecordRef

    Recordref of the reference document header

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnWriteAltriDatiGestionali_2_2_1_16

local procedure OnWriteAltriDatiGestionali_2_2_1_16(DocumentRecRec: RecordRef; TempDocLineBuffer: Record "Purch. Inv. Line" temporary; var XmlWriter: Codeunit "EOS Xml Writer")

Use this event if you want to export AltriDatiGestionali tags. Standard do not supports this tag group-

Parameters / Return Value

  • DocumentRecRec RecordRef

    Recordref of the reference document header

  • TempDocLineBuffer Record "Purch. Inv. Line"

    Temporary record of the reference aggregated document line

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnAddStabileOrganizzazione_1_2_3

local procedure OnAddStabileOrganizzazione_1_2_3(header: RecordRef; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

Needed if you want to add Stabile Organizzazione (ID 1.2.3.X)

Parameters / Return Value

  • header RecordRef

    The header of the purchase document

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • IsHandled Boolean

    if true then skip the standard logics


OnBeforeWriteThirdSubject_1_5

local procedure OnBeforeWriteThirdSubject_1_5(header: RecordRef; var XmlWriter: Codeunit "EOS Xml Writer"; var handled: Boolean)

On Before Write Third Subject (1.5.X)

Parameters / Return Value

  • header RecordRef

    The header of the document (purchase header)

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • handled Boolean

    if true then skip the standard logics


OnAfterWriteThirdSubject_1_5

local procedure OnAfterWriteThirdSubject_1_5(header: RecordRef; var XmlWriter: Codeunit "EOS Xml Writer")

On After Write Third Subject (1.5.X)

Parameters / Return Value

  • header RecordRef

    The header of the document (purchase header)

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnBeforeWriteSoggettoEmittente_1_6

local procedure OnBeforeWriteSoggettoEmittente_1_6(header: RecordRef; var XmlWriter: Codeunit "EOS Xml Writer"; var handled: Boolean)

On Before Write Soggetto Emittente (1.6.X)

Parameters / Return Value

  • header RecordRef

    The header of the document (purchase header)

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”

  • handled Boolean

    if true then skip the standard logics


OnAfterWriteSoggettoEmittente_1_6

local procedure OnAfterWriteSoggettoEmittente_1_6(header: RecordRef; var XmlWriter: Codeunit "EOS Xml Writer")

On After Write Soggetto Emittente (1.6.X)

Parameters / Return Value

  • header RecordRef

    The header of the document (purchase header)

  • XmlWriter Codeunit "EOS Xml Writer"

    Codeunit “EOS Xml Writer”


OnBeforewriteDatiBeniServizi_Description_2_2_1_4

local procedure OnBeforewriteDatiBeniServizi_Description_2_2_1_4(TempDocumentLineBuffer: Record "Purch. Inv. Line" temporary; var Description: Text)

Raised before insert tag “Description” 2.2.1.4 for Dati Beni Servizi - Dettaglio linee (2.2.1.X). Use it to modify the description.

Parameters / Return Value

  • TempDocumentLineBuffer Record "Purch. Inv. Line"

    Current record of buffer based on table Purch. Inv. Line. The buffer contains data that will be exported for aggregated document line

  • Description Text

    Description to insert



EOS Labs -