Button on Catalof ITem Form to copy the variable values

RAHUL Khanna1
Mega Guru

Hi Folks, 

Requirement : For Testing Purpose , I am looking to add a button on the catalog item form, which when cliked should prompt for a RITM number, which then populates the values from that RITM to the current ctalog variables. so that for testing purpose I can avoid filling of values. 

Any Ideas towards this is greatly appreciated. 

 

Thanks, 

 

1 ACCEPTED SOLUTION

Bogdan18
Tera Guru

Hi there,

 

If you are looking for a field not a button you can have a look here. This is taken from this community post here and it works just great.

 

I guess you could apply it to a button as well.

 

best regards,

Bogdan

 

View solution in original post

11 REPLIES 11

Harish Kumar3
Mega Guru

Hi Rahul,

 

All the variable related with RITM stored in table "sc_item_option_mtom". You can get variable value using glideajax and populated variable value on request form.

Thanks,
Harish

Bogdan18
Tera Guru

Hi there,

 

If you are looking for a field not a button you can have a look here. This is taken from this community post here and it works just great.

 

I guess you could apply it to a button as well.

 

best regards,

Bogdan

 

Hi Bogdan, 

 

Thanks for the reply, it has resolved my issues.. I just have quick question....

1) As I would like to have this variable set called in all the catalog item , how can I make sure when the developments are  moved from dev to test and then to PROD how can I make sure it does not get move to PROD.

 

Glad I could help 🙂

Not sure I understand the question but if you refer to moving the existing REQ-RITM-SCTASK records as records to TEST and PROD, you should not be worried about that as I assume you are using update sets to record and then move development work from DEV to TEST and then to PROD. Update sets do not record data such as submitted records so you will not see any testing records in the other instances. If this is not what you are referring to please provide more details about your concern.

Also, please mark the reply as correct and close the thread, so that other users can refer the correct answer.

 

best regards,

Bogdan