Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

problem in update prieperunit for product invoice

Posted on by Microsoft Employee

Hello,

I am looking to update the product price in the invoice product.

But I am not able to update.

I am doing the data sync using the api and I am passing the change through api but prieperunit is not getting affected.

Can you please help me on this?

Thanks

Sanket

  • ba365guy Profile Picture
    ba365guy 2,946 on at
    RE: problem in update prieperunit for product invoice

    Glad it worked.

    For knowledge sources, i suggest D365 guide. This will cover all.

    Link below:

    docs.microsoft.com/.../

    This would cover customizations(developer guide), configurations (guide for every app)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: problem in update prieperunit for product invoice

    Hello,

    Thanks a lot.

    It worked like a charm.

    Do me a favor,

    I want to learn dynamics in deep.

    Any online tutorial/online videos(with example).

    I am using asp.net c#.

    your guidance/material help will be really appreciated.

    Waiting for your positive reply.

    Thanks

    Sanket

  • Verified answer
    ba365guy Profile Picture
    ba365guy 2,946 on at
    RE: problem in update prieperunit for product invoice

    Make two API calls.

    Call 1: Set "Pricing" to  "Override"

    pastedimage1577247603373v1.png

    Call 2: Update the price per unit. 

    This should work.

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: problem in update prieperunit for product invoice

    Hi partner,

    To make the field 'Price Per Unit' editable, the following two points must be met.

    1. The field 'Price' of the Invoice Line is Override Price.
    2. The field 'Prices Locked' of Invoice is No.

    pastedimage1577242962034v1.png     pastedimage1577242990376v2.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: problem in update prieperunit for product invoice

    Hi,

    I am trying to update prriceperunit in invoicedetail entity.

    I have set default value for field "invoiceispricelocked" to "No"  and "ispriceoverridden" to "Override Price".

    But still change is not getting reflected.

    Please do needful ASAP.

    Thanks

    Sanket

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: problem in update prieperunit for product invoice

    Hi partner,

    Please refer to this document:

    docs.microsoft.com/.../faqs-sales

    The Prices Locked (ispricelocked) field controls the prices specified on the Order form and locks them from any further updates.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans