Skip to main content

Notifications

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.
  • Herriman-Exp-Coder Profile Picture
    39 on at
    RE: Some attribute values on BOM lines don't get written on the first PATCH request

    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 235 Moderator

#2
Siv Sagar Profile Picture

Siv Sagar 109 Super User 2025 Season 1

#3
Danny Bilodeau Profile Picture

Danny Bilodeau 86 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans