AL icon indicating copy to clipboard operation
AL copied to clipboard

How to Update sales Lines using the Webservices ?

Open sainath654 opened this issue 7 years ago • 3 comments

Hello Everyone,

Using the Microsoft document (https://docs.microsoft.com/en-us/dynamics-nav/fin-graph/api/dynamics_salesorderline_update) i have created the sales line using the Postman application with POST method, but now when i am trying to update the sales line using the PATCH method in postman application i am getting the below issue.

Error: { "error": { "code": "BadRequest_NotFound", "message": "Bad Request - Error in query syntax." } }

Thanks, Sainath.

sainath654 avatar Oct 21 '19 05:10 sainath654

Please follow the template and provide adequate information to reproduce the issue.

qutreson avatar Oct 21 '19 07:10 qutreson

Hello,

Below is the url i am using for the update statement.

Api.businesscentral.com:7048/DEV/ODataV4/Company('Test')/SalesOrder('SO000400557')/salesOrderLines(documentId=('SO000400556'),sequence=(10000))

Thanks, Sainath

sainath654 avatar Oct 21 '19 07:10 sainath654

This repository no longer handles general questions and is only dedicated to bug reports for the latest preview version of the AL compiler and developer tools.

To get help for your question please use one of the following resources: Business Central Community mibuso forum Dynamics User Group

kalberes avatar Oct 21 '19 08:10 kalberes