<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">For non-header fields, the direct accessors are much easier. For instance, you can use m.OrderID instead of m.GetField(orderID).</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">
<br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I feel like you might not be reading the docs or example apps, as they both show you how to use such accessors.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">
<br></div><div class="gmail_default"><font color="#000000">See <a href="http://quickfixn.org/tutorial/receiving-messages">http://quickfixn.org/tutorial/receiving-messages</a></font><br></div><div class="gmail_default"><font color="#000000">or </font><span style="color:rgb(0,0,0)"><a href="https://github.com/connamara/quickfixn/blob/master/Examples/Executor/Executor.cs">https://github.com/connamara/quickfixn/blob/master/Examples/Executor/Executor.cs</a>.</span></div>
<div class="gmail_default"><br></div><div class="gmail_default"><font color="#000000"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 9:36 AM, Ashutosh Mishra <span dir="ltr"><<a href="mailto:A.Mishra@ny.tr.mufg.jp" target="_blank">A.Mishra@ny.tr.mufg.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is the code shown below enough to extract all the fileds form the exection report:<u></u><u></u></span></p>
<p><span style="font-family:Consolas;color:#2b91af">SenderCompID</span><span style="font-family:Consolas"> sendComp =
<span style="color:blue">new</span> <span style="color:#2b91af">SenderCompID</span>();<u></u><u></u></span></p>
<p><span style="font-family:Consolas;color:#2b91af">Console</span><span style="font-family:Consolas">.WriteLine(<span style="color:#a31515">"Sender Comp :"</span> + m.Header.GetField(sendComp));</span><u></u><u></u></p>
<p><span style="font-family:Consolas;color:#2b91af">TargetCompID</span><span style="font-family:Consolas"> targetComp =
<span style="color:blue">new</span> <span style="color:#2b91af">TargetCompID</span>();</span><u></u><u></u></p>
<p><span style="font-family:Consolas;color:#2b91af">Console</span><span style="font-family:Consolas">.WriteLine(<span style="color:#a31515">"Target Comp :"</span> + m.Header.GetField(targetComp));</span><u></u><u></u></p>
<p><span style="font-family:Consolas;color:#2b91af">OrderID</span><span style="font-family:Consolas"> orderID =
<span style="color:blue">new</span> <span style="color:#2b91af">OrderID</span>();</span><u></u><u></u></p>
<p><span style="font-family:Consolas;color:#2b91af">Console</span><span style="font-family:Consolas">.WriteLine(<span style="color:#a31515">"Order ID is :"</span> + m.GetField(orderID));</span><u></u><u></u></p>
<p><span style="font-family:Consolas;color:#2b91af">ExecID</span><span style="font-family:Consolas"> execID =
<span style="color:blue">new</span> <span style="color:#2b91af">ExecID</span>();</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">As I am not able to get some fields (like the USI) using the the above code, altough I see the tag (1903) for the same in the execution report. My concern is
that if I am not able to extract the fields with the above code, will I have to extract the same from the execution report by storing it in a text file etc.. and than writing code to extract the fields?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4f81bd">Thanks & Regards,<u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4f81bd">Ashutosh Mishra<u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho"">*********************************************************************************<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none"><span style="font-family:"MS PMincho"">This communication (including any attachments) is intended only or the use of the individual whom it is addressed and may contain information
that is privileged, confidential or legally protected. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received
this communication in error, please notify us immediately by replying to the message. Please also delete the message and its attachments, if any, from your computer and destroy any hard copies you may have created. Thank you for your cooperation.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"MS PMincho"">*********************************************************************************</span><span style="font-size:10.5pt;font-family:"Century","serif";color:#1f497d"><u></u><u></u></span></p>
</div>
</div>
</div>
<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br>
</font></font></div><div><font><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br>
</div><div><font><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>
</font></div>
</div>