on 06-25-2015 5:16 AM
Hi,
I have requirement to upload mass activities and update their status.
I am using logic where I first create the activity in initial status. This gives me the GUID of created activity.
Then, I pick up the GUID and use it to update the status using CRM_ORDER_MAINTAIN to update the status.
I am getting error 'Express document "update was terminated" received from author error.
To clarify, the activity is successfully created but the above error is happening when I pick up the GUID and try to update the status using FM's.
I have also tried using other FM's like CRM_STATUS_MAINTAIN_OW and am getting the same error.
Is it because I created the activity in the same program and then tried to update it?!
Regards,
Prasad
Hi Prasad
Is there a commit of the data prior to the CRM_ORDER_MAINTAIN.
If the data is not committed at this point the data will not be resident for the update to occur.
Regards
Arden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arden,
I can see the Activity created in crmd order Tcode as well as running crm order read program.
I am able to manually manipulate the created order too!
But some how using standard FM's to change the order does not seem to work!
Could it be because the creation & status change is happening in the same program that is causing this error?
Regards,
Prasad
Hi Prasad,
Generally it should allow you to update the document after creation, you are calling the crm_order_save or some other save function module before trying to update the status?
You can try CRM_ORDER_INITIALIZE by passing the activity guid before trying to update the status value of the document.
Regards,
Dharmakasi.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.