cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_STATUS_UPDATE question

Former Member
0 Kudos

I am locking some products using CRM_STATUS_UPDATE. Although I can see in CRM_JEST table the new records, I can¡t see the new values in COMMPR01,

Does anybody know why can be happening this??

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

When you want to update / modify the status the you need to first inactivate the current status and then insert the active status. The FM CRM_STATUS_UPDATE does not deactivate the current status by itself. So we have to pass two records > one to deactivate the current status and then > two to add new active status.

To know how it works.. change the object and see how the status changes are recorded in log table CRM_JCDS.

Cheers,

Ashish

ashish_nagpal
Active Contributor
0 Kudos

hi

it is simply because though you have updated the status but you havent saved the updated status .

you can do that by reading that status first by CRM_order_read and then save it using ORDER_SAVE

best regards

ashish