Unsend Financial Message

Unsend Financial Message XML and Unsend Financial Message Flat File are activities that result in a complete roll back of financial messages that were generated for financial transaction(s) in OHI Enterprise Policy Administration, making the financial transactions again available for selection in a financial transaction set and for the associated financial processing.

Use the Unsend Financial Message XML activity to unsend financial message generated by the Generate Financial Message XML activity.

Use the Unsend Financial Message Flat File activity to unsend financial message generated by the Generate Financial Message Flat File activity.

These activities have the following parameter:

  • Financial Message Ids

List of semicolon separated financial message ids of the financial messages required to be unsent.

Processing

The financial message can be unsent if and only if the following condition is met for all the financial transactions that belongs to it otherwise FIN-FL-USFM-002 activity message is logged:

  • There is no later version of its base financial object for which a financial message has been processed - i.e Fin Message Result of Financial Transaction Process Data having a valid non null value.

To mark the financial message as 'unsent', the process updates the following attributes to null in Financial Transaction Process Data:

  • Financial Message Id

  • Financial Message Result

  • Fin Message Handled Datetime

The process updates the following attributes as well:

In Base Financial Object:

  • Status is set to Changed

In Financial Transaction Set:

  • If for a financial transaction a later version exists, and it already belongs to a financial transaction set, then all those later versions are also unsent and moved out of the set.

  • If no later versions of the financial transaction’s base financial object are currently in a set then the unsent financial transaction’s reference to the financial transaction set is nullified. That way the financial transaction is available for selection into a financial transaction set again. This happens for the financial transaction that has been sent plus for the included superseded financial transactions.

Information is logged on all the financial transactions of the message that can be successfully unsent(including all the later transactions as well) and is visible in the UI. Logging is done by creating a Financial Transaction Process Detail record of type 'USD_FIN_MESS_DETAIL' dynamic record.

Error Message

The unsend financial message activities can result in the following messages:

The messages with elementId attribute set to the combination of policy gid, calculation period start date, version and financial message id that is being unsent (separated by a space; for example element Id="1234567890 01012021 1 123450"):

Code Severity Message

FIN-FL-USFM-002

Fatal

Financial Message {messageId} cannot be unsent as the financial transaction {policy code} has a later version for which a financial message has been processed.

The messages without elementId:

Code Severity Message

FIN-VL-USFM-001

Fatal

Financial Message {messageId} is unknown.

FIN-VL-USFM-001 is logged under two situations

1) The financial message id is unknown to the system or

2) The financial message is unknown to the activity type, that is, XML financial message is requested to be unsent through the unsend financial message Flat File activity and vice versa.