Skip to Content
Former Member
Oct 25, 2012 at 07:58 AM

Modify Status based on User Action


Hi Gurus

For a Change Request we have added a custom button, which if clicked will result in the immediate change to the Status of the Transaction.

However the code we've implemented does not appear to be working, the status is not getting saved.

I suspect we need to update the "In Memory" values of the current transaction and then perform a save which will then update the "In Memory" and "Database Values"

Currently we're using CRM_ORDER_MAINTAIN and then CRM_ORDER_SAVE

Would anyone have a sample piece of code with the function modules I should be using.

Many Thanks in advance