[SE-1332] eMessaging: Previous message mapping rules should consider message functions  
Product Line: P&C
Component/s: Other
Fix Version/s: SICS 4.9.3

Aim of function

Two factors to be considered regarding Previous message mapping set tables. One is to check an optional single message function to which the mapping set applies (the 'applies to' message function, relating to the message function of the current message). The second is to enable a list of messages functions to be selected that will be excluded from the search of messages in the previous message mapping rule. The selection may be left empty.

System Parameters Affected

System Parameter → eMessaging → Mapping → Previous Message Mapping → Previous Message Mapping Set.

Existing functionality affected

The  Previous message mapping rule already includes a test that prevents claim signing account and reinstatement messages from linking to non-claim TA messages, this new functionality aims to provide a provision for preventing later non-claim TA messages linking to earlier claim related TAs. 

The existing rule that states:

If the current message has a system defined message function of Claim Signing or Reinstatement, then only messages with that same message function should be matched. 

The new would add: If the current message has a system defined message function that is not Claim Signing nor Reinstatement, then only messages that are not Claim Signing nor Reinstatement should be matched.