Consistency check
switchfrom without switchto, or financialInformationRef missing
Symptom
The receiver cannot form the switch pair and rejects the order.
Cause
Since Release 2027 a switch consists of two orders that refer to each other: financialInformationRef holds the refKey of the other order (manual section 6.3.2). One of the two is missing, or the references do not point to each other.
Fix
Put the refKey of the switchto order in financialInformationRef of the switchfrom order, and vice versa, and deliver the two orders of a simultaneous switch in the same message. The WTP Data Lab validator reports a missing reference, or a reference without its counterpart in the message, as a warning and not as an error, in message 5 and in message 6. SIVI keeps the field optional on both orders (issue #115), and the two orders do not have to travel in the same message: the orders of a sequential switch can be confirmed on different days.
Wrong and right
Wrong
[ { "buySellId": "switchfrom", "tradeAmount": 100000.00 } ]Right
[ { "refKey": "T-001", "buySellId": "switchfrom", "tradeAmount": 100000.00, "financialInformationRef": ["T-002"] }, { "refKey": "T-002", "buySellId": "switchto", "financialInformationRef": ["T-001"] } ]Check your own message for this and all other errors with the free validator: schema, code lists and consistency checks in one report. Validate a message
