Skip to content
+1-888-319-3663

COMMUNITY FORUM

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

Yassin asked 3 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. 
Answers
Yassin answered 3 years ago
Never mind I ended up creating a calculated field and seem to do the trick
if _CREDITONHOLD = “True” then
    return 1
else
     return 0
end if 

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