Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "WorkPackageSet" of service "CPD.SC_PROJ_ENGMT_CREATE_UPD_SRV". This service is part of the following communication scenarios: Commercial Project Integration (SAP_COM_0054). See https://api.sap.com/api/SC_PROJ_ENGMT_CREATE_UPD_SRV for more information.

Hierarchy

  • any
    • WorkPackageSet

Implements

Index

Properties

demandSet

demandSet: DemandSet[]

One-to-many navigation property to the DemandSet entity.

description

description: string

Work Package Desc.

nullable

projectId

projectId: string

Commercial Project ID. Identifies a master project. Maximum length: 40.

unitId

unitId: string

Resource ID. Used to uniquely identify a resource. Resources correspond to individual entities in a project. You can assign multiple cost elements and activity types to each resource. Maximum length: 40.

unitQuantity

unitQuantity: BigNumber

Total Quantity. Total quantity per period.

unitUom

unitUom: string

Unit of Measure. Unit, in which the corresponding quantity is measured. Maximum length: 3.

workItemSet

workItemSet: WorkItemSet[]

One-to-many navigation property to the WorkItemSet entity.

workPackageId

workPackageId: string

Plan Item. Maximum length: 50.

workPackageName

workPackageName: string

Plan Item Description. Maximum length: 60.

workPackageType

workPackageType: string

Work Package Type. Indicates the type of service planned in a work package. You can use the following values to indicate the type of service planned in the work package:' ' - Time based servicesU - Unit based services. Maximum length: 1.

wpEndDate

wpEndDate: Moment

End Date. Raw Text Provides the planning horizon. By default, the dates are taken from the assigned master project.

nullable

wpStartDate

wpStartDate: Moment

Start Date. Raw Text Provides the planning horizon. By default, the dates are taken from the assigned master project.

nullable

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', WorkPackageSet)

All fields selector.

Static DEMAND_SET

DEMAND_SET: Link<WorkPackageSet, DemandSet> = new Link('DemandSet', WorkPackageSet, DemandSet)

Static representation of the one-to-many navigation property demandSet for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static DESCRIPTION

DESCRIPTION: StringField<WorkPackageSet> = new StringField('Description', WorkPackageSet, 'Edm.String')

Static representation of the description property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PROJECT_ID

PROJECT_ID: StringField<WorkPackageSet> = new StringField('ProjectID', WorkPackageSet, 'Edm.String')

Static representation of the projectId property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static UNIT_ID

UNIT_ID: StringField<WorkPackageSet> = new StringField('UnitId', WorkPackageSet, 'Edm.String')

Static representation of the unitId property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static UNIT_QUANTITY

UNIT_QUANTITY: BigNumberField<WorkPackageSet> = new BigNumberField('UnitQuantity', WorkPackageSet, 'Edm.Decimal')

Static representation of the unitQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static UNIT_UOM

UNIT_UOM: StringField<WorkPackageSet> = new StringField('UnitUom', WorkPackageSet, 'Edm.String')

Static representation of the unitUom property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WORK_ITEM_SET

WORK_ITEM_SET: Link<WorkPackageSet, WorkItemSet> = new Link('WorkItemSet', WorkPackageSet, WorkItemSet)

Static representation of the one-to-many navigation property workItemSet for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WORK_PACKAGE_ID

WORK_PACKAGE_ID: StringField<WorkPackageSet> = new StringField('WorkPackageID', WorkPackageSet, 'Edm.String')

Static representation of the workPackageId property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WORK_PACKAGE_NAME

WORK_PACKAGE_NAME: StringField<WorkPackageSet> = new StringField('WorkPackageName', WorkPackageSet, 'Edm.String')

Static representation of the workPackageName property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WORK_PACKAGE_TYPE

WORK_PACKAGE_TYPE: StringField<WorkPackageSet> = new StringField('WorkPackageType', WorkPackageSet, 'Edm.String')

Static representation of the workPackageType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WP_END_DATE

WP_END_DATE: DateField<WorkPackageSet> = new DateField('WPEndDate', WorkPackageSet, 'Edm.DateTime')

Static representation of the wpEndDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WP_START_DATE

WP_START_DATE: DateField<WorkPackageSet> = new DateField('WPStartDate', WorkPackageSet, 'Edm.DateTime')

Static representation of the wpStartDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [WorkPackageSet.UNIT_ID,WorkPackageSet.UNIT_UOM,WorkPackageSet.UNIT_QUANTITY,WorkPackageSet.WORK_PACKAGE_TYPE,WorkPackageSet.PROJECT_ID,WorkPackageSet.DESCRIPTION,WorkPackageSet.WORK_PACKAGE_ID,WorkPackageSet.WORK_PACKAGE_NAME,WorkPackageSet.WP_START_DATE,WorkPackageSet.WP_END_DATE,WorkPackageSet.DEMAND_SET,WorkPackageSet.WORK_ITEM_SET]

All fields of the WorkPackageSet entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/cpd/SC_PROJ_ENGMT_CREATE_UPD_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "WorkPackageSet"

Technical entity name for WorkPackageSet.

Static _keyFields

_keyFields: Array<Selectable<WorkPackageSet>> = [WorkPackageSet.PROJECT_ID, WorkPackageSet.WORK_PACKAGE_ID, WorkPackageSet.WORK_PACKAGE_NAME]

All key fields of the WorkPackageSet entity.

Static _keys

_keys: any = WorkPackageSet._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property WorkPackageSet.

Static _serviceName

_serviceName: string = "CPD.SC_PROJ_ENGMT_CREATE_UPD_SRV"

Technical service name for WorkPackageSet.

Methods

Static builder

  • Returns an entity builder to construct instances WorkPackageSet.

    Returns EntityBuilderType<WorkPackageSet, WorkPackageSetType>

    A builder that constructs instances of entity type WorkPackageSet.

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity WorkPackageSet.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<WorkPackageSet>

    A builder that constructs instances of entity type WorkPackageSet.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the WorkPackageSet entity type.

    Returns WorkPackageSetRequestBuilder

    A WorkPackageSet request builder.