Hi,
I am creating sales orders through the odata web services. Sometimes the sales lines are missing (other department needs to populate it) and I need to delete the sales order (the sales lines can be empty or have 1 or 2 lines) completely for the time being or else shipping would start working on incomplete SO. I'm using the http DELETE method with sales order number as the filter:
DELETE: URL - NAVSANDBOX.com:7048/.../SalesOrder eq 'SO-2078422'
But I get a 405 saying "'DELETE' requests for 'SalesOrder' of EdmType 'Collection' are not allowed within Microsoft Dynamics NAV OData web services."
Please suggest me how his can be accomplished.
Thanks in advance,
Kishore.