Codeunit 18123795 EOS068 EX063

Codeunit 18123795 EOS068 EX063

Methods

GetRelatedDocDataSlefInvoice

procedure GetRelatedDocDataSlefInvoice(RecRef: recordref; var ElectrDocType: Code[5]; var AppliestoVendorNo: Code[20]; var AppliestoDocumentNo: Code[20]; var AppliestoIDSDI: BigInteger)

Returns EOS self invoice data for a posted purchase document retrieved from FTE fields

Parameters / Return Value

  • RecRef recordref

    Purchase document as RecRef

  • ElectrDocType Code[5]

    Specifies Electr. Doc. Type of the purchase document

  • AppliestoVendorNo Code[20]

    Specifies Applies-to Vendor No. of the purchase document

  • AppliestoDocumentNo Code[20]

    Specifies Applies-to Document No. of the purchase document

  • AppliestoIDSDI BigInteger

    Specifies Applies-to ID SDI of the purchase document


GetCIGCUPValues

procedure GetCIGCUPValues(RecRef: RecordRef; var CIG: Text; var CUP: Text)

Parameters / Return Value

  • RecRef RecordRef

  • CIG Text

  • CUP Text


RaiseOnGetElectronicInvoiceXMLDocument

procedure RaiseOnGetElectronicInvoiceXMLDocument(TableID: Integer; DocumentNo: Code[20];var XMLDocument: Codeunit "Temp Blob";var Filename: text;var isHandled: Boolean)

This method allows you to have the XML generated by the FTE without having the FTE as a dependency

Parameters / Return Value

  • TableID Integer

  • DocumentNo Code[20]

  • XMLDocument Codeunit "Temp Blob"

    Returned XML document

  • Filename text

  • isHandled Boolean

    True if FTE is installed


Events

OnGetRelatedDocDataSlefInvoice

local procedure OnGetRelatedDocDataSlefInvoice(RecRef: recordref; var ElectrDocType: Code[5]; var AppliestoVendorNo: Code[20]; var AppliestoDocumentNo: Code[20]; var AppliestoIDSDI: BigInteger)

Returns EOS self invoice data for a posted purchase document retrieved from FTE fields

Parameters / Return Value

  • RecRef recordref

    Purchase document as RecRef

  • ElectrDocType Code[5]

    Specifies Electr. Doc. Type of the purchase document

  • AppliestoVendorNo Code[20]

    Specifies Applies-to Vendor No. of the purchase document

  • AppliestoDocumentNo Code[20]

    Specifies Applies-to Document No. of the purchase document

  • AppliestoIDSDI BigInteger

    Specifies Applies-to ID SDI of the purchase document


OnBeforeGetCIGCUP

local procedure OnBeforeGetCIGCUP(RecRef: RecordRef; var CIG: Text; var CUP: Text; var isHandled: Boolean)

Event executed before getting CIG and CUP values from the RecRef (Cust. Ledger Entry or Vendor Ledger Entry)

Parameters / Return Value

  • RecRef RecordRef

    Cust. Ledger Entry or Vendor Ledger Entry

  • CIG Text

    CIG value

  • CUP Text

    CUP value

  • isHandled Boolean

    Set true to skip the standard code


OnGetCIGCUPFromFTE

local procedure OnGetCIGCUPFromFTE(RecRef: RecordRef; var CIG: Text; var CUP: Text; var isHandled: Boolean)

Internal use only!

Parameters / Return Value

  • RecRef RecordRef

  • CIG Text

  • CUP Text

  • isHandled Boolean


OnGetElectronicInvoiceXMLDocument

local procedure OnGetElectronicInvoiceXMLDocument(TableID: Integer; DocumentNo: Code[20];var XMLDocument: Codeunit "Temp Blob";var Filename: text;var isHandled: Boolean)

This event is subscribed by the FTE app

Parameters / Return Value

  • TableID Integer

  • DocumentNo Code[20]

  • XMLDocument Codeunit "Temp Blob"

    Returned XML document

  • Filename text

  • isHandled Boolean

    True if FTE is installed



EOS Labs -