Customize Time Entry form on Calendar View for D365 PSA

Many times, users come back requesting that they need to be able to add types of time entries of their own. Sure, you can modify the Time Entry Type OptionSet that comes with D365 PSA by default. But that will only reflect on D365 Form Level and not where users go to Calendar View to enter time.

Microsoft has provided to be able to customize the Time Entry form on Calendar View too. This feature was released in the PSA release v1.2.1.51
msRelease

Check here – https://blogs.msdn.microsoft.com/crm/2017/07/14/dynamics-365-for-field-service-and-project-services-automation-update-3/

Customization

I’ve added an option called as Comp-Off for the available types of Time Entries OptionSet.
timeEntryOS

But, this is only reflected on the Form level of Time Entry entity and not on the Calendar View. On the Calendar View, it continues to show as below –

defaultTypes

Hence, you’ll need to make changes to the TimeEntryType.js file provided by Microsoft out-of-the-box.

Here’s the script that comes out-of-the-box which Microsoft says you can change to customize –

  1. To make changes, look for this file – “msdyn_/Common/Models/OptionSets/TimeEntryType.js
    jsInSolution
    jsWebRes
  2. Modify this file. By default, it will have this script as shown below –
    defaultScript
  3. So, I added just this one line and mapped it to the OptionSet I created. The value should match the OptionSet value entered in the Time Entry Type OptionSet.
    lineAdded
  4. Save and Publish changes. Check if your new option appears as shown below –
    modifiedCalendarView

Remember: The Calendar View to enter time entries has been deprecated in v3 of PSA. So this customization will not be needed in versions 3.x onward.

I hope this was helpful.

Also,

Advertisements

D365 PSA v3 – Resource Assignment and Booking

Now, since PSA v3 is a major shift from it’s previous version, ways to do certain things have changed. Let’s quickly look at one of the many ways to book a resource by Assigning them and then Booking them in PSA v3.

Project

I have a sample Project called Grand Chocolatiers Inc. whose Schedule looks like this (the WBS is now Schedule in PSA v3) –
project

I will now Assign and Book a Resource to show you how this is done in PSA v3.

Assigning Resources

1. Now, you don’t have any resources Assigned to the Project you just created, so let’s go to the Schedule in the Project and add a new Resource, say, Alicia Baker
addAlicia

aliciaAdded

I’ve added Alicia Baker without booking her.

2. Coming to the Team and refreshing the grid, I’ll see Alicia being Assigned the 12 Hours.

aliciaAssigned

 

Booking Resource

  1. Now, I’ll come to the Resource Reconciliation section and see how I can book Alicia on the task. I’ll select the Previous Difference in order for me to see the distribution I want to book Alicia on.
    aliciaInRecon
  2. After I double click on the Hours denoted (1), I’ll see and expanded view (2)
    expandExtension
    expandedExtension
  3. Now, if I only select the below highlighted days, I’ll be booking Alicia for those hours on the 3 selected days only
    select3Days
  4. Then, I’ll click on Extend Booking
    extendBooking
  5. Once I confirm the 3 days that I see, the resource will be booked for that time
    confirmExtension
  6. And I’ll see the updated Reconciliation View after I book the resource
    extensionCleared
  7. Now, if you check the Team or the Schedule Board, you’ll be able to see that Alicia is now Booked for the selected duration
    aliciaIsBookd

Hope that was helpful!

To read more about Reconciliation View in D365 PSA v3, refer Kuldeep Gupta‘s blog post on Reconciliation View & Scheduling a Resource in PSA v3

Cheers!

Contract Invoice Schedule Status and Invoice actions in D365 PSA

Stages of Invoice Schedules are changed behind the scenes as you perform actions on the Invoice of the Contract. Let’s see what we have got here –

Let’s say I have a Fixed Price Contract Line for which I’ve generated the Invoice Schedule for spanning across a few weeks.

So, when an Invoice Schedule is Ready for Invoicing, it will be considered in the Invoice you’ll end up creating.

readyForInvoicing

Now, if you create the Invoice for that Contract (shown below)

createInvoice

The Invoice Status now changes to ‘Customer invoice created

customerInvoiceCreated

And, when you mark the Invoice as Confirm, as shown below,

confirmInvoice

The Invoice schedule record’s Invoice Status will be changed to ‘Customer invoice posted

customerInvoicePosted

Finally, even if you mark the Invoice as ‘Mark Invoice as Paid’, shown below, the Invoice Status still remain in ‘Customer invoice posted’ status –

markInvoiceAsPaid

As simple as that! 🙂

Why we see Cross Day in Work Hours on Bookable Resources/User?

Ever wondered what is Cross Day on Work Hours for a Bookable Resources in Dynamics 365 PSA or Field Service? Or even User record for that matter? And why not the actual Work Hours a resource is set to?

You expect to see this –

actualWH

But see this?

crossDay

Reasoning

So, The Bookable Resource’s time zone is GMT

bookableResource

And so is the same time zone of the logged in user i.e. GMT

gmtIsSet

In that case, you’ll see the actual time set for the user i.e. 8am to 5pm.

But, let’s say, you are in a different time zone – Sydney, for example.

sydneyTimeIsSet

And you are viewing Work Hours for a Bookable Resource who was set in some other time zone, their time conversion to your time will result in “crossing the day over” and hence, you see “Cross Day”.

crossDay

Hope this is helpful! 🙂

 

Get GA version of Dynamics 365 PSA v3 from Insider program

Hi! Dynamics 365 PSA v3 just hit v3 lately and here’s how you can get it.

  1. You’ll need to be an Insider program member to be able to subscribe to the GA program.
    Dynamics Insider Program
    insider Home Scree
  2. Look for the D365 For PSA Unified Interface Program
    psaUnified
  3. Signup Link on the details section
    signUpLink
  4. Fill out the form which asks your info about the tenant details and you can get your D365 PSA v3 GA on your tenant in a day or two.
    installV3

Hope this quick one helps you. 🙂

Clean your Schedule Board: Hide Cancelled Bookings

Most times in D365 PSA or Field Service, you schedule something and then cancel due to uncertain work patterns and frequent rescheduling or cancellations.

This leaves your Schedule Board cluttered and often look messy! Something like this –

clutteredScheduleBoard

You have on 2 Projects that you actually have to work with but see a few other cancelled bookings which is just taking space and that info is something you don’t need.

Hide away the Cancelled Bookings

Most often, you don’t really need to know what Bookings you cancelled, so you can just hide those away and make the Schedule Board look cleaner!

  1. Navigate to Scheduler Settings represented by the gear icon.
    schedulerSettingsIcon
  2. Look for Hide Canceled under View Settings area and check mark it.
    hideCancelledOption
  3. Once you mark it, the Cancelled Bookings will be hidden giving you a cleaner Schedule Board.
    cancelledHidden
  4. And now, your Schedule Books like pretty much sorted.
    cleanScheduleBoard

Hope this quick tip helps!