Table 18008255 EOS VAT Exemption

Table 18008255 EOS VAT Exemption

LanguageCaption
de-DEMwSt.-Befreiung
en-USVAT Exemption
it-ITDich. d’intento

Fields

Type (1)

Option

Customer (0) , Vendor (1)

LanguageCaption
de-DEArt
en-USType
it-ITTipo

No. (2)

Code[20]

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

Source No. (3)

Code[20]

TableRelation: if (Type = const(Customer)) Customer."No." else if (Type = const(Vendor)) Vendor."No."

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

Status (5)

Option

New (0) , Released (1) , Closed (2) , Revoked (3)

LanguageCaption
de-DEStatus
en-USStatus
it-ITStato

Description (6)

Text[100]

LanguageCaption
de-DEBeschreibung
en-USDescription
it-ITDescrizione

Starting Date (10)

Date

LanguageCaption
de-DEStartdatum
en-USStarting Date
it-ITData inizio

Ending Date (11)

Date

LanguageCaption
de-DEEnddatum
en-USEnding Date
it-ITData fine

Receipt Date (12)

Date

LanguageCaption
de-DEEingangsdatum
en-USReceipt Date
it-ITData ricevimento

Issue Date (13)

Date

LanguageCaption
de-DEAusstellungsdatum
en-USIssue Date
it-ITData emissione

Revoked Date (14)

Date

LanguageCaption
de-DEWiderrufsdatum
en-USRevoked Date
it-ITData revoca

Reference (18)

Text[50]

LanguageCaption
de-DEReferenz
en-USReference
it-ITRiferimento

VAT Bureau No. (19)

Text[50]

LanguageCaption
de-DEMwSt.-Zuständigkeitsnr.
en-USVAT Bureau No.
it-ITNr. Ufficio IVA

Document No. (50)

Code[20]

LanguageCaption
de-DENr. MwSt.-Befreiung
en-USVAT Exemption No.
it-ITNr. dich. d’intento

VAT Bus. Posting Group (54)

Code[20]

TableRelation: "VAT Business Posting Group".Code

LanguageCaption

VAT Prod. Posting Group (55)

Code[20]

TableRelation: "VAT Product Posting Group".Code

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

Is Valid (70)

Boolean

Indicates if the VAT Exemption is valid. This field is only used internally.

LanguageCaption
de-DEGültig
en-USIs Valid
it-ITValida

Declaration Type (109)

Option

Period (0) , Transaction (1) , Amount (2)

LanguageCaption
de-DEErklärungsart
en-USDeclaration Type
it-ITTipo dichiarazione

Amount (LCY) (110)

Decimal

LanguageCaption
de-DEBetrag (MW)
en-USAmount (LCY)
it-ITImporto (VL)

Used Amount (LCY) (111)

Decimal

LanguageCaption
de-DEVerbrauchter Betrag (MW)
en-USUsed Amount (LCY)
it-ITImporto usato (VL)

Amount Curr. Document (LCY) (112)

Decimal

Internal use only. Holds the amount of the current document during amount verification.

LanguageCaption
de-DEBetrag Akt. Beleg (LCY)
en-USAmount Curr. Document (LCY)
it-ITImporto documento corr. (VL)

Purchasing/Importation (200)

Text[50]

LanguageCaption
de-DEEinkauf/Import
en-USPurchasing/Importation
it-ITAcquisto/importazione

Integr. Sending Protocol 1 (205)

Code[20]

LanguageCaption
de-DEIntegr. Sendeprotokoll 1
en-USIntegr. Sending Protocol 1
it-ITProtocollo invio integrativo 1

Integr. Sending Protocol 2 (206)

Code[10]

LanguageCaption
de-DEIntegr. Sendeprotokoll 2
en-USIntegr. Sending Protocol 2
it-ITProtocollo invio integrativo 2

Sending Protocol 1 (207)

Code[20]

LanguageCaption
de-DESendeprotokoll 1
en-USSending Protocol 1
it-ITProtocollo invio 1

Sending Protocol 2 (208)

Code[10]

LanguageCaption
de-DESendeprotokoll 2
en-USSending Protocol 2
it-ITProtocollo invio 2

Plafond Type (210)

Option

"Fixed" (0) , Mobile (1)

LanguageCaption
de-DEPlafond-Art
en-USPlafond Type
it-ITTipo Plafond

Last Export Date (211)

Date

LanguageCaption
de-DELetztes Export-Datum
en-USLast Export Date
it-ITData ultima esportazione

Annual VAT Statement Submitted (212)

Boolean

LanguageCaption
de-DEMwSt.-Jahreserklärung übermittelt
en-USAnnual VAT Statement Submitted
it-ITDichiarazione annuale IVA presentata

Exports (220)

Boolean

LanguageCaption
de-DEExporte
en-USExports
it-ITEsportazioni

Intra-Community Services (221)

Boolean

LanguageCaption
de-DEInnergemeinschaftliche Leistungen
en-USIntra-Community Services
it-ITCessioni Intracomunitarie

Services to San Marino (222)

Boolean

LanguageCaption
de-DELeistungen nach San Marino
en-USServices to San Marino
it-ITCessioni verso San Marino

Assimilated Operations (223)

Boolean

LanguageCaption
de-DEÄhnliche Vorgänge
en-USAssimilated Operations
it-ITOperazioni assimilate

Extra-ordinary Operations (224)

Boolean

LanguageCaption
de-DEExtraordinäre Operationen
en-USExtra-ordinary Operations
it-ITOperazioni straordinarie

Old Entry No. (500)

Integer

LanguageCaption
de-DEAlte Lfd.-Nr.
en-USOld Entry No.
it-ITNr. mov. vecchio

Methods

FilterByDocument

procedure FilterByDocument(DocVariant: Variant)

Parameters / Return Value

  • DocVariant Variant

FilterByDocument

procedure FilterByDocument(DocVariant: Variant; ValidOnly: Boolean)

Parameters / Return Value

  • DocVariant Variant

  • ValidOnly Boolean


ChangeStatus

procedure ChangeStatus(NewStatus: Integer)

Parameters / Return Value

  • NewStatus Integer

CalcUsedAmount

procedure CalcUsedAmount(): Decimal

Parameters / Return Value

  • Returns Decimal

IsValidFor

procedure IsValidFor(Document: Variant): Boolean

Determines if a VAT Exemption is valid for a given document.

Parameters / Return Value

  • Document Variant

    The document to check the exemption against.

  • Returns Boolean

    true if it is valid, false otherwise.


GetCustVendorName

procedure GetCustVendorName(): Text

Parameters / Return Value

  • Returns Text[]

GetVATRegistrationNo

procedure GetVATRegistrationNo(): Text

Parameters / Return Value

  • Returns Text[]

AddToBuffer

procedure AddToBuffer(ExemptionType: Integer; ExemptionNo: Code[20]): Boolean

Add a VAT exemption to this buffer instance. This is only valid if the instance is temporary.

Parameters / Return Value

  • ExemptionType Integer

  • ExemptionNo Code[20]

    The no. of the VAT exemption to be added.

  • Returns Boolean

    Specifies whether the entry was added.


IsCustAuthVendor

procedure IsCustAuthVendor(): Boolean

Parameters / Return Value

  • Returns Boolean

GetVatIdentifier

procedure GetVatIdentifier(DocVATBusPostingGroup: Code[20]; DocVATProdPostingGroup: Code[20]): Code[20]

Parameters / Return Value

  • DocVATBusPostingGroup Code[20]

  • DocVATProdPostingGroup Code[20]

  • Returns Code[20]


VatEntryTypeToType

procedure VatEntryTypeToType(VatEntryType: Integer): Integer

Parameters / Return Value

  • VatEntryType Integer

  • Returns Integer


Events

OnAfterSetDocumentFilters

local procedure OnAfterSetDocumentFilters(DocVariant: Variant)

Is called whenever document-specific filters are applied that are used to find a VAT exemption for a given record.

Parameters / Return Value

  • DocVariant Variant

    The record that is applying filters.


OnAfterCheckVATExemptionValid

local procedure OnAfterCheckVATExemptionValid(VATExemption: Record "EOS VAT Exemption"; var IsValid: Boolean)

Parameters / Return Value

  • VATExemption Record "EOS VAT Exemption"

  • IsValid Boolean


OnAfterChangeStatus

local procedure OnAfterChangeStatus(OldStatus: Integer; NewStatus: Integer)

Parameters / Return Value

  • OldStatus Integer

  • NewStatus Integer


OnBeforeChangeStatus

local procedure OnBeforeChangeStatus(OldStatus: Integer; NewStatus: Integer)

Parameters / Return Value

  • OldStatus Integer

  • NewStatus Integer


OnBeforeCalcUsedAmount

local procedure OnBeforeCalcUsedAmount(var Rec: Record "EOS VAT Exemption"; var UsedAmountLCY: Decimal; var isHandled: Boolean)

Raised before calculating the Used Amount LCY field for VAT Exemption

Parameters / Return Value

  • Rec Record "EOS VAT Exemption"

    Vat Exemption being processed

  • UsedAmountLCY Decimal

    Used Amount LCY value that will be assigned

  • isHandled Boolean

    if set to true skips the VMI’s Used Amount LCY calculation and exits with the UsedAmountLCY paramter value


OnAfterCalcUsedAmount

local procedure OnAfterCalcUsedAmount(var Rec: Record "EOS VAT Exemption"; var UsedAmountLCY: Decimal; Sign: Integer; var VATEntry: Record "VAT Entry")

Raised after calculating the Used Amount LCY field for VAT Exemption

Parameters / Return Value

  • Rec Record "EOS VAT Exemption"

    Vat Exemption being processed

  • UsedAmountLCY Decimal

    Used Amount LCY value that will be assigned

  • Sign Integer

    Sign that was used during the UsedAmountLCY calculation

  • VATEntry Record "VAT Entry"

    VAT Entry that was used during the UsedAmountLCY calculation



EOS Labs -