Skip to content

KVSPSANonDeductVATDimSetup#

Fields#

Name Type Note
Dimension Code Code[20]
Dimension Value Code Code[20]
Starting Date Date
Non-Deductible VAT % Decimal
Description Text[100]

Events#

OnBeforeCheckUsedNonDeductibleVAT(Record KVSPSANonDeductVATDimSetup, Boolean) :#

Summary: This event can be used to skip or substitude CheckUsedNonDeductibleVAT

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckUsedNonDeductibleVAT(NonDeductVATDimSetup: Record "KVSPSANonDeductVATDimSetup"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSANonDeductVATDimSetup", 'OnBeforeCheckUsedNonDeductibleVAT', '', false, false)]
local procedure DoSomethingOnBeforeCheckUsedNonDeductibleVAT(NonDeductVATDimSetup: Record "KVSPSANonDeductVATDimSetup"; var IsHandled: Boolean)
begin
end;

Parameters:

  • NonDeductVATDimSetup: NonDeductVATDimSetup that is changed
  • IsHandled: IsHandled can be set to skip CheckUsedNonDeductibleVAT