Skip to Content
author's profile photo Former Member
Former Member

MDM Questions

Dear MDM Specialists,

we have a requirement wherein we need to create a unique 14 digit alpha numric number for every new record we create.This number needs to be the next sequence number with every new record creation.

The character part of the alphanumric is static MEWL

so the number would be MEWL0000010000

MEWL0000010001 so on and so forth.

How do we accomplish this ?


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 18, 2007 at 09:29 PM


    you can use expression editor to do that:

    have a look at this guide on how dates can be calculated there

    with your field it can be very similar:

    for more details about expression editor:

    Calculation Fields chapter



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      when i click on the second link... it was prompting me to login but when i use my login and password which i use to enter for this site.. it does not do any thing,.. may i know why

      Message was edited by:

      Rahul roy

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 04:28 AM


    Ya u can do this with the help of java program.

    According to ur requirement u just need to code a program in java in which u wil put MEWL as fixed and and then incremental number.

    Run that program at backend. So whenever u create record and save, it will generate a number for that record.

    I can give u one more eg. Let material record X falls under category Clothes-91.

    clothes has subcategory Pullover-32 and sub sub category Jacket-56.

    there can be many more categories like Computer-44>CPU-87(sub category)>Hard disk-65(sub sub category).

    so if i create a record X in MDM and if i give category"clothes". then it will pick category numbers 91 32 56 0001 .. here 0001 is incremental number.

    Here Java Code will see the category numbers in category table and generate a new number when we save record. This is just an eg, it may not match ur actual situation. but based on this way , u can create ur Numbers.


    Himanshu Nijhawan

    Mark points if my effort found helpful to u .

    Add a comment
    10|10000 characters needed characters exceeded

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.