Hi there,
I have difficulties when I want to copy a filtered picklist field from one item to a new item through a script, using the library script createnewitem.
The single line fields copy nicely, but the picklists don't.
What should I do?
var newProperties = [];
newProperties.RMA_DATE = new Date();
newProperties.CUSTOMER = item.CUSTOMER;
newProperties.NOTES = item.NOTES;
newProperties.PRODUCT = item.PRODUCT;
newProperties.EXPERIENCED_PROBLEM = item.EXPERIENCED_PROBLEM;
newProperties.FIRST_PROPOSED_SOLUTION = item.FIRST_PROPOSED_SOLUTION;
newProperties.CUSTOMER_SUPPORT_ITEM = item;
var newItem = createNewItem('WS_RETURN_MERCHANDISE_AUTHORIZATION', newProperties);
if(item.SPAWNED_RMA === null){
item.SPAWNED_RMA = newItem;
}
Kind regards,
Jonas
I'm having the same exact challenge! Is this even possible? Any solutions to this challenge?
Thanks,
John