Document Number Calculated Mask

Hello,

Is it possible to incorporate WHERE/OR/ESLE statements into the calculated mask?

Thanks,

Catherine

Parents
  • Hi Catherine,

    Yes, you can use it under Calculated Mask editor through Director. It is same as eQL you do in REPORT DESIGNER.
    You can use eB Administrator Guide for the help.

    Regards,
    Manav B.



  • Hi Manav,


    I'm trying to use this expression, which the admin guide says is valid:

    CASE( Input_Expression ) – Evaluates a list of conditions and gives one of multiple possible result text
    Example:
    CASE Input_expression
    WHEN When_expression
    THEN ouput1_expression
    ELSE output2_expression
    END

    But it always throws an error saying 'THEN' expected, even though I include a THEN statement. For example with the below:

    CASE Code
    WHEN Attributes["Global", "Numbering Scheme"].Value = 7 THEN Code = ‘1’
    ELSE WHEN Attributes["Global", "Numbering Scheme"].Value = 7 THEN Code = ’2’
    END


    Thanks,

    Catherine
Reply
  • Hi Manav,


    I'm trying to use this expression, which the admin guide says is valid:

    CASE( Input_Expression ) – Evaluates a list of conditions and gives one of multiple possible result text
    Example:
    CASE Input_expression
    WHEN When_expression
    THEN ouput1_expression
    ELSE output2_expression
    END

    But it always throws an error saying 'THEN' expected, even though I include a THEN statement. For example with the below:

    CASE Code
    WHEN Attributes["Global", "Numbering Scheme"].Value = 7 THEN Code = ‘1’
    ELSE WHEN Attributes["Global", "Numbering Scheme"].Value = 7 THEN Code = ’2’
    END


    Thanks,

    Catherine
Children