NEWRATES_Calculate_TechnicalPremiumTransaction
Introduction
Function to:
Add in sections which have just been "Removed" (MTA)
Calculate return premium based on Previous Rates (Cancellation)
Sort the Technical Premium Array (all transactions)
Add policy Dates, Signed Lines and Config to the Technical Premium Array (all transactions)
Parameters In
date
"2023-03-09"
Current date
riskId
"RATE4E08106P00"
RiskId for the risk which we want to rate
premiumOutputConfigObject
N/A
JSON - A configuration object built up from components of the Product Config table and from the risk itself
technicalPremiumArray
N/A
JSON - This is the Technical Premium Array which was returned from Technical Premium Calculator Script
debugOverrideFlag
true
Optional parameter to indicate whether to include Debug information along with the other outputs
Parameters Out
Technical Premium Array
N/A
JSON - Array containing all Technical Premium and Technical Fee relevant for display
Last updated