require "core"

item_id = "1234abcd"
item_dictionary_id = "4"
value = {
    userCode = "3141",
    userName = "Ivan"
}

core.update_item_dictionary_value( item_id, item_dictionary_id, value )