You are on page 1of 116

Test Cases for settlement type DFP (Cancellation)

Test Case ID TC001_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (uncommit indi

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP either thru safe or SAFIRE application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC002_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (commit indica

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC003_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment
Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC004_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (Uncommit indicato

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC005_Cancellation


Purpose Order Cancellation Rejected as it is in "Ready for settlement" state

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application

CSDP2 captures the order with settlement type


RFP (commit)either thru safe or SAFIRE
application

CSDP1 captures the order with the different


partiiculars ( details not matching with the
previous one) and places a request for
cancellation

Test Case ID TC006_Cancellation


Purpose CSDP cancels the order after client type is modified ( Uncommit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order


Test Case ID TC007_Cancellation
Purpose CSDP cancels the order after client type is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order

Test Case ID TC008_Cancellation


Purpose CSDP cancels the order after Qty of oder is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application

CSDP1 modifies the already captured order


( modifies the Qty ) with the different particulars

Now CSDP1 cancels the immediate modified order


P (Cancellation)

ACCEPTANCE status (uncommit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT542 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

ACCEPTANCE status (commit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT542 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

MATCHED status (commit indicator)

have captured one order


Test Data Expected output
Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101 AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

MATCHED status (Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
eady for settlement" state

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should send MT548-201 AFFI to
SAFIRE should receive CSDP2 and CSDP1 to ensure matched
MT540 from CSDP2 for order
placing an order
Strate should send MT548-251 to
CSDP1 and CSDP2 to intimate that
matched order is ready for settlement

Strate should receive


MT542 from CSDP1 for Strate should send MT548-901 to
cancelling an order CSDP1 to intimate order rejection
Body of the message should contain
the cancellation details ( verify)

s modified ( Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

s modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

is modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-101 to
CSDP2 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
TC001_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP1 Cancel order Un-Commit, taxable

TC002_Cancellation
Order Cancellation ( After Match)

CSDP1 captures an order Commit,Taxable


CSDP1 Cancel order Commit,Taxable

TC003_Cancellation
Order Cancellation ( After commit)

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Commit,Taxable

TC004_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Un-Commit, taxable

TC005_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP1 modifies an order Commit,Taxable

CSDP1 captures an order Commit,Taxable

TC006_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Un-Commit, taxable
CSDP1 cancels an order Un-Commit, taxable

TC007_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable
CSDP1 cancels an order Commit,Taxable
TC008_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable

CSDP1 cancels an order Commit,Taxable


999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}
999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 NEWM GB0007389926

0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926

0000000000068855 NEWM GB0007389926


ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019
Old Mutual Plc AFFI ZA100019
ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019


Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 RVP ZA100019
674994 Y 00 2000 20000232 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1200 20000231 DVP ZA100019

674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674995 Y 00 1000 20000231 RVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 2000 20000231 DVP ZA100019

674999 Y 00 2000 20000231 DVP ZA100019


:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54322

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 5432112

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


Expected_CSDP1 Expected_CSDP2

MT548-101NAFI
MT548-401

MT548-101AFFI
MT548-401

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-401
MT548-105

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201AFFI
MT548-251 MT548-251
MT548-901

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-101NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-401
MT548-105
MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-101
MT548-401
MT548-105
Test Cases for settlement type DVP (Cancellation)

Test Case ID TC001_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (uncommit indi

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP either thru safe or SAFIRE application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC002_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (commit indica

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC003_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment
Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC004_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (Uncommit indicato

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC005_Cancellation


Purpose Order Cancellation Rejected as it is in "Ready for settlement" state

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application

CSDP2 captures the order with settlement type


RVP (commit)either thru safe or SAFIRE
application

CSDP1 captures the order with the different


partiiculars ( details not matching with the
previous one) and places a request for
cancellation

Test Case ID TC006_Cancellation


Purpose CSDP cancels the order after client type is modified ( Uncommit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order


Test Case ID TC007_Cancellation
Purpose CSDP cancels the order after client type is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order

Test Case ID TC008_Cancellation


Purpose CSDP cancels the order after Qty of oder is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application

CSDP1 modifies the already captured order


( modifies the Qty ) with the different particulars

Now CSDP1 cancels the immediate modified order


P (Cancellation)

ACCEPTANCE status (uncommit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT543 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

ACCEPTANCE status (commit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT543 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

MATCHED status (commit indicator)

have captured one order


Test Data Expected output
Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101 AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

MATCHED status (Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
eady for settlement" state

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should send MT548-201 AFFI to
SAFIRE should receive CSDP2 and CSDP1 to ensure matched
MT541 from CSDP2 for order
placing an order
Strate should send MT548-251 to
CSDP1 and CSDP2 to intimate that
matched order is ready for settlement

Strate should receive


MT543 from CSDP1 for Strate should send MT548-901 to
cancelling an order CSDP1 to intimate order rejection
Body of the message should contain
the cancellation details ( verify)

s modified ( Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

s modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

is modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-101 to
CSDP2 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
TC001_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP1 Cancel order Un-Commit, taxable

TC002_Cancellation
Order Cancellation ( After Match)

CSDP1 captures an order Commit,Taxable


CSDP1 Cancel order Commit,Taxable

TC003_Cancellation
Order Cancellation ( After commit)

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Commit,Taxable

TC004_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Un-Commit, taxable

TC005_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP1 modifies an order Commit,Taxable

CSDP1 captures an order Commit,Taxable

TC006_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Un-Commit, taxable
CSDP1 cancels an order Un-Commit, taxable

TC007_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable
CSDP1 cancels an order Commit,Taxable
TC008_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable

CSDP1 cancels an order Commit,Taxable


999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}
999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 NEWM GB0007389926

0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926

0000000000068855 NEWM GB0007389926


ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019
Old Mutual Plc AFFI ZA100019
ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019


Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 RVP ZA100019
674994 Y 00 2000 20000232 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1200 20000231 DVP ZA100019

674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674995 Y 00 1000 20000231 RVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 2000 20000231 DVP ZA100019

674999 Y 00 2000 20000231 DVP ZA100019


:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54322

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 5432112

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


Expected_CSDP1 Expected_CSDP2

MT548-101NAFI
MT548-401

MT548-101AFFI
MT548-401

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-401
MT548-105

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201AFFI
MT548-251 MT548-251
MT548-901

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-101NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-401
MT548-105
MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-101
MT548-401
MT548-105
Test Cases for settlement type RVP (Cancellation)

Test Case ID TC001_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (uncommit indi

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


RVP ( Uncommit) either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC002_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (commit indica

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


RVP(commit) either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC003_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment
Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC004_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (Uncommit indicato

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC005_Cancellation


Purpose Order Cancellation Rejected as it is in "Ready for settlement" state

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application

CSDP2 captures the order with settlement type


RVP (commit)either thru safe or SAFIRE
application

CSDP1 captures the order with the different


partiiculars ( details not matching with the
previous one) and places a request for
cancellation

Test Case ID TC006_Cancellation


Purpose CSDP cancels the order after client type is modified ( Uncommit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order


Test Case ID TC007_Cancellation
Purpose CSDP cancels the order after client type is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order

Test Case ID TC008_Cancellation


Purpose CSDP cancels the order after Qty of oder is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DVP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RVP (uncommit)either thru safe or SAFIRE
application

CSDP1 modifies the already captured order


( modifies the Qty ) with the different particulars

Now CSDP1 cancels the immediate modified order


P (Cancellation)

ACCEPTANCE status (uncommit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT541 from CSDP1 for Strate should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT541 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

ACCEPTANCE status (commit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT541 from CSDP1 for Strate should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT541 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

MATCHED status (commit indicator)

have captured one order


Test Data Expected output
Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101 AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

MATCHED status (Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
eady for settlement" state

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should send MT548-201 AFFI to
SAFIRE should receive CSDP2 and CSDP1 to ensure matched
MT541 from CSDP2 for order
placing an order
Strate should send MT548-251 to
CSDP1 and CSDP2 to intimate that
matched order is ready for settlement

Strate should receive


MT543 from CSDP1 for Strate should send MT548-901 to
cancelling an order CSDP1 to intimate order rejection
Body of the message should contain
the cancellation details ( verify)

s modified ( Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

s modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

is modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT543 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT541 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT543 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-101 to
CSDP2 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
TC001_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP1 Cancel order Un-Commit, taxable

TC002_Cancellation
Order Cancellation ( After Match)

CSDP1 captures an order Commit,Taxable


CSDP1 Cancel order Commit,Taxable

TC003_Cancellation
Order Cancellation ( After commit)

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Commit,Taxable

TC004_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Un-Commit, taxable

TC005_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP1 modifies an order Commit,Taxable

CSDP1 captures an order Commit,Taxable

TC006_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Un-Commit, taxable
CSDP1 cancels an order Un-Commit, taxable

TC007_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable
CSDP1 cancels an order Commit,Taxable
TC008_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable

CSDP1 cancels an order Commit,Taxable


999MessageType SenderBICBlock2 Block3

541T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

541T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}
999MessageType SenderBICBlock2 Block3

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


541T ABSAZAJJXXXX {3:{108:20101117SS101002}}
543T ABSAZAJJXXXX {3:{108:20101117SS101002}}

543T ABSAZAJJXXXX {3:{108:20101117SS101002}}


20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 NEWM GB0007389926

0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926

0000000000068855 NEWM GB0007389926


ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019
Old Mutual Plc AFFI ZA100019
ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019


Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 RVP ZA100019
674994 Y 00 2000 20000232 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1200 20000231 DVP ZA100019

674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674995 Y 00 1000 20000231 RVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 2000 20000231 DVP ZA100019

674999 Y 00 2000 20000231 DVP ZA100019


:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54322

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 5432112

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


Expected_CSDP1 Expected_CSDP2

MT548-101NAFI
MT548-401

MT548-101AFFI
MT548-401

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-401
MT548-105

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201AFFI
MT548-251 MT548-251
MT548-901

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-101NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-401
MT548-105
MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-101
MT548-401
MT548-105
Test Cases for settlement type DFP (Cancellation)

Test Case ID TC001_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (uncommit indi

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


RFP( Uncommit) either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC002_Cancellation


Purpose CSDP cancells the order when order is in ACCEPTANCE status (commit indica

Prequisite SAFIRE should be stable and CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


RFP(commit) either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC003_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment
Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC004_Cancellation


Purpose CSDP cancels the order when order is in MATCHED status (Uncommit indicato

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application

CSDP1 captures the order with the same


particulars and places a request for cancellation

Test Case ID TC005_Cancellation


Purpose Order Cancellation Rejected as it is in "Ready for settlement" state

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application

CSDP2 captures the order with settlement type


RFP (commit)either thru safe or SAFIRE
application

CSDP1 captures the order with the different


partiiculars ( details not matching with the
previous one) and places a request for
cancellation

Test Case ID TC006_Cancellation


Purpose CSDP cancels the order after client type is modified ( Uncommit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (Uncommit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order


Test Case ID TC007_Cancellation
Purpose CSDP cancels the order after client type is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application
CSDP1 modifies the already captured order
( modifies the client type details) with the
different particulars

Now CSDP1 cancels the immediate modified order

Test Case ID TC008_Cancellation


Purpose CSDP cancels the order after Qty of oder is modified ( commit indicator)

Prequisite SAFIRE should be stable and both CSDP must have captured one order
Stable QA Environment

Test Procedures
Action

CSDP1 captures the order with settlement type


DFP (commit) either thru safe or SAFIRE
application
CSDP2 captures the order with settlement type
RFP (uncommit)either thru safe or SAFIRE
application

CSDP1 modifies the already captured order


( modifies the Qty ) with the different particulars

Now CSDP1 cancels the immediate modified order


P (Cancellation)

ACCEPTANCE status (uncommit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT540 from CSDP1 for Strate should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT540 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

ACCEPTANCE status (commit indicator)

e captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
Strate should receive
MT540 from CSDP1 for Strate should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
Strate should receive
MT540 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Body of the message should contain
the cancellation details ( verify)

MATCHED status (commit indicator)

have captured one order


Test Data Expected output
Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101 AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

MATCHED status (Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-401 to
cancelling an order CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
eady for settlement" state

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should send MT548-201 AFFI to
SAFIRE should receive CSDP2 and CSDP1 to ensure matched
MT540 from CSDP2 for order
placing an order
Strate should send MT548-251 to
CSDP1 and CSDP2 to intimate that
matched order is ready for settlement

Strate should receive


MT542 from CSDP1 for Strate should send MT548-901 to
cancelling an order CSDP1 to intimate order rejection
Body of the message should contain
the cancellation details ( verify)

s modified ( Uncommit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101NAFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

s modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and MT548-201AFFI to CSDP1
placing an order to ensure matched order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)

is modified ( commit indicator)

have captured one order

Test Data Expected output


Inbound message to SAFIRE Outbound message from SAFIRE
SAFIRE should receive
MT542 from CSDP1 for SAFIRE should send MT548-101AFFI to
Test Data placing an order CSDP1 to intimate order acceptance
SAFIRE should receive SAFIRE should send MT548-201NAFI to
MT540 from CSDP2 for CSDP2 and CSDP1 to ensure matched
placing an order order
Strate should receive
MT542 from CSDP1 for Strate should send MT548-101 to
modification of an order CSDP1 to intimate order modification
Strate should send MT548-101 to
CSDP2 to intimate order modification
Strate should send MT548-401 to
CSDP1 to intimate order cancellation
Strate should send MT548-105 to
CSDP2 to intimate order cancellation
due to counter party
Body of the message should contain
the cancellation details ( verify)
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
Remarks

Remarks
TC001_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP1 Cancel order Un-Commit, taxable

TC002_Cancellation
Order Cancellation ( After Match)

CSDP1 captures an order Commit,Taxable


CSDP1 Cancel order Commit,Taxable

TC003_Cancellation
Order Cancellation ( After commit)

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Commit,Taxable

TC004_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 Cancel order Un-Commit, taxable

TC005_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP1 modifies an order Commit,Taxable

CSDP1 captures an order Commit,Taxable

TC006_Cancellation

CSDP1 captures an order Un-Commit, taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Un-Commit, taxable
CSDP1 cancels an order Un-Commit, taxable

TC007_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable
CSDP1 cancels an order Commit,Taxable
TC008_Cancellation

CSDP1 captures an order Commit,Taxable


CSDP2 captures an order Un-Commit, taxable
CSDP1 modifies an order Commit,Taxable

CSDP1 cancels an order Commit,Taxable


999MessageType SenderBICBlock2 Block3

540T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

540T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}
999MessageType SenderBICBlock2 Block3

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


540T ABSAZAJJXXXX {3:{108:20101117SS101002}}
542T ABSAZAJJXXXX {3:{108:20101117SS101002}}

542T ABSAZAJJXXXX {3:{108:20101117SS101002}}


20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068844 NEWM GB0007389926

0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068844 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068844 NEWM GB0007389926
0000000000068844 CANC GB0007389926

20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
0000000000068855 NEWM GB0007389926
20Ref Sub-message type 23G_Func Trade date Sett. Date ISIN

0000000000068855 NEWM GB0007389926


0000000000068843 NEWM GB0007389926
0000000000068855 NEWM GB0007389926

0000000000068855 NEWM GB0007389926


ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc NAFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019
Old Mutual Plc NAFI ZA100019

ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019
Old Mutual Plc AFFI ZA100019
ISIN_Line1 Affirmation Status CommitUn_commit flag Repetitive_partsNumber Order issuer

Old Mutual Plc AFFI ZA100019


Old Mutual Plc NAFI ZA100019
Old Mutual Plc AFFI ZA100019

Old Mutual Plc AFFI ZA100019


Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1000 20000231 RVP ZA100019
674994 Y 00 2000 20000232 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674994 Y 00 1200 20000231 DVP ZA100019

674994 Y 00 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674994 Y 00 1000 20000231 DVP ZA100019


674995 Y 00 1000 20000231 RVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019
674994 Y 31 1000 20000231 DVP ZA100019

Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
674999 Y 31 1000 20000231 DVP ZA100019
Order id Taxable Client Code Sett Qty (units) SAFE Account No. Sett Type :95R::REAG

674999 Y 00 1000 20000231 DVP ZA100019


674991 Y 00 1000 20000231 RVP ZA100019
674999 Y 00 2000 20000231 DVP ZA100019

674999 Y 00 2000 20000231 DVP ZA100019


:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54322

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 5432112

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
:95R::RECU :95Q::SELL :95R::DEAG :95R::DECU SettCurr SettAmnt

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321
ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321

ZA100019 HSBCZAJ0XXX ZA100086 ZA100086 ZAR 54321


Expected_CSDP1 Expected_CSDP2

MT548-101NAFI
MT548-401

MT548-101AFFI
MT548-401

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-401
MT548-105

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201AFFI
MT548-251 MT548-251
MT548-901

MT548-101NAFI
MT548-201NAFI MT548-201NAFI
MT548-101NAFI
MT548-401
MT548-105

MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-401
MT548-105
MT548-101AFFI
MT548-201AFFI MT548-201NAFI
MT548-101AFFI
MT548-101
MT548-401
MT548-105

You might also like