After an Modify Single Leg Order Request the error message ORDER DATA HAS CHANGED SINCE RETRIEVED FOR EDITING occurs. Why?
The message ‘ORDER DATA HAS CHANGED SINCE RETRIEVED FOR EDITING’ means you used a wrong dateLstUpdDat. Make sure you did use the field which you got back from the modify response. Maybe you modified the order another time. Then you should use these values which you got back. dateLstUpdDat is a value that _changes_ whenever _something_ happens to the order. After dateLstUpdDat’s initial value, which is ENT to the application in the response to ‘Enter S/D Leg Order’, (as well as in the first Subscribe S/D Leg Order Confirmation) it changes whenever the order is modified, partially executed etc. In each of these cases, the application is notified by a broadcast on the ‘Subscribe S/D Leg _Order_ Confirmation’ stream. The broadcast message always contains the current dateLstUpdDat value that has been assigned to the order. You probably want to subscribe to this stream anyway to be able to track your orders. Thus, it is obsolete and inefficient to inquire for the order each time you want to
Related Questions
- When I try to retrieve data from the HSA I get an error message in the console about an invalid magic number for FITS file. What is going on?
- How to resolve the error message "Data was unable to be retrieved from the server. Please check you internet connection and try again."?
- After an Modify Single Leg Order Request the error message ORDER DATA HAS CHANGED SINCE RETRIEVED FOR EDITING occurs. Why?