public interface CommercialProjectDetailService extends BatchService<CommercialProjectDetailServiceBatch>
The service is designed to provide all header and detail-level information about a project, and can be used as a data provider for integration with third-party tools or applications that support activities such as resource management, staffing, or time recording.
Reference: SAP API Business Hub
OData Service: | _CPD_SC_EXTERNAL_SERVICES_SRV |
API Version: | 1 |
Communication Scenario: | Commercial Project Integration (SAP_COM_0054) |
Scope Items: | Internal Project Management - Project-Based Services (1A8), Customer Project Management - Project-Based Services (J11) |
Authentication Methods: | Basic, x509 |
Business Object: | CommercialProject |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
PlanDataFluentHelper |
getAllPlanData()
Fetch multiple
PlanData entities. |
ProjectFluentHelper |
getAllProject()
Fetch multiple
Project entities. |
ProjectRoleFluentHelper |
getAllProjectRole()
Fetch multiple
ProjectRole entities. |
StaffingDataFluentHelper |
getAllStaffingData()
Fetch multiple
StaffingData entities. |
WorkItemFluentHelper |
getAllWorkItem()
Fetch multiple
WorkItem entities. |
WorkpackageFluentHelper |
getAllWorkpackage()
Fetch multiple
Workpackage entities. |
WorkPackageFunctionFluentHelper |
getAllWorkPackageFunction()
Fetch multiple
WorkPackageFunction entities. |
PlanDataByKeyFluentHelper |
getPlanDataByKey(String projectID,
String resType,
String workPackageID,
String resourceId,
String version,
String employee,
String confirmed,
String workitemId,
String delvryServOrg)
Fetch a single
PlanData entity using key fields. |
ProjectByKeyFluentHelper |
getProjectByKey(String projectID)
Fetch a single
Project entity using key fields. |
ProjectRoleByKeyFluentHelper |
getProjectRoleByKey(String projectID,
String projectRoleID)
Fetch a single
ProjectRole entity using key fields. |
StaffingDataByKeyFluentHelper |
getStaffingDataByKey(String projectID,
String workPackageID,
String resType,
String resourceId,
String workitemId)
Fetch a single
StaffingData entity using key fields. |
WorkItemByKeyFluentHelper |
getWorkItemByKey(String workitem,
String workpackageID)
Fetch a single
WorkItem entity using key fields. |
WorkpackageByKeyFluentHelper |
getWorkpackageByKey(String workPackageID)
Fetch a single
Workpackage entity using key fields. |
WorkPackageFunctionByKeyFluentHelper |
getWorkPackageFunctionByKey(String projectID,
String workPackageID,
String workPackageFunctionId)
Fetch a single
WorkPackageFunction entity using key fields. |
CommercialProjectDetailService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CommercialProjectDetailService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ProjectFluentHelper getAllProject()
Project
entities.@Nonnull ProjectByKeyFluentHelper getProjectByKey(String projectID)
Project
entity using key fields.projectID
- Identifies a customer or internal project.
Constraints: Not nullable, Maximum length: 40
Project
entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull WorkpackageFluentHelper getAllWorkpackage()
Workpackage
entities.Workpackage
entities. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull WorkpackageByKeyFluentHelper getWorkpackageByKey(String workPackageID)
Workpackage
entity using key fields.workPackageID
- Plan Item
Constraints: Not nullable, Maximum length: 50
Workpackage
entity using key fields. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlanDataFluentHelper getAllPlanData()
PlanData
entities.@Nonnull PlanDataByKeyFluentHelper getPlanDataByKey(String projectID, String resType, String workPackageID, String resourceId, String version, String employee, String confirmed, String workitemId, String delvryServOrg)
PlanData
entity using key fields.workitemId
- Work Item ID
Constraints: Not nullable, Maximum length: 10
delvryServOrg
- This field links master project data with the company code and plant.
Constraints: Not nullable, Maximum length: 5
resourceId
- Used to uniquely identify a resource.
Constraints: Not nullable, Maximum length: 40
workPackageID
- Plan Item
Constraints: Not nullable, Maximum length: 50
resType
- Used to uniquely identify the resource type.
Constraints: Not nullable, Maximum length: 4
employee
- Contains a unique eight-digit numerical code that represents a specific object (for example, an
organizational unit, qualification or business event).
Constraints: Not nullable, Maximum length: 8
projectID
- Identifies a customer or internal project.
Constraints: Not nullable, Maximum length: 40
version
- A plan version is used to create different types of project estimates. Each version is associated with
different version types that categorize versions into quote, baseline, current, and forecast.
Constraints: Not nullable, Maximum length: 28
confirmed
- Confirmation of staffed Employee
Constraints: Not nullable, Maximum length: 1
PlanData
entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull WorkItemFluentHelper getAllWorkItem()
WorkItem
entities.@Nonnull WorkItemByKeyFluentHelper getWorkItemByKey(String workitem, String workpackageID)
WorkItem
entity using key fields.workpackageID
- Plan Item
Constraints: Not nullable, Maximum length: 50
workitem
- Work Item ID
Constraints: Not nullable, Maximum length: 10
WorkItem
entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProjectRoleFluentHelper getAllProjectRole()
ProjectRole
entities.ProjectRole
entities. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProjectRoleByKeyFluentHelper getProjectRoleByKey(String projectID, String projectRoleID)
ProjectRole
entity using key fields.projectID
- Identifies a customer or internal project.
Constraints: Not nullable, Maximum length: 40
projectRoleID
- Uniquely identifies a role type for assignment to a customer or internal project.
Constraints: Not nullable, Maximum length: 15
ProjectRole
entity using key fields. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull StaffingDataFluentHelper getAllStaffingData()
StaffingData
entities.StaffingData
entities. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull StaffingDataByKeyFluentHelper getStaffingDataByKey(String projectID, String workPackageID, String resType, String resourceId, String workitemId)
StaffingData
entity using key fields.workitemId
- Work Item ID
Constraints: Not nullable, Maximum length: 10
resourceId
- Used to uniquely identify a resource.
Constraints: Not nullable, Maximum length: 40
workPackageID
- Plan Item
Constraints: Not nullable, Maximum length: 50
resType
- Used to uniquely identify the resource type.
Constraints: Not nullable, Maximum length: 4
projectID
- Identifies a customer or internal project.
Constraints: Not nullable, Maximum length: 40
StaffingData
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull WorkPackageFunctionFluentHelper getAllWorkPackageFunction()
WorkPackageFunction
entities.WorkPackageFunction
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull WorkPackageFunctionByKeyFluentHelper getWorkPackageFunctionByKey(String projectID, String workPackageID, String workPackageFunctionId)
WorkPackageFunction
entity using key fields.workPackageID
- Plan Item
Constraints: Not nullable, Maximum length: 50
workPackageFunctionId
- Identifies the possible ways in which cost can be posted to a work package.
Constraints: Not nullable, Maximum length: 4
projectID
- Identifies a customer or internal project.
Constraints: Not nullable, Maximum length: 40
WorkPackageFunction
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.