Codeunit 18008255 EOS VED Sales Handlers
Sales event handlers for VAT Exemption Declarations
procedure FindVATExemptions(var SalesHeader: Record "Sales Header")
Updates all VAT exemptions for the given sales document.
SalesHeader Record "Sales Header"
The sales header to update.
procedure UpdateDocumentLine(var SalesLine: Record "Sales Line")
Record "Sales Line"
procedure GetSalesShptVatExemptions(SalesLine: Record "Sales Line"; var TmpVatExemption: Record "EOS VAT Exemption")
SalesLine Record "Sales Line"
TmpVatExemption Record "EOS VAT Exemption"
procedure GetSalesShptVatExemptions(SalesHeader: Record "Sales Header"; var TmpVatExemption: Record "EOS VAT Exemption")
SalesHeader Record "Sales Header"
TmpVatExemption Record "EOS VAT Exemption"
procedure GetReturnRcptVatExemptions(SalesLine: Record "Sales Line"; var TmpVatExemption: Record "EOS VAT Exemption")
SalesLine Record "Sales Line"
TmpVatExemption Record "EOS VAT Exemption"
procedure GetReturnRcptVatExemptions(SalesHeader: Record "Sales Header"; var TmpVatExemption: Record "EOS VAT Exemption")
SalesHeader Record "Sales Header"
TmpVatExemption Record "EOS VAT Exemption"
procedure LookupVATExemption(SalesHeader: Record "Sales Header"; var TextValue: Text): Boolean
SalesHeader Record "Sales Header"
TextValue Text
Returns Boolean
procedure LookupVATExemption(SalesLine: Record "Sales Line"; var TextValue: Text): Boolean
SalesLine Record "Sales Line"
TextValue Text
Returns Boolean
procedure VerifyVatExemptionsUI(SalesHeader: Record "Sales Header")
Record "Sales Header"
procedure VerifyVatExemptions(SalesHeader: Record "Sales Header"; var ErrorMessage: Record "Error Message")
SalesHeader Record "Sales Header"
ErrorMessage Record "Error Message"
local procedure OnBefore_OnBeforeInsertInvLineFromShptLineVATExemption(SalesShptLine: Record "Sales Shipment Line"; SalesLine: Record "Sales Line"; var isHandled: Boolean)
This event is raised on the OnBeforeInsertInvLineFromShptLine event subscriber and allows you to skip code in it
SalesShptLine Record "Sales Shipment Line"
Sales Shipment Line to read
SalesLine Record "Sales Line"
Sales Line to write
isHandled Boolean
if set to true skips OnBeforeInsertInvLineFromRcptLine code
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.