<?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=PdcRelationFile.GetByID</id>
	<title>PdcRelationFile.GetByID - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcRelationFile.GetByID"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcRelationFile.GetByID&amp;action=history"/>
	<updated>2026-05-06T19:07:25Z</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=PdcRelationFile.GetByID&amp;diff=35363&amp;oldid=prev</id>
		<title>TC: Created page with &quot;== Declaration == GetByID(ID As Long) as PdcCompany  == Description == Create a Company object based on a company pid.  == Notes == This function will return Nothing if the pid can not be found, or if an error occurs while reading it. An error message will be stored in the LastError property  == Code example == This example code tries to retrieve a company object, and will display an error message if it fails  &lt;source lang=&quot;vb&quot;&gt; Dim aCompany As PDCEXT.ICompany = PDC....&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcRelationFile.GetByID&amp;diff=35363&amp;oldid=prev"/>
		<updated>2024-01-09T12:28:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Declaration == GetByID(ID As Long) as &lt;a href=&quot;/index.php/PdcCompany&quot; title=&quot;PdcCompany&quot;&gt;PdcCompany&lt;/a&gt;  == Description == Create a Company object based on a company pid.  == Notes == This function will return Nothing if the pid can not be found, or if an error occurs while reading it. An error message will be stored in the LastError property  == Code example == This example code tries to retrieve a company object, and will display an error message if it fails  &amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt; Dim aCompany As PDCEXT.ICompany = PDC....&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;
GetByID(ID As Long) as [[PdcCompany]]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Create a Company object based on a company pid.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This function will return Nothing if the pid can not be found, or if an error occurs while reading it. An error message will be stored in the LastError property&lt;br /&gt;
&lt;br /&gt;
== Code example ==&lt;br /&gt;
This example code tries to retrieve a company object, and will display an error message if it fails&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
Dim aCompany As PDCEXT.ICompany = PDC.App.MasterData.RelationFile.GetByID(156)&lt;br /&gt;
If IsNothing(aCompany) Then&lt;br /&gt;
    MsgBox(PDC.App.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 2024R1&lt;/div&gt;</summary>
		<author><name>TC</name></author>
	</entry>
</feed>