<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcApplication.GetVATCodeAndPercentage</id>
	<title>PdcApplication.GetVATCodeAndPercentage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcApplication.GetVATCodeAndPercentage"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcApplication.GetVATCodeAndPercentage&amp;action=history"/>
	<updated>2026-05-06T15:39:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.ecibemet.com/index.php?title=PdcApplication.GetVATCodeAndPercentage&amp;diff=3226&amp;oldid=prev</id>
		<title>TC: Created page with &quot;== Declaration == GetVATCodeAndPercentage( strCalcNr As String, strMatNr As String, intMatID As Integer, strRelNr As String, ByRef outVATCode As String, ByRef outVATPercentage...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcApplication.GetVATCodeAndPercentage&amp;diff=3226&amp;oldid=prev"/>
		<updated>2020-07-07T10:28:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Declaration == GetVATCodeAndPercentage( strCalcNr As String, strMatNr As String, intMatID As Integer, strRelNr As String, ByRef outVATCode As String, ByRef outVATPercentage...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Declaration ==&lt;br /&gt;
GetVATCodeAndPercentage( strCalcNr As String, strMatNr As String, intMatID As Integer, strRelNr As String, ByRef outVATCode As String, ByRef outVATPercentage As Double)&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This function uses a standard procedure from pdc to retrieve a VAT code and percentage based on a set of optional parameters. You need to fill in at least 1 of the input parameters. The results of the function will be passed back through the 2 ByRef parameters.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This function takes all of the pdc settings into account and tries to retrieve a VAT code and percentage based on whichever parameters you enter, so it is possible for example to only pass a caluclation number and leave the rest empty.&lt;br /&gt;
&lt;br /&gt;
== Code example ==&lt;br /&gt;
This example shows how to retrieve a VAT code and percentage based on only a customer number and put the results in a result object.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
  Dim strVATCode As String = &amp;quot;&amp;quot;&lt;br /&gt;
  Dim dblVATPercentage As Double = 0.0&lt;br /&gt;
  PDC.App.GetVATCodeAndPercentage(&amp;quot;&amp;quot;, &amp;quot;&amp;quot;, 0, CustomerNumber, strVATCode, dblVATPercentage)&lt;br /&gt;
  result.VATCode = strVATCode&lt;br /&gt;
  result.VATPercentage = dblVATPercentage&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
Available since August 2020 (From version 5.6)&lt;/div&gt;</summary>
		<author><name>TC</name></author>
	</entry>
</feed>