Function which populates the "Status" property against each Premium entry in the Premium Array. To accurately set the status for each entry it's necessary to know the complete array, hence why this step happens here.
Parameters In
Name
Example
Description
results
N/A
JSON - This is the Premium Array which was returned from getPremiumOutput()
transaction
"NB"
Transaction short code which was derived in the main premium function:
"NB"
"MTA"
"REN"
"CANX"
flowStatus
"Draft"
FlowStatus read back from the Risk (Risk["FlowStatus"])
debugOverrideFlag
true
Optional parameter to indicate whether to include Debug information along with the other outputs
Parameters Out
Name
Example
Description
Premium Array
N/A
JSON - Array containing full details for all Premiums and Fees relevant for display, including an up-to-date "Status" property