Hello,
I am looking for a way to delete production bom lines in an existing production bom version. I have tried to use delete method on production bom lines request but get the below error:
'DELETE' requests for 'ProductionBomLines' of EdmType 'Collection' are not allowed within Dynamics 365 Business Central OData web services.
The request i tried: myurl/ProductionBomLines?$count=true&$filter=Production_BOM_No eq '1052' and Version_Code eq 'A'
Is there a way to delete all bom lines unside a production bom version or just need to delete the bom version which in effect deleted the bom lines.
Kindly advise.
Thanks in advance.