Projects.ProjectTaskResources Entity
Namespace: Projects
Contains the resources, required by the project tasks. Entity: Prj_Project_Task_Resources
Default Visualization
Default Display Text Format:
{ProjectTask.TaskName}
Default Search Members:
ProjectTask.TaskName
Name Data Member:
ProjectTask.TaskName
Category: Definitions
Show in UI: CannotBeShown
Aggregate
An aggregate is a cluster of domain objects that can be treated as a single unit.
Aggregate Parent:
Projects.ProjectTasks
Aggregate Root:
Projects.ProjectTasks
Attributes
Name | Type | Description |
---|---|---|
BillingPricePerHour | decimal (12, 5) nullable | When not null, specifies the price per hour (in the currency of the Project) of resource usage which will be used for billing. null means that the item will be billed in another way. This way of billing is mutually exclusive with Fixed Total Price. Filter(eq) |
BillingTotalAmount | decimal (14, 2) nullable | When not null, specifies that this item will be billed for the specified fixed total price (in the currency of the Project). null means that this item will be billed in another way. This way of billing is mutually exclusive with Billing Price Per Hour. Filter(eq) |
CostPerHour | decimal (12, 5) | Cost per hour for the resource usage for this task (in the currency of the project). Required Default(0) Filter(eq) |
DisplayText | string | Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object. |
Id | guid | |
Notes | string (254) nullable | Notes for this ProjectTaskResource. |
ObjectVersion | int32 | The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking. |
PerUseCost | Amount (14, 2) nullable | One time cost for each resource usage, specified in the projects currency. Currency: ProjectTask.Project.BudgetingCurrency |
ResourceUsageHours | decimal (10, 2) | The total number of resource-hours, which are planned for this task. Equals to the length of the task, multiplied by the resource usage. Required Default(0) Filter(eq) |
ResourceUsagePercent | decimal (18, 4) | The planned resource usage for this activity in percents. Values of more than 100% are allowed when more than 1 resource is required. Required Default(1) Filter(eq) |
TaskTotalCost | decimal (14, 2) | Total cost for this task (in the currency of the project). Required Default(0) Filter(eq) |
References
Name | Type | Description |
---|---|---|
ProjectTask | ProjectTasks | The task for which the resource is planned. Required Filter(multi eq) Owner |
Resource | Resources | The planned resource. Required Filter(multi eq) |
ResourceInstance | ResourceInstances (nullable) | The concrete resource instance, which should be used. null when no specific resource instance is required. Filter(multi eq) |
Attribute Details
BillingPricePerHour
When not null, specifies the price per hour (in the currency of the Project) of resource usage which will be used for billing. null means that the item will be billed in another way. This way of billing is mutually exclusive with Fixed Total Price. Filter(eq)
Type: decimal (12, 5) nullable
Category: System
Supported Filters: Equals
Supports Order By: False
Show in UI: ShownByDefault
Front-End Recalc Expressions:
IIF( ( ( obj.BillingTotalAmount != null) AndAlso ( obj.BillingPricePerHour != null)), null, obj.BillingPricePerHour)
BillingTotalAmount
When not null, specifies that this item will be billed for the specified fixed total price (in the currency of the Project). null means that this item will be billed in another way. This way of billing is mutually exclusive with Billing Price Per Hour. Filter(eq)
Type: decimal (14, 2) nullable
Category: System
Supported Filters: Equals
Supports Order By: False
Show in UI: ShownByDefault
Front-End Recalc Expressions:
IIF( ( ( obj.BillingTotalAmount != null) AndAlso ( obj.BillingPricePerHour != null)), null, obj.BillingTotalAmount)
CostPerHour
Cost per hour for the resource usage for this task (in the currency of the project). Required
Default(0)
Filter(eq)
Type: decimal (12, 5)
Category: System
Supported Filters: Equals
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault
Front-End Recalc Expressions:
IIF( ( ( obj.PerUseCost != null) AndAlso ( obj.ResourceUsageHours != 0)), ( ( obj.TaskTotalCost - obj.PerUseCost.Value) / obj.ResourceUsageHours), obj.CostPerHour)
DisplayText
Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
Type: string
Category: Calculated Attributes
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault
Id
Type: guid
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Default Value: NewGuid
Show in UI: CannotBeShown
Notes
Notes for this ProjectTaskResource.
Type: string (254) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 254
Show in UI: ShownByDefault
ObjectVersion
The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking.
Type: int32
Category: Extensible Data Object
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault
PerUseCost
One time cost for each resource usage, specified in the projects currency. Currency: ProjectTask.Project.BudgetingCurrency
Type: Amount (14, 2) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault
ResourceUsageHours
The total number of resource-hours, which are planned for this task. Equals to the length of the task, multiplied by the resource usage. Required
Default(0)
Filter(eq)
Type: decimal (10, 2)
Category: System
Supported Filters: Equals
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault
Front-End Recalc Expressions:
IIF( ( obj.ProjectTask != null), ( obj.ProjectTask.PlannedDurationHours * obj.ResourceUsagePercent), obj.ResourceUsageHours)
ResourceUsagePercent
The planned resource usage for this activity in percents. Values of more than 100% are allowed when more than 1 resource is required. Required
Default(1)
Filter(eq)
Type: decimal (18, 4)
Category: System
Supported Filters: Equals
Supports Order By: False
Default Value: 1
Show in UI: ShownByDefault
Front-End Recalc Expressions:
IIF( ( obj.ProjectTask.PlannedDurationHours == 0), 0, ( obj.ResourceUsageHours / obj.ProjectTask.PlannedDurationHours))
TaskTotalCost
Total cost for this task (in the currency of the project). Required
Default(0)
Filter(eq)
Type: decimal (14, 2)
Category: System
Supported Filters: Equals
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault
Back-End Default Expression:
( ( obj.ResourceUsageHours * obj.CostPerHour) + obj.PerUseCost.Value)
Front-End Recalc Expressions:
IIF( ( obj.PerUseCost != null), ( ( obj.ResourceUsageHours * obj.CostPerHour) + obj.PerUseCost.Value), obj.TaskTotalCost)
Reference Details
ProjectTask
The task for which the resource is planned. Required
Filter(multi eq)
Owner
Type: ProjectTasks
Category: System
Supported Filters: Equals, EqualsIn
Filterable Reference: True
Show in UI: ShownByDefault
Resource
The planned resource. Required
Filter(multi eq)
Type: Resources
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
ResourceInstance
The concrete resource instance, which should be used. null when no specific resource instance is required. Filter(multi eq)
Type: ResourceInstances (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
API Methods
Methods that can be invoked in public APIs.
GetAllowedCustomPropertyValues
Gets the allowed values for the specified custom property for this entity object. If supported the result is ordered by property value. Some property value sources do not support ordering - in that case the result is not ordered.
Return Type: Collection Of CustomPropertyValue
Declaring Type: EntityObject
Domain API Request: GET
Parameters
customPropertyCode
The code of the custom property
Type: stringsearch
The search text - searches by value or description. Can contain wildcard character %.
Type: string
Optional: True
Default Value: nullexactMatch
If true the search text should be equal to the property value
Type: boolean
Optional: True
Default Value: FalseorderByDescription
If true the result is ordered by Description instead of Value. Note that ordering is not always possible.
Type: boolean
Optional: True
Default Value: Falsetop
The top clause - default is 10
Type: int32
Optional: True
Default Value: 10skip
The skip clause - default is 0
Type: int32
Optional: True
Default Value: 0
CreateNotification
Creates a notification and sends a real time event to the user.
Return Type: void
Declaring Type: EntityObject
Domain API Request: POST
Parameters
user
The user.
Type: UsersnotificationClass
The notification class.
Type: stringsubject
The subject.
Type: string
CreateCopy
Duplicates the object and its child objects belonging to the same aggregate. The duplicated objects are not saved to the data source but remain in the same transaction as the original object.
Return Type: EntityObject
Declaring Type: EntityObject
Domain API Request: POST
Business Rules
None
Front-End Business Rules
- R31398-11 Project Task Resource- Copy Values From Cost Rates
- R31398-12 Project Task Resource- Add Task Participant
API
Domain API Query: https://demodb.my.erp.net/api/domain/odata/Projects_ProjectTaskResources?$top=10
Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Projects_ProjectTaskResources?$top=10