web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Some attribute values on Quote lines don't get written on the first PATCH request

(0) ShareShare
ReportReport
Posted on by 39

My company's vendor software (which interacts heavily with D365 Supply Chain) submits a PATCH similar to this:

my-company.devaos.cloudax.dynamics.com/.../ExpSalesQuotationLines(dataAreaId='bau',InventoryLotId='LOT001840598')

{
            "BOMId": "BOM00034875",
            "DeliveryAddressLocationId": "000017124",
            "ProductConfigurationId": "000317",
            "RouteId": "RTN00026004",
            "SalesPrice": 5004.87,
            "LineDiscountPercentage": 38
}
On the initial POST prior to this, everything works. But then when the PATCH above is sent, SalesPrice and/or LineDiscountPercentage come through as blank. The only sure-fire way to make this work is to send the patch 3 times. That's right: THREE TIMES. This is 100% reproducible in my Hyper-V VM and against multiple F&O environments.
variant.png
ExpSalesQuotationLine is our company's extension of the standard quote line entity (SalesQuotationLine). Any ideas are welcome. Even if you could tell me where exactly in the X++ to debug to see why the first 2 PATCH requests don't update those 2 attribute values, that would be a useful place to start.
Thanks in advance.
I have the same question (0)
  • Herriman-Exp-Coder Profile Picture
    39 on at

    I forgot to mention that this problem occurs only with quotes; not sales orders.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 179 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 121 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans