refs #1081 updated forex.py and forex_view.xml for field attributes and error codes