Hello,
I'm creating custom service for SalesOrder entity and trying to set custom entity (enum type).
During the code running the entity value changed, but it's not saved in database I guess.
During the service code running echo log shows right values:
>TSE
>TSS
the full workflow run without any issue.
Can you help me with it?
I use the same entity set in my custom hook and it's work without any problem.
I'm creating custom service for SalesOrder entity and trying to set custom entity (enum type).
During the code running the entity value changed, but it's not saved in database I guess.
Code:
echo $entity->get('touchstoreStatus'); $entity->set('touchstoreStatus', 'TSS'); echo $entity->get('touchstoreStatus');
>TSE
>TSS
the full workflow run without any issue.
Can you help me with it?
I use the same entity set in my custom hook and it's work without any problem.
Comment