# Reverse routing fields on rejects

iCONNECT
#Logon
I8=FIX.4.235=A34=149=TW52=<TIME>56=ISLD98=0108=30
E8=FIX.4.29=6135=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=3010=0

# Send an order with OnBehalfOfCompID (115) set with bad field value 40=w
I8=FIX.4.235=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.29=13135=334=249=ISLD52=00000000-00:00:00.00056=TW128=JCD45=258=Value is incorrect (out of range) for this tag371=40372=D373=510=0

# Send an order with DeliverToCompID (128) set with bad field value 40=w
I8=FIX.4.235=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.29=13135=334=349=ISLD52=00000000-00:00:00.00056=TW115=JCD45=358=Value is incorrect (out of range) for this tag371=40372=D373=510=0

# Send an order with OnBehalfOfCompID (115) and OnBehalfOfSubID (116) set with bad field value 40=w
I8=FIX.4.235=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.29=13835=334=449=ISLD52=00000000-00:00:00.00056=TW128=JCD129=CS45=458=Value is incorrect (out of range) for this tag371=40372=D373=510=0

# Send an order with DeliverToCompID (128) and DeliverToSubID (129) set with bad field value 40=w
I8=FIX.4.235=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.29=13835=334=549=ISLD52=00000000-00:00:00.00056=TW115=JCD116=CS45=558=Value is incorrect (out of range) for this tag371=40372=D373=510=0

# Send an order with OnBehalfOfCompID (115) and OnBehalfOfSubID (116) and OnBehalfOfLocationID (144) set with bad field value 40=w
I8=FIX.4.235=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.29=14635=334=649=ISLD52=00000000-00:00:00.00056=TW128=JCD129=CS145=CHI45=658=Value is incorrect (out of range) for this tag371=40372=D373=510=0

# Send an order with DeliverToCompID (128) and DeliverToSubID (129) and DeliverToLocationID (145) set with bad field value 40=w
I8=FIX.4.235=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.29=14635=334=749=ISLD52=20040503-17:56:01.00056=TW115=JCD116=CS144=CHI45=758=Value is incorrect (out of range) for this tag371=40372=D373=510=0

# logout message and response
I8=FIX.4.235=534=849=TW52=<TIME>56=ISLD
E8=FIX.4.29=4935=534=849=ISLD52=00000000-00:00:00.00056=TW10=0

eDISCONNECT
