on 10-07-2008 12:52 PM
Hi Experts,
I am updating dates in Sales Order using CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE .
I am able to update two dates at the start of the program.
But then in the middle of code if I try to update the dates it gives dump on COMMIT WORK, saying duplicate entry exists, though I am updating a different date in different field.
If I execute the program again it does not give any dump and updates all status and dates successfully.
Please help.
Thanks in advance.
Regards,
Vikas
Hi,
I think it is timing issue while updating the database. After you call CRM_ORDER_SAVE , use COMMIT WORK AND WAIT. Also, see if you can also use iv_update_task_local parameter (you need write statement SET UPDATE TASK LOCAL. before you can update it locally).
-ASB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
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.