Odd behavior on MRVS - will not allow a duplicate entry in one field

Susan Davidson
Giga Guru

We have an MRVS on a catalog item that is asking for Asset tag, Serial Number, Model, Make, Support Group and a couple of other fields

 

All are required

 

When we enter NA on the Serial number on the 1st row it is fine. If i try to enter a second row and put NA as the serial number it tells me it is a duplicate when i click on the Add button.

 

There is NO client script for on submit or on change on catalog item or MRVS, no ui policies on the catalog item or the MRVS, i cannot for the life of me locate that "Add" button to see if there is a script on it somewhere (no ui page with the name the ajax is giving, no ui action called Add that is in any of the tables / spaces i would expect. 

It shows a message saying it is a duplicate.. i can't even find where that text message is stored. 

 

Clearly i didn't build this it was a third party but they don't know where it is either.. 

 

HELP! Please?

1 ACCEPTED SOLUTION

James Chun
Kilo Patron

Hi @Susan Davidson,

 

Are you getting an error something like the below?

JamesChun_0-1714190508892.png

 

If so, it's likely that like you have the 'unique' field enabled for the 'Serial Number' variable.

JamesChun_1-1714190564305.png

 

Set the 'unique' field to false and it should be fixed.

 

But I do want to point out that the serial number should be unique and disabling the property can allow users to enter duplicates.

If you are saying there are cases when no serial number is provided, maybe create a new checkbox that asks the user if a serial number is valid/present, and if yes, display and set the serial number as mandatory.

 

Cheers

 

View solution in original post

1 REPLY 1

James Chun
Kilo Patron

Hi @Susan Davidson,

 

Are you getting an error something like the below?

JamesChun_0-1714190508892.png

 

If so, it's likely that like you have the 'unique' field enabled for the 'Serial Number' variable.

JamesChun_1-1714190564305.png

 

Set the 'unique' field to false and it should be fixed.

 

But I do want to point out that the serial number should be unique and disabling the property can allow users to enter duplicates.

If you are saying there are cases when no serial number is provided, maybe create a new checkbox that asks the user if a serial number is valid/present, and if yes, display and set the serial number as mandatory.

 

Cheers