Skip to Content
0
Mar 25, 2009 at 06:51 AM

Check if number range is already taken or not...

159 Views

Hello Experts,

I have a requirement wherein I need to change the number range of variant articles(We are using IS-Retail).

By default, variant articles/materials is having a length of 10 instead of 7 and our external system cannot

take more than 7. So, what I am doing is to just increment the main article/material number for its variants.

For example:

Default:

main article/material - 3111111

variant article 1 - 3111111001

variant article 2 - 3111111002

variant article 3 - 3111111003

What I want to do:

main article/material - 3111111

variant article 1 - 3111112

variant article 2 - 3111113

variant article 3 - 3111114

So I will just increment the main article by 1 but I want to check thr next available number to see if

its existing or not.

Thank you guys and take care!