-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on cloning sales order details on invoiced orders #255
Comments
Moved logic that updates parent record ID on clone into core CloneRecord logic. Fix for issue demianrasko#255.
We found that the core issue was that the CloneChildren step was first duplicating the record, then updating with a new parent record. This threw the error as it was attempting to add new lines to a closed record. The new update sets the new parent record (and clears the previous parent if applicable) in the clone itself, not afterwards. |
Hi - is there any update as to when the fix for this issue with cloning records with closed parent will be released? It will be super handy to be able to clone a completed order's associated order lines (and not just the completed order). |
@kavila02 may I ask how did you compose the Target Record URL? |
I created a workflow that clones an order and its related lines. It works great, except for invoiced orders. When I try to clone an invoiced order with products, I get error "The detail cannot be updated because the parent is not editable.". If I clone an invoiced order with no products or an active/submitted order, I get no error and the clone completes successfully.
I tried ignoring all fields (both on header and lines) that have to do with status or state in order to prevent the new order from being "locked" but no luck.
OS: Windows
Browser: Edge
CRM Version: Online
WorkflowTools version: 1.0.61.1
The text was updated successfully, but these errors were encountered: