
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2016 09:53 AM
I created a catalog item, but after further conversation with the customer, this now needs to be a record producer.
Is there a way that I can change the catalog item to a record producer without loosing the work that I did already?
This is my first time creating a record producer.
Thanks,
Karen
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2019 04:33 AM
Hey everyone I posted this question 3 years ago, but I found a way. You can run this script as a background script.
var gr = new GlideRecord("sc_cat_item"); gr.get("sys id of the catalog form that you want to change to a record producer"); gr.sys_class_name="sc_cat_item_producer"; gr.update();
Hope this is helpful to someone.
Karen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2020 03:47 AM
Can you please explain it in detail?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2021 01:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 06:28 AM
You need to modify the script to make sure that you get a valid record producer. This worked for me:
var gr = new GlideRecord("sc_cat_item");
gr.get("YOUR SYS ID");
gr.sys_class_name="sc_cat_item_producer";
gr.setValue('request_method' ,'');
gr.setValue('no_cart_v2', false);
gr.setValue('no_delivery_time_v2', false);
gr.setValue('no_quantity_v2', false);
gr.setWorkflow(false);
gr.update();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2021 01:37 PM
This worked??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2022 09:45 AM
do you have instructions on where to run the background script?