PwsResourceHistoryRecord

Overview


This structure represents a collection of historically tracked resource attributes. Many of the attributes that Projector tracks about resources are historically tracked. That is, Not only does Projector know what the current value of the attribute is, but it has records of what the value was at any given point in time. For example, Projector knows what a resource title is now, but also what the title was last week, last month, last year,. etc, and exactly when the title changes occurred. This allows Projector to accurately apply proper billing and RDC rates, etc. over the course of a project.

Format


PwsResourceHistoryRecord

Elements


Element

Data Type

Description


ActualHolidaysFlag

Boolean

If set to 'true', holidays are added to the resource's actuals and are blocked off in future scheduling.

true

AllowApproveOwnTimecardsFlag

Boolean

If set to 'true', the resource has permission to approve his/her own time cards.

true

BillableFlag

Boolean

If set to 'true', the resource's time can be billable to the client.

true

CostCenterIdentity

PwsCostCenterRef

The resource's cost center.


ExpenseReportVendorIdentity

PwsVendorRef

Expense reports associated with this resource will be directly paid to this vendor (if specified).


InactiveFlag

Boolean

If set to 'true', this resource is marked as inactive. If is part of PwsSaveResource to create a new resource, this flag cannot be null.

false

LocationIdentity

PwsLocationRef

The resource's location. If is part of PwsSaveResource to create a new resource, this flag cannot be null.


MissingTimeEmailFlag

Boolean

If set to 'true', e-mails will be sent to the resource when he/she fails to enter time for previous weeks/days.

true

PayCategory

String (1)

The pay category for this resource: "S" = Salaried, "H" = Hourly, "O" = Salaried with overtime.

S

RdcException

PwsResourceRdcException

The resource's RDC rate if it is overridden from the default (set by the resource's cost center).


ResourceTypeIdentity

PwsResourceTypeRef

The resource's resource type.


ScheduledHolidaysFlag

Boolean

If set to 'true', this resource has scheduled holidays.

true

SubcontractorInvoiceVendorIdentity

PwsVendorRef

If this resource is a subcontractor, this is the vendor his/her invoices are payable to.


TemporaryWorkerFlag

Boolean

If set to 'true', this resource is defined as a temporary worker.

false

TimeAndCostGlccOverride

String (159)

The time and cost general ledger cost center if it differs from the default.


TitleIdentity

PwsTitleRef

This resource's title. If is part of PwsSaveResource to create a new resource, this flag cannot be null.


TrackMissingTimeFlag

Boolean

If set to 'true', missing time will be tracked for this resource.

true

WorkingScheduleOverrides

PwsResourceWorkingScheduleDay [0..7]

The resource's working schedule if it differs from the default (set by location).


Usage Example(s)


Example 01
                         <b:Record>
                           <b:ActualHolidaysFlag>true</b:ActualHolidaysFlag>
                           <b:AllowApproveOwnTimecardsFlag>true</b:AllowApproveOwnTimecardsFlag>
                           <b:BillableFlag>true</b:BillableFlag>
                           <b:CostCenterIdentity>
                              <b:CostCenterId i:nil="true"/>
                              <b:CostCenterName>Executive Team (USA)</b:CostCenterName>
                              <b:CostCenterNumber>Executive Team (USA)</b:CostCenterNumber>
                              <b:CostCenterUid>1152921504606867363</b:CostCenterUid>
                           </b:CostCenterIdentity>
                           <b:ExpenseReportVendorIdentity i:nil="true"/>
                           <b:InactiveFlag>false</b:InactiveFlag>
                           <b:LocationIdentity>
                              <b:LocationId i:nil="true"/>
                              <b:LocationName>USA</b:LocationName>
                              <b:LocationUid>1152921504606855985</b:LocationUid>
                           </b:LocationIdentity>
                           <b:MissingTimeEmailFlag>true</b:MissingTimeEmailFlag>
                           <b:PayCategory>S</b:PayCategory>
                           <b:RdcException i:nil="true"/>
                           <b:ResourceTypeIdentity>
                              <b:ResourceTypeCode>FTE</b:ResourceTypeCode>
                              <b:ResourceTypeId i:nil="true"/>
                              <b:ResourceTypeName>Full Time Employee</b:ResourceTypeName>
                              <b:ResourceTypeUid>1152921504606847348</b:ResourceTypeUid>
                           </b:ResourceTypeIdentity>
                           <b:ScheduledHolidaysFlag>true</b:ScheduledHolidaysFlag>
                           <b:SubcontractorInvoiceVendorIdentity i:nil="true"/>
                           <b:TemporaryWorkerFlag>false</b:TemporaryWorkerFlag>
                           <b:TimeAndCostGlccOverride i:nil="true"/>
                           <b:TitleIdentity>
                              <b:DepartmentIdentity>
                                 <b:DepartmentId i:nil="true"/>
                                 <b:DepartmentName>Executive Team</b:DepartmentName>
                                 <b:DepartmentUid>1152921504606854181</b:DepartmentUid>
                              </b:DepartmentIdentity>
                              <b:TitleId i:nil="true"/>
                              <b:TitleName>Level 1</b:TitleName>
                              <b:TitleUid>1152921504606875471</b:TitleUid>
                           </b:TitleIdentity>
                           <b:TrackMissingTimeFlag>true</b:TrackMissingTimeFlag>
                           <b:WorkingScheduleOverrides/>
                        </b:Record>