Using _Cover within IF statements on Adjustment documents

Comments

6 comments

  • Avatar
    Peter Crowhurst OLD

    Hi Mark,

     

    Is the field name just Buildings ? or the whole field name Buildings_Cover ?


    If you have a question  B_SI


    and for a First Premium B_SI = 10000

    and for an adjustement the B_SI = 6000


    on a Document for the adjustment

    [B_SI] would display 16000

    and

    ##[B_SI]## would display 6000 (the value of the Adjustment)

    0
    Comment actions Permalink
  • Avatar
    Mark Williams

    Thanks for that Pete but it does not entirely answer the question.

    I need to be able to ascertain the total SI within an IF statement (The original plus any adjustments) as shows when used outside of an IF statement. I need this because even if there is no change, I still need to show the total as per my example:

    ## IF([Buildings_Cover]=0,'Not Insured',[Buildings_Cover].ToString("C0")) ##

    Cheers.

    Mark

    0
    Comment actions Permalink
  • Avatar
    Peter Crowhurst OLD

    Mark,

     

    Currently I do not believe it can be done within the ####

     

    regards

     

    Peter

    0
    Comment actions Permalink
  • Avatar
    Mark Williams

    Thanks Pete.

    Shall I raise this as a feature request or ticket?

    Are there any plans to make this work?

    Cheers.

    Mark

    0
    Comment actions Permalink
  • Avatar
    Colin Kippin

    Hi Mark,

    This should not be a ticket as it is not a bug, its the way that the MTA and IF Statements operate at present.

    If you would like to put this on the Feature Requests hopefully it will get voted on and will move up the development list.

    Regards

    Colin

     

    0
    Comment actions Permalink
  • Avatar
    Rob Symonds

    Hi,

    Any answers that appear on the Matrix tab (Calculation type answers) store the CHANGES to the question at MTA.

    Therefore, on an MTA, when you use ## [QuestionName_Cover] ## you have access to the DIFFERENCE in cover for that answer.

    To get the amount for that POLICY all you need to do is prefix the token with "Policy_"

    So, 

    ##IF([Building_SI_Cover]=0,'Not Insured',[Building_SI_Cover]) ##

    Becomes:

    ##IF([Policy_Building_SI_Cover]=0,'Not Insured',[Policy_Building_SI_Cover]) ##

    Thanks,

    Rob.

    0
    Comment actions Permalink

Please sign in to leave a comment.