Comments (7)
Which property did you use to update the amount? As far as I know the amount can't be changed directly, it is calculated from price, quantity and discount.
Indeed PATCH would be the correct verb for partial updates but the current implementation of the service is handling this through PUT requests.
from exactonline-api-dotnet-client.
My bad, I meant quantity instead of amount.
from exactonline-api-dotnet-client.
My test application is failing to cooperate so I'm having some trouble reproducing this. A test using Postman worked fine, the unit price and discount were not cleared.
Did you do a GET on the SalesOrderLine after updating the quantity ? Did you also check these values in the Exact Online web application ?
from exactonline-api-dotnet-client.
I checked in the Exact Online web application. I'll try if I can reproduce
an example PUT request.
On Friday, April 17, 2015, shtrip [email protected] wrote:
My test application is failing to cooperate so I'm having some trouble
reproducing this. A test using Postman worked fine, the unit price and
discount were not cleared.Did you do a GET on the SalesOrderLine after updating the quantity ? Did
you also check these values in the Exact Online web application ?—
Reply to this email directly or view it on GitHub
#7 (comment).
from exactonline-api-dotnet-client.
The following json payload is generated by the client sdk when only the quantity of a SalesOrderLine has changed:
{
"AmountDC": null,
"AmountFC": null,
"Quantity": 2.0,
"QuantityDelivered": null,
"QuantityInvoiced": null,
"UnitCode": null,
"VATAmount": null,
"VATCodeDescription": null,
"VATPercentage": null
}
After this, the Unit price and net price are reset to 0.00.
from exactonline-api-dotnet-client.
Thanks, this is very clear. Only the Quantity should be in there. This is a bug.
from exactonline-api-dotnet-client.
This is fixed through pull request 57.
from exactonline-api-dotnet-client.
Related Issues (20)
- Unassign Bank Accounts from Supplier
- Successful lookup depending on administration open in EOL HOT 3
- The Parsing is horribly slow: with solution HOT 5
- Inserting an AcceptQuotation results in ExactOnline.Client.Sdk.Exceptions.IncorrectJsonException
- "Memoriaalboeking" aanmaken HOT 1
- Error detection too broad
- Make this a netstandard20 compatible project HOT 1
- Nuget package is outdated HOT 1
- Connecting HOT 2
- The request was aborted: Could not create SSL/TLS secure channel HOT 11
- WARNING: This repository contains serious bugs and is unmaintained HOT 1
- Entity identifier value not found HOT 1
- AccessTokenDelegate async HOT 1
- OAuth2 automatic retrieval. Does anyone see my mistake? HOT 26
- Provide skiptoken usage in the readme
- Error: Failed to execute the ExtractVariables: ExtractAccessToken HOT 16
- Unable to download
- UnauthorizedException when waiting too long
- Implement missing bulk endpoints HOT 3
- Authentication only lasting 3 days
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exactonline-api-dotnet-client.