Skip to content


Two Option Set data type in CRM to CheckBox data type in GP

Yassin asked 5 years ago
Getting the following when I map the creditonhold source field which is a two option set field in CRM to HOLD field in GP which is a checkbox.
GP_ACC_RT: Failed to convert parameter value from a String to a Byte. I tried using the convert to byte function was still getting the same error. 
Yassin answered 5 years ago
Never mind I ended up creating a calculated field and seem to do the trick
if _CREDITONHOLD = “True” then
    return 1
     return 0
end if 

If you would like to submit an answer or comment, please sign in to the eOne portal.