Skip to Content

Validation for the Tuple field

Hi Experts,

The Validation to be written for the Tuple field. The EAN Code is a part of the tuple.

The EAN Code starts with the Series 11, 12, 13 & 14 are Valid EAN Codes. If the users maintain the other EAN Code series it should throw an error.

Please advice.

Thanks & Regards,

U G

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 27, 2013 at 04:18 PM

    Hi UG,

    One other way can be -

    IF(LEFT(EAN,2) = "11",TRUE,

    (IF(LEFT(EAN,2) ="12",TRUE,

    IF(IF(LEFT(EAN,2)= "13",TRUE,

    IF(IF(LEFT(EAN,2) = "14",TRUE,

    FALSE))))

    Thanks,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi UG,

      It is not validating for the EAN Codes for the existing which is assigned to the other AUOM i.e. not modified particularly.

      For that some change has to happen to the current records as they were present before the creation of this rule (validation).You can select all pre-existing records and run them against the validation to get the set of failed records.

      Thanks,
      Ravi


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.