Giter VIP home page Giter VIP logo

editshiptobillto's Introduction

๐Ÿ‘‹ Hi, Welcome to my profile

I am a technical consultant for a eOne Solutions, a software development company, where I work directly with our customers and partners to help them maximize their use of our products. I enjoy learning something new and tackling challenges, even if I cause them.:pensive:

๐ŸŒฑ Iโ€™m currently learning:

๐Ÿ“ซ Get in touch:

E-Mail Connect on LinkedIn

editshiptobillto's People

Contributors

ethan-sorenson avatar

Stargazers

 avatar  avatar

Watchers

 avatar

editshiptobillto's Issues

Request_EntityChanged error, Sales Order not updating.

We are getting an issue using this on Business Central cloud v15.2.39558.40612.

When sending a PUT request to the /ShippingAddress endpoint, we are getting a Request_EntityChanged error message. We are passing through the IF-Match header with the ETag of the order we want to update.

This works with the standard Sales_Order endpoint. I have checked and the ETag on the order does match what we're passing through. How can we fix this?

Possibly an update is needed for v15.2 but not sure where to find documentation to sort this issue.

Our request is:

URL: {{baseurl}}/Company('MyCompany')/ShippingAddress('Order','S-000001')

Raw Body:

{
	"ShipToOptions": "Custom Address",
	"ShipToName": "My Company",
	"ShipToAddress": "My Address",
	"ShipToAddress2": "Address 2",
	"ShipToCity": "My City",
	"ShipToCounty": "My County",
	"ShipToPostCode": "My Postcode"
}

Headers:

Authorization: Basic {redacted}
Content-Type: application/json
IF-Match: W/"JzQ0O3JxWndQVE1objFQRjVCRFA4akloWFR2UkR3S1dqenNHdzh0MjZaOEtyajA9MTswMDsn"

Here is the full response:

{
    "error": {
        "code": "Request_EntityChanged",
        "message": "Another user has already changed the record.  CorrelationId:  bf5c6b13-96ee-4fca-af3c-932faf73f0bd."
    }
}

Any help would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.