RE: [Quickfix-developers] changing conditionally required fields
Brought to you by:
orenmnero
|
From: Scott R. <sri...@fo...> - 2006-04-05 19:08:38
|
I see what's going on now. Thanks. =20 ________________________________ From: Oren Miller [mailto:or...@qu...]=20 Sent: Wednesday, April 05, 2006 11:39 AM To: Scott Riopelle; qui...@li... Subject: Re: [Quickfix-developers] changing conditionally required fields =20 Y and N are the only options. There isn't a specific setting for conditionally required because it isn't enough information. There is no codification in the spec (at least in a machine readable way) what the conditions are for conditionally required fields. So conditionally required is treated the same as required in the spec. =20 The reason you are sending the rejects is because you are trying to pull out the conditionally required field without checking for its presence. You need to first do a isSetField before pulling it out. Otherwise if you pull it out and it's not there, an exception will get thrown resulting in the reject. =20 --oren ----- Original Message -----=20 From: Scott Riopelle <mailto:sri...@fo...> =20 To: qui...@li...=20 Sent: Wednesday, April 05, 2006 8:55 AM Subject: [Quickfix-developers] changing conditionally required fields =20 I am trying to change some required fields to be conditionally required. First, I was attempting to just add the fields in fromApp(), but they weren't showing up in the log file. =09 quickfix.field.AvgPx val =3D new AvgPx(0); message.setField(val); =20 Then, I decided to just edit the xml file to match the changes to FIX that my counterparty made. In the xml file (FIX42.xml) the only values I see for required are "Y" and "N". I set all the necessary conditional fields to "N", but am still sending business rejections back to my counterparty with "Conditionally required Field missing". Is there somewhere else I need to set conditions? =09 - Scott Riopelle |