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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Valid From and Valid To fields on Product

(0) ShareShare
ReportReport
Posted on by 184

Hi,

Could anybody explain what exactly are Valid From and Valid To fields on Product entity? 

I was testing a product with Valid To date in the past. But looks like this is doing nothing. The product remains active even though the date is in the past and I can still access the product on quote forms.

Is there any other way to restrict the users from using a particular product on quotes/orders without retiring the product? 

Cheers

Deeksha

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

    Hi Deeksha,

    These two fields are described in this document.

    There's no business logic associated with these fields except that the Valid To date must be later than the Valid From date. If required, you can implement your own business logic in these fields with a workflow, plug-in, or by using the Dynamics 365 Customer Engagement Web Services.

    If you want to make products that are not in validity period unselectable in a codeless way, we can use Power Automate.

    Step 1. First create a Yes/No field in Product entity, the default vaue is No.

    pastedimage1616656363120v1.png

    Step 2. Then create an Instant cloud flow.

    pastedimage1616657091048v3.png

    pastedimage1616657108274v4.png

    Run this Instant cloud flow, so the Yes/No field of all products within the validity period are changed to Yes.

    Step 3. Create a Scheduled cloud flow which repeats every day at 12:00 AM.

    pastedimage1616657384490v5.png

    Overview:

    pastedimage1616657686027v6.png

    Details:

    pastedimage1616657922876v11.png

    pastedimage1616657734171v8.png

    pastedimage1616657754091v9.png

    pastedimage1616657766014v10.png

    Step 3. Edit the Product Lookup View.

    pastedimage1616658032552v12.png

    Edit filters and add a row.

    Yes/No field Equals Yes.

    pastedimage1616658093608v13.png

    This way, only products that are within the validity period can be searched for. You can also add this filter to the other lookup views of Product.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans