Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

D365 Sales - Update status based on appoitment start and endtime

Posted on by 142
Hlo Everyone,
 
I have a requirement in D365 Sales where I need to update the status of the product table based on the start time and end time of an appointment.
When an appointment is created, I've added a subgrid table named /Appointment Product/ that allows me to choose products and associate them with the appointment. My goal is to update the product's occupancy status to /Booking for Viewing/ during the time slot of the appointment (e.g., 11:00 AM to 11:30 AM). After that appointment's duration has passed, the product status should automatically change to /Available./ This means that during the specified time slot (11:00 AM to 11:30 AM), the product's status will be /Booking for Viewing./Does anyone have idea how to achieve this functionality?
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    D365 Sales - Update status based on appoitment start and endtime
    Hi Partner,
    This is my test result:
    1)Appointment
    --start and end time:
    --Related appointment product:
    2)Product status change history:

    I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    D365 Sales - Update status based on appoitment start and endtime
    Hi Partner,
    Maybe you can use workflow to achieve this functionality.
    In the workflow, you can use wait condition -Process Timeout, which can tell the workflow to wait for a specific amount of time or until a specific date.
    --Settings > Process to create one workflow.
    --Wait Condition and Update records:
    --wait appointment time
    --Update product status
    Save and Active the workflow.

    I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans