I get the following error
Property statecode of the new_test entity cannot be set in /var/www/html/Sources/vendor/alexacrm/php-crm-toolkit/src/Entity.php on line 271
When I try to update with this:
$test->statecode = 1;
$test->statuscode = 100000000;
I've come across this similar issue #24, where the solution was to use SetStateRequest. However, I'm not sure how to implement this solution.
Could you please provide an example?