# Conditions for Rating Files

From SchemeServe Help

## Introduction

*This area of SchemeServe is more complex than most others. In order for you to make the most out of using our Help Guide for developing your own rates, it would be best if you read all the parts of this guide in order. To help you with this they are listed in numerical order in the “See Also” section of each page. You can click on a link to take you to section 1 and then move through logically at your own pace.*

## Conditons for Rating Files

This is a comprehensive list for all the available SchemeServe Conditions for use in Ratings Files:

Answer | Answer:QuestionName | Answer to a Question in the Question set |

Cover | Cover:QuestionName | As 'Answer' but for Calculation Questions |

Rate | Rate:QuestionName | Current Rate for the Question |

Result | Result:QuestionName | Current Result for the Question - Cover x Rate / 100 |

Formula | Formula:arithmetic with QuestionName placeholders | Enables detailed formulas to be written with standard spreadsheet functions e.g "Formula:[StockSI] + Contents + [SpecificContents] / 100". The returned value could then be checked in a table to set a Rate |

RecordType | RecordType (no other parameters) | Determines record types First Premium, Adjustment or Renewal |

CLR | CLR:YearsToGoBack | Calculate the Claims Loss Ratio for specified number previous years |

YearDiff | YearDiff:QuestionA|QuestionB | Calculate the number of whole years between Date QuestionA and date QuestionB. If QuestionB is omitted then the difference calculated will be between QuestionA and today's date. |

MonthDiff | MonthDiff:QuestionA|QuestionB | Calculate the number of whole months between Date QuestionA and date QuestionB. If QuestionB is omitted then the difference calculated will be between QuestionA and today's date. |

DayDiff | DayDiff:QuestionA|QuestionB | Calculate the number of whole days between Date QuestionA and date QuestionB. If QuestionB is omitted then the difference calculated will be between QuestionA and today's date. |

BrokerPostcodeArea | BrokerPostcodeArea:File Lookup Name | Check the Broker Post Code in a specified File Look Up and return the Look Up value |

ClientPostcodeArea | ClientPostcodeArea:File Lookup Name | Check the first 4 characters of the Post Code in a specified File Look Up and return the Look Up value |

ClientPostcodeFull | ClientPostcodeArea:File Lookup Name | Check the full Post Code in a specified File Look Up and return the Look Up value |

AnswerPostcodeArea | AnswerPostcodeArea:QuestionName|Lookup Name | Check the Answer Post Code from a Question in a specified File Look Up and return the Look Up Value |

AnswerLookup | AnswerLookup:QuestionName|Lookup Name | Check the Answer from a Question in a specified File Look Up and return the Look Up Value |

TableRowCount | TableRowCount:QuestionName | Adds up the number of rows in the table question |

TableRowLookup | TableRowLookup:QuestionName|Column Index|Lookup Name | For all values in a specified table column check the specified File Look Up and return the Look Up Value |

## See Also:

- Introduction to Rates in SchemeServe
- Uploading SchemeServe Rating Files
- Downloading SchemeServe Rating Files
- Flat Rating: Building Your First SchemeServe Rating File
- Rating Modifiers: What they are and when to use them
- Multi-Step Ratings: Using Multiple Sections in Rating Files
- Advanced Ratings: Using Formulae
- Advanced Ratings: Conditional Statements and Functions
- Advanced Ratings: Rounding Values
- Master Rating: Using Tables and Row Lookup Loops
- Example Ratings for Specific Insurance Types (Life and Public Liability)
- Conditions for Rating Files
- Actions for Rating Files
- Mathematical Helper Functions for Ratings Files
- Rating Agents: Tips and Tricks