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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Pricelist settings

(0) ShareShare
ReportReport
Posted on by

Pricelist availability

I have a pricelist, which at a certain date  (let's after 1-may-2021) I want to prevent users to select that pricelist and therefor the product. I could deactivate a pricelist, on that date, so it won't be visible anymore.

I deactivate a pricelist today expecting it would not be visible in pricelist drop down list, however I still see the deactivated pricelist.

So I have changed the lookup settings to only show only Active pricelist, this seems the only way to prevent users selecting, the one which is In-active.

Another option is to set a date as explained below, but I set a pricelist with an end date, for example to 17-apr-2021, I can still add the pricelist.

In the documents you can set an end date, so I would presume that when I create an opportunity, product or quote, that after that date you can't select that price list anymore.

pastedimage1619179395448v1.png

I don't want to delete the pricelist, because occasionally I need to add some products, with this pricelist.

I just to prevent that users, other then the system admin, can select that pricelist after 1-may-2021.

So what are the option?

I have the same question (0)
  • Verified answer
    LuHao Profile Picture
    40,892 on at

    Hi partner,

    We can change the default view of Price List lookup field to Active Price Lists, and create a scheduled flow to activate and deactivate the Price List based on Start Date and End Date per day.

    Step 1. 

    Edit the Opportunity/Quote/Order/Invoice form, chenge properties of the Price List lookup, chenge the Default View to Active Price Lists, select View Selector to Off.

    pastedimage1619419927228v1.png

    Step 2. 

    Create such a flow.

    pastedimage1619422202023v2.png

    pastedimage1619422223607v3.png

    pastedimage1619422239657v4.png

    pastedimage1619422261483v5.png

    pastedimage1619422280999v6.png

    This way, the administrator or manager kust needs to set the start date and end date of the Price List. flow will de-activate Price Lists that are not within the effective date and have an active status every day, and activate Price Lists that are within the effective date and have an inactive status.

  • Verified answer
    Fubar Profile Picture
    2,761 on at

    If you have set the view to an only show Active records view you probably still seeing the deactivated price list for the following reasons

    • The 'Disable most recently used' tickbox is unchecked.(on the properties of the lookup attribute on the form) - the recently used list will even show deleted items
    • The list is being populated off another record e.g. a parent account - the pre-fill of relationship mappings does not look at what the view that is selected is

    Depending on what you are doing there are a number of different ways to address it, but most are a customization, and most likely you just need to throw in a bit of JavaScript

    • Have javascript that triggers on change of the Price List attribute to check the date(s) - put an error, .setNotification(), on the field if not valid
    • If the issue is the pre-fill have JavaScript on Form onload that if the price list is populated check its dates
  • Dynamics 365 Forums Profile Picture
    on at

    Thank you, for explanation, to build such a workflow would not be needed, as we only want one pricelist to be "invisible"

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans