Database view for Catalog items

Harshit
Tera Contributor

In our project, the client need to create a report for a Catalog item (Report stolen device) which has 3 variables (namely - Place/Location, Type of Device, Description)   and should like below -

 

Item NameRITM numberPlace/LocationType of deviceDescription
Report stolen device

RITM001

Place 1Mobiletestxxxx
Report stolen deviceRITM002Place 2I-Padtestxx

 

I was trying using database views with the following tables but no luck -

1. sc_item_option_mtom

2. item_option_new

3. sc_item_option

 

Dont know where i went wrong, or is it really possible to get such a report?

 

Thanks in advance!!

6 REPLIES 6

Bhavesh Jain1
Giga Guru

Do you really want to create a database view when you can get this information from single table?


sc_item_option_mtom



Capture.PNG


Parent Item stores the RITM number


Item stores the Item name


Question field stores all your variables


Value stores the user input



You can set the list layout for the table 'sc_item_option_mtom'.




Capture.PNG


Regards,


Bhavesh


IGate-logo.png


http://www.igate.com


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Just to add, If you have any reference field in your variable sets then the value of that field will be shown as "sys-id" and not the display value in Report.



Thanks,


Pradeep Sharma


Thanks Pradeep..
I checked, no reference fields


Perfect



Thanks,


Pradeep Sharma