Skip to main content
Microsoft Dynamics CRM forum
Suggested answer

Date and Time Field to listen to Weekend and Uk bank holidays

editSubscribe (0) ShareShare
ReportReport
Posted on by 36
Hello Members,
 
I have an below ask from my client, and i want to achieve on change of Inspection Date and Time field:
 
Choosing inspection date
Given I am creating a new inspection request
When I view the form
Then I can choose the date that the inspection is required
And I can only choose future working days (not weekends or UK holidays)
 
If it's for a completion inspection and the customer wants it for tomorrow then we will book it in but it may take up to 5 days. Add a note if the customer needs the inspection within a specific timeframe.
 
Scenario 1.1: Request being made after 5pm
Given I am creating a new inspection request
And the time is past 5pm
Then the earliest day I can select is two working days in the future
 
 
Any idea how to achieve suggestions are much appreciated.
 
Thank You
Attachments
  • CCDEV Profile Picture
    CCDEV 36 on at
    Date and Time Field to listen to Weekend and Uk bank holidays
    Hello Dengliang Li,
     
    Thanks for your response,
     
    We aren't using workorder or any outof the box table we are using our own table as custom table to handle some onchange field validations to check coming days are weekend and uk bank holidays something like when user try to select and input date and time field.
     
     
  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Date and Time Field to listen to Weekend and Uk bank holidays
    Hi,
     
    I'm afraid that's not possible.
    The Inspection in Work Order Task form is displayed by the Inspection Survey Control.
    It's not a field can't set it via the client api.
     
    This control cannot be edited.
     
     
    Best Regards,
    Dengliang Li
     

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Business Process Guidance Badges and New…

The Microsoft Success by Design is the framework for implementing Dynamics 365…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,266 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,987 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans