# Reverse routing fields on rejects

iCONNECT
#Logon
I8=FIX.4.135=A34=149=TW52=<TIME>56=ISLD98=0108=30
E8=FIX.4.19=5735=A34=149=ISLD52=00000000-00:00:0056=TW98=0108=3010=0

# Send an order with OnBehalfOfCompID (115) set with bad field value 40=w
I8=FIX.4.135=D34=249=TW52=<TIME>56=ISLD115=JCD11=ID21=338=10040=w54=155=INTC60=<TIME>
# Expect to see a reject with reverse route DeliverToCompID (128) set
E8=FIX.4.19=11335=334=249=ISLD52=00000000-00:00:0056=TW128=JCD45=258=Value is incorrect (out of range) for this tag (40)10=0

# Send an order with DeliverToCompID (128) set with bad field value 40=w
I8=FIX.4.135=D34=349=TW52=<TIME>56=ISLD128=JCD11=ID21=338=10040=w54=155=INTC60=<TIME>
# Expect to see a reject with reverse route OnBehalfOfCompID (115) set
E8=FIX.4.19=11335=334=349=ISLD52=00000000-00:00:0056=TW115=JCD45=358=Value is incorrect (out of range) for this tag (40)10=0

# Send an order with OnBehalfOfCompID (115) and OnBehalfOfSubID (116) set with bad field value 40=w
I8=FIX.4.135=D34=449=TW52=<TIME>56=ISLD115=JCD116=CS11=ID21=338=10040=w54=155=INTC60=<TIME>
# Expect to see a reject with reverse route DeliverToCompID (128) and DeliverToSubID (129) set
E8=FIX.4.19=12035=334=449=ISLD52=00000000-00:00:0056=TW128=JCD129=CS45=458=Value is incorrect (out of range) for this tag (40)10=0

# Send an order with DeliverToCompID (128) and DeliverToSubID (129) set with bad field value 40=w
I8=FIX.4.135=D34=549=TW52=<TIME>56=ISLD128=JCD129=CS11=ID21=338=10040=w54=155=INTC60=<TIME>
# Expect to see reverse route OnBehalfOfCompID (115) and OnBehalfOfSubID (116) set
E8=FIX.4.19=12035=334=549=ISLD52=00000000-00:00:0056=TW115=JCD116=CS45=558=Value is incorrect (out of range) for this tag (40)10=0

# Send an order with OnBehalfOfCompID (115) and OnBehalfOfSubID (116) and OnBehalfOfLocationID (144) set with bad field value 40=w
I8=FIX.4.135=D34=649=TW52=<TIME>56=ISLD115=JCD116=CS144=CHI11=ID21=338=10040=w54=155=INTC60=<TIME>
# Expect to see reverse route DeliverToCompID (128) and DeliverToSubID (129) and DeliverToLocationID (145) set
E8=FIX.4.19=12835=334=649=ISLD52=00000000-00:00:0056=TW128=JCD129=CS145=CHI45=658=Value is incorrect (out of range) for this tag (40)10=0

# Send an order with DeliverToCompID (128) and DeliverToSubID (129) and DeliverToLocationID (145) set with bad field value 40=w
I8=FIX.4.135=D34=749=TW52=<TIME>56=ISLD128=JCD129=CS145=CHI11=ID21=338=10040=w54=155=INTC60=<TIME>
# Expect to see reverse route OnBehalfOfCompID (115) and OnBeHalfOfSubID (116) and OnBehalfOfLocationID (144) set
E8=FIX.4.19=12835=334=749=ISLD52=20040503-17:56:0156=TW115=JCD116=CS144=CHI45=758=Value is incorrect (out of range) for this tag (40)10=0

# logout message and response
I8=FIX.4.135=534=849=TW52=<TIME>56=ISLD
E8=FIX.4.19=4535=534=849=ISLD52=00000000-00:00:0056=TW10=0

eDISCONNECT
