<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 3: ORDERRepetitionsUsed</title><link>https://sourceforge.net/p/nhapi/support-requests/3/</link><description>Recent changes to 3: ORDERRepetitionsUsed</description><atom:link href="https://sourceforge.net/p/nhapi/support-requests/3/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 03 Jan 2013 11:12:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nhapi/support-requests/3/feed.rss" rel="self" type="application/rss+xml"/><item><title>ORDERRepetitionsUsed</title><link>https://sourceforge.net/p/nhapi/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ORDERRepetitionsUsed is not correct in OML_021&lt;br /&gt;
If i generate a new Mesage with:&lt;/p&gt;
&lt;p&gt;PipeParser parser = new PipeParser();&lt;/p&gt;
&lt;p&gt;OML_O21 oml = new OML_O21();&lt;br /&gt;
oml.GetORDER(0).ORC.FillerOrderNumber.NamespaceID.Value="1";&lt;br /&gt;
oml.GetORDER(1).ORC.FillerOrderNumber.NamespaceID.Value = "1";&lt;/p&gt;
&lt;p&gt;int z = oml.ORDERRepetitionsUsed; (z=2)&lt;/p&gt;
&lt;p&gt;i get this OML_021 Message:&lt;/p&gt;
&lt;p&gt;MSH|^~\&amp;amp;|||||||OML^O21|||2.5&lt;br /&gt;
ORC|||^1&lt;br /&gt;
ORC|||^1&lt;/p&gt;
&lt;p&gt;But when i parse this generated Message back with:&lt;/p&gt;
&lt;p&gt;OML_O21 parsedMessage = (OML_O21)parser.Parse(message);&lt;br /&gt;
if (parsedMessage is OML_O21)&lt;br /&gt;
{&lt;br /&gt;
int t = parsedMessage.ORDERRepetitionsUsed;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;then the ORDERRepetitionsUsed is 1 and not 2 like above.&lt;/p&gt;
&lt;p&gt;an i can not access the order No. 2&lt;/p&gt;
&lt;p&gt;Anyone an idea??&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 03 Jan 2013 11:12:34 -0000</pubDate><guid>https://sourceforge.net71a688959fd3d5a9daaa38ab9192323d5b032d8f</guid></item></channel></rss>