I am setting 'statecode' field of entity 'quote' of CRM using script component in ssis as:
if(!Row.activated_IsNull)
{
quote.Attributes["statecode"] = Row.activated;
}
else
{
quote.Attributes["statecode"] = null;
}
But I am getting following error when I run the it:
What can be the reason for this. Please help!!
Thanks in advance.