<?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=PdcPurchaseInvoiceHeader.SetCurrencyID</id>
	<title>PdcPurchaseInvoiceHeader.SetCurrencyID - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcPurchaseInvoiceHeader.SetCurrencyID"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcPurchaseInvoiceHeader.SetCurrencyID&amp;action=history"/>
	<updated>2026-05-06T15:36:56Z</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=PdcPurchaseInvoiceHeader.SetCurrencyID&amp;diff=2699&amp;oldid=prev</id>
		<title>TC: Created page with &quot;== Declaration == SetCurrencyId(CurrencyId as Integer) as Boolean  == Description == Sets the currency ID of the purchase invoice header.  == Notes ==  == Code example == The ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcPurchaseInvoiceHeader.SetCurrencyID&amp;diff=2699&amp;oldid=prev"/>
		<updated>2015-08-19T11:34:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Declaration == SetCurrencyId(CurrencyId as Integer) as Boolean  == Description == Sets the currency ID of the purchase invoice header.  == Notes ==  == Code example == The ...&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;
SetCurrencyId(CurrencyId as Integer) as Boolean&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Sets the currency ID of the purchase invoice header.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
== Code example ==&lt;br /&gt;
The following code example changes the currency ID and saves the invoice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
dim objPI&lt;br /&gt;
&lt;br /&gt;
  set objPI = Pdc.logistics.PurchaseInvoices.Open(&amp;quot;157625&amp;quot;)&lt;br /&gt;
  if objPI.SetCurrencyID(1) then&lt;br /&gt;
    if not objPI.Save then&lt;br /&gt;
      msgbox pdc.LastError&lt;br /&gt;
    end if&lt;br /&gt;
  else&lt;br /&gt;
    msgbox pdc.LastError&lt;br /&gt;
  end if&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
Available since April 2014 (Version 4.3 onwards)&lt;/div&gt;</summary>
		<author><name>TC</name></author>
	</entry>
</feed>