Codeunit 18008260 EOS VED Management
General purpose VAT Exemption Declaration routines
procedure ChangeExemptionStatus(var VATExemption: Record "EOS VAT Exemption"): Boolean
Opens a dialog for changing the status of a VAT exemption.
VATExemption Record "EOS VAT Exemption"
The VAT exemption.
Returns Boolean
true
if the status was changed, false
otherwise.
procedure GetExemptionReferenceDate(DocVariant: Variant): Date
Find the reference date to be used for VAT exemptions for a given document.
DocVariant Variant
The document in question for which the date should be returned.
Returns Date
The reference date.
procedure FindVATExemptions(DocVariant: Variant; var TmpVATExemption: Record "EOS VAT Exemption"; ValidOnly: Boolean): Boolean
DocVariant Variant
TmpVATExemption Record "EOS VAT Exemption"
ValidOnly Boolean
Returns Boolean
procedure CollectDocumentExemptions(DocVariant: Variant; var TmpVATExemption: Record "EOS VAT Exemption")
DocVariant Variant
TmpVATExemption Record "EOS VAT Exemption"
procedure ShowDocumentExemptions(DocVariant: Variant)
Variant
procedure LookupVATExemption(DocVariant: Variant; var TextValue: Text): Boolean
DocVariant Variant
TextValue Text
Returns Boolean
procedure CalcUsedAmountAll(SourceType: Integer; SourceNo: Code[20]; Year: Integer): Decimal
SourceType Integer
SourceNo Code[20]
Year Integer
Returns Decimal
procedure OpenVerificationUrl(var VATExemption: Record "EOS VAT Exemption")
Record "EOS VAT Exemption"
local procedure OnAfterGetExemptionReferenceDate(DocVariant: Variant; var ReferenceDate: Date)
Is called after a reference date for a VAT exemption has been determined for a given record.
DocVariant Variant
The record for which the reference date was read.
ReferenceDate Date
The resulting reference date. This might already contain a value, if the document in question yielded a reference date already.
local procedure OnCollectDocumentExemptions(Document: Variant; var TmpVATExemption: Record "EOS VAT Exemption")
Document Variant
TmpVATExemption Record "EOS VAT Exemption"
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.