Discussions
Deleting WorkOrderCost.Items entries
15 days ago by null
I want to delete an entry in the WorkOrderCost.Items list. I've tried doing this via the DeleteCommand with EntityType "FinancialItem", and have also tried it with the DELETE operation against api/v1/base/FinancialItem/, but in both cases, I get the following error message:
"ErrorMessage": "WoCostDetail modifications must be performed in parent's context; parent ID #12345",
I'm not sure how to perform this delete in the context of the WorkOrderCost. How can I accomplish this? Thanks!