<?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.GetByRelNr</id>
	<title>PdcRelationFile.GetByRelNr - 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.GetByRelNr"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcRelationFile.GetByRelNr&amp;action=history"/>
	<updated>2026-05-06T15:42:24Z</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.GetByRelNr&amp;diff=35362&amp;oldid=prev</id>
		<title>TC: Created page with &quot;== Declaration == GetByRelNr(RelNr As String) as PdcCompany  == Description == Create a Company object based on a relation number.   == Notes == This function will return Nothing if the relation number 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...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcRelationFile.GetByRelNr&amp;diff=35362&amp;oldid=prev"/>
		<updated>2024-01-09T12:27:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Declaration == GetByRelNr(RelNr As String) 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 relation number.   == Notes == This function will return Nothing if the relation number 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...&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;
GetByRelNr(RelNr As String) as [[PdcCompany]]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Create a Company object based on a relation number. &lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This function will return Nothing if the relation number 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.GetByRelNr(&amp;quot;00460&amp;quot;)&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>