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

Getting next number in specific format.

Hello experts,

I am currently working on the Product Management System hierarchy. In which we are maintaining

  • PRODUCT
    • SUBPRODUCT
      • VERSION
        • PACKAGE

I am getting a bit problem while creating version. We have a screen like

From which we used to create version. Logic behind the screen is

VERSION = LATEST VERSION

Next what i want to do is get next version to latest version in the box near VERSION. In this case the box should display 0.0.4 instead of 0.0.3. For this I have used logic as

VERSION = LATEST VERSION + 1.

Its working absolutely fine, just getting problem on the screen as below

The box displaying ..4 instead of 0.0.4. If you have any idea how to achieve this please share it with me.

Thanks,

Avadhut

version.jpg (28.9 kB)
version1.jpg (28.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Mar 12, 2014 at 01:01 PM

    Hi Avadhut,

    Could you tell us what are your fields VERSION and LATEST VERSION type?

    Best Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 12, 2014 at 04:07 PM

    Hello Avadhut,

    1) Try by declaring the VERSION of type NUM06.

    OR

    2) Use a data element in which the domain has a conversion routine in it.

    Regards,

    TP

    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.