Issue Summary
When creating business events like Novations/Splits/Terminations a ClosedState object is created on the terminated TradeState.
The Create_BusinessEvent [cdm.event.common.func] function calls for the Create_TradeState [cdm.event.common.func] function to create the closed state
And as we can see here the activityDate is set to empty
But since the cardinality of activityDate is required (1..1)
All Terminated TradeState is created with a validation error
Steps to Reproduce
-
Creating a standard Termination
Create an Instruction → primitiveInstruction → quantityChange using func Create_TerminationInstruction
then create a BusinessEvent using Create_BusinessEvent
-
Creating Termination from Novation
Create a SplitInstruction → breakdown → split → breakdown using func Create_TerminationInstruction,
then create a BusinessEvent using Create_BusinessEvent
Expected Behaviour
Standard Termination - closedState should contain activityDate
Novation - closedState should contain activityDate
Actual Behaviour
Standard Termination - closedState -> activityDate is missing
Novation - closedState -> activityDate is missing
Compatibility
All versions of CDM 5, 6 & 7 have this incomplete mapping
[Create_TradeState in cdm.event.common.func]
Release
CDM 5x, 6x, 7x
Additional Context
No response
Issue Summary
When creating business events like Novations/Splits/Terminations a ClosedState object is created on the terminated TradeState.
The Create_BusinessEvent [cdm.event.common.func] function calls for the Create_TradeState [cdm.event.common.func] function to create the closed state
And as we can see here the activityDate is set to empty
But since the cardinality of activityDate is required (1..1)
All Terminated TradeState is created with a validation error
Steps to Reproduce
Creating a standard Termination
Create an Instruction → primitiveInstruction → quantityChange using func Create_TerminationInstruction
then create a BusinessEvent using Create_BusinessEvent
Creating Termination from Novation
Create a SplitInstruction → breakdown → split → breakdown using func Create_TerminationInstruction,
then create a BusinessEvent using Create_BusinessEvent
Expected Behaviour
Standard Termination - closedState should contain activityDate
Novation - closedState should contain activityDate
Actual Behaviour
Standard Termination - closedState -> activityDate is missing
Novation - closedState -> activityDate is missing
Compatibility
All versions of CDM 5, 6 & 7 have this incomplete mapping
[Create_TradeState in cdm.event.common.func]
Release
CDM 5x, 6x, 7x
Additional Context
No response