Extract calendar data in SQL

I am trying to do up a resource calendar availability roster using SQL.

I can extract where the resource is on several projects, but they are putting their recreational days off onto their calendar. There is one calendar per resource, and I am unable to read these values in SQL as the calendar is in a different format with numberical values that can't be read.

Does anyone have any suggestions as to other options?

We have many casual resources that are on many projects, the main issue we have is that when allocating resources to a project there is no way to tell who is available or not.

Or, are the resources in the Add Resource form 1. only active ones show, 2. only ones that don't have recreational days off, 3. only ones that are not on other projects?

HEEEEEEEEEEEEEEEEEELP

D
Dieter Wambach 👤 Member for 19 years 4 months

Hi Denise

As far as I know the calendars in P6 are binary blocks. I've heard that with the API (Application Programmers' Interface) there is a chance to read them.

A work-around which may help:

Use the report function

Add --> Select "Time distr. Data" then Resources --> Columns: Select e.g. name and id; filter by the resources you want to see --> Timescale: Select day and then the interval - by custom date - you want to study --> Time Interval Fields: Available Units --> Give a name to your report --> Run ASCII Text File --> Output will be in csv format which can be processed by Excel.

Hope this helps and good luck!

Dieter

Forum Sponsor

Top Posters

Josephus Enot
1 posts
Julian Pegg
1 posts
Peter Nagy
2 posts
Raymund de Laza
17 posts
Syed_Asad
0 posts
Tony Greyvenstein
0 posts
Ahmed Al-Jubouri
13 posts
Umar Alvi
3 posts
Sibusiso Mahlalela
0 posts
Michael Samanyayi
3 posts