have to populate the serial number of the asset associated to the user record

lakng
Tera Contributor

we have a catalog variable in one item, serial number

in this serial number, serial number of the asset of that user contains has to populate.

here am attaching the user record form, the asset attached to this user record. serial number will be in this asset table (alm_hardware)

so we need to have onchange client script and one script include.

by changing the user in the catalog item, the serial number has to change based on the user.

find_real_file.pngfind_real_file.png

in this variable, the serial number has to populate 

find_real_file.png

1 ACCEPTED SOLUTION

add alert(g_form.getValue('user')); and check what is the user.

Then go to alm_hardware.list and there add filter assigned_to and put this user and check the no. of entries it has.

Compare it with the output of SI

View solution in original post

15 REPLIES 15

lakng
Tera Contributor

Hi Asif, have check with the alert.

but an empty value is showing in alert

Kindly share the script, we can look into it. Or call me and we can discuss.

lakng
Tera Contributor

Hi Asif, 

this is the Zoom session 

we can connect here

7877595681

 

HI asif even i ahve the similar issue can you please help me with the code both script include as well as client script

Hello Aparna,

Kindly create a separate question in the developer community with the details and i will look into it.