Showing posts with label Service Connect. Show all posts
Showing posts with label Service Connect. Show all posts
Friday, December 23, 2011
Workflow Locked
Recently, I had Workflow Designer crash on me, and when I tried to re-open the workflow, I got this error message:
Workflow Designer
The process is locked can cannot be saved under the same name. Open the process?
Because my session crashed, the lock was not released. I couldn't find a proper way to release the lock, but the following procedure worked for me to unlock the workflow. Use at your own risk!
On the Service Connect server, I stopped and restarted this service:
ScaLockSrv - Allows users to work simultaneously with shared data.
Labels:
epicor,
release lock,
ScaLockSrv,
Service Connect,
The process is locked,
unlock,
Workflow
Wednesday, May 11, 2011
Delete Rows in Epicor DeleteById Alternative
Epicor DeleteById vs. Update (RowMod="D")
In my experience, deleting rows from Epicor through the business objects works differently between objects.
For some objects, you can call.DeleteById, such as PartService.DeleteById and the row will be removed from Epicor database.
For other objects,.DeleteById fails (CustShipService.DeleteByID, SaleOrder.DeletedById, ...) sending to you check the AppServer log file, which states something like: "No ttOrderHead record is available", "Error attempting to push run time paramters onto the stack.".
In these cases, try deleting using the Update/RowMod option.
Call.Update (different from MasterUpdate, UpdateExt, etc.) passing in the appropriate dataset. You don't need the entire dataset returned by .GetById. Just pass in the element which has the unique ID for the business objects, and in that element, set RowMod="D".
For SalesOrder, my Service Connect trace looks like this:
In my experience, deleting rows from Epicor through the business objects works differently between objects.
For some objects, you can call
For other objects,
In these cases, try deleting using the Update/RowMod option.
Call
For SalesOrder, my Service Connect trace looks like this:
<ext_UpdateRequest:UpdateRequest xmlns:ext_UpdateRequest="http://Epicor.com/SalesOrder/UpdateRequest">
<ext_UpdateRequest:loginOptions>EPIC03</ext_UpdateRequest:loginOptions>
<ext_UpdateRequest:ds>
<ext_UpdateRequest:OrderHed>
<ext_UpdateRequest:UpdExtSalesOrderDataSetTypeOrderHed>
<ext_UpdateRequest:OrderNum>2300091</ext_UpdateRequest:OrderNum>
<ext_UpdateRequest:RowMod>D</ext_UpdateRequest:RowMod>
</ext_UpdateRequest:UpdExtSalesOrderDataSetTypeOrderHed>
</ext_UpdateRequest:OrderHed>
</ext_UpdateRequest:ds>
</ext_UpdateRequest:UpdateRequest>
Labels:
delete,
DeleteById,
epicor 9,
RowMod,
Service Connect
Subscribe to:
Posts (Atom)