Class EnterpriseProject
Original entity name from the Odata EDM: A_EnterpriseProjectType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EnterpriseProject instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnterpriseProjectSelectableSelector for all available fields of EnterpriseProject.static final EnterpriseProjectField<Boolean>Use with available fluent helpers to apply the AvailabilityControlIsActive field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the AvailabilityControlProfile field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ControllingArea field to query operations.static final EnterpriseProjectField<Boolean>Use with available fluent helpers to apply the EntProjIsMultiSlsOrdItmsEnbld field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the EnterpriseProjectType field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the FunctionalArea field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the FunctionalLocation field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the InvestmentProfile field to query operations.static final EnterpriseProjectField<Boolean>Use with available fluent helpers to apply the IsBillingRelevant field to query operations.static final EnterpriseProjectField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the Location field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the Plant field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the PriorityCode field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ProcessingStatus field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ProfitCenter field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the Project field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ProjectCurrency field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ProjectDescription field to query operations.static final EnterpriseProjectField<LocalDateTime>Use with available fluent helpers to apply the ProjectEndDate field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ProjectInternalID field to query operations.static final EnterpriseProjectField<UUID>Use with available fluent helpers to apply the ProjectManagerUUID field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ProjectProfileCode field to query operations.static final EnterpriseProjectField<LocalDateTime>Use with available fluent helpers to apply the ProjectStartDate field to query operations.static final EnterpriseProjectField<UUID>Use with available fluent helpers to apply the ProjectUUID field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the ResponsibleCostCenter field to query operations.static final EnterpriseProjectField<String>Use with available fluent helpers to apply the TaxJurisdiction field to query operations.static final EnterpriseProjectOneToOneLink<EnterpriseProjBlkFunc>Use with available fluent helpers to apply the to_EntProjBlkFunc navigation property to query operations.static final EnterpriseProjectOneToOneLink<EntProjectPublicSector>Use with available fluent helpers to apply the to_EntProjectPublicSector navigation property to query operations.static final EnterpriseProjectLink<EnterpriseProjectElement>Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseProject(UUID projectUUID, String projectInternalID, String project, String projectDescription, String enterpriseProjectType, String priorityCode, LocalDateTime projectStartDate, LocalDateTime projectEndDate, String processingStatus, String responsibleCostCenter, String profitCenter, UUID projectManagerUUID, String projectProfileCode, String functionalArea, String companyCode, String controllingArea, String plant, String location, String taxJurisdiction, String projectCurrency, String availabilityControlProfile, Boolean availabilityControlIsActive, String functionalLocation, Boolean isBillingRelevant, Boolean entProjIsMultiSlsOrdItmsEnbld, ZonedDateTime lastChangeDateTime, String investmentProfile, List<EnterpriseProjectElement> toEnterpriseProjectElement, EnterpriseProjBlkFunc toEntProjBlkFunc, EntProjectPublicSector toEntProjectPublicSector) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated EnterpriseProjectElement entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EnterpriseProjectElement entities (one to many) associated with this entity.Fetches the EnterpriseProjBlkFunc entity (one to one) associated with this entity.Fetches the EntProjectPublicSector entity (one to one) associated with this entity.static <T,DomainT>
EnterpriseProjectField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EnterpriseProjectField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: noneConstraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4protected Stringio.vavr.control.Option<List<EnterpriseProjectElement>>Retrieval of associated EnterpriseProjectElement entities (one to many).Retrieval of associated EnterpriseProjectElement entities (one to many).Constraints: Not nullable, Maximum length: 2protected Stringio.vavr.control.Option<EnterpriseProjBlkFunc>Retrieval of associated EnterpriseProjBlkFunc entity (one to one).Retrieval of associated EnterpriseProjBlkFunc entity (one to one).io.vavr.control.Option<EntProjectPublicSector>Retrieval of associated EntProjectPublicSector entity (one to one).Retrieval of associated EntProjectPublicSector entity (one to one).Constraints: noneConstraints: Not nullable, Maximum length: 16Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 6Constraints: nonegetKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 10getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 24Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 8Constraints: noneConstraints: Not nullable, Maximum length: 7Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 15getType()inthashCode()voidsetAvailabilityControlIsActive(Boolean availabilityControlIsActive) Constraints: nonevoidsetAvailabilityControlProfile(String availabilityControlProfile) Constraints: Not nullable, Maximum length: 6voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetControllingArea(String controllingArea) Constraints: Not nullable, Maximum length: 4voidOverwrites the list of associated EnterpriseProjectElement entities for the loaded navigation property to_EnterpriseProjectElement.voidsetEnterpriseProjectType(String enterpriseProjectType) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated EnterpriseProjBlkFunc entity for the loaded navigation property to_EntProjBlkFunc.voidOverwrites the associated EntProjectPublicSector entity for the loaded navigation property to_EntProjectPublicSector.voidsetEntProjIsMultiSlsOrdItmsEnbld(Boolean entProjIsMultiSlsOrdItmsEnbld) Constraints: nonevoidsetFunctionalArea(String functionalArea) Constraints: Not nullable, Maximum length: 16voidsetFunctionalLocation(String functionalLocation) Constraints: Not nullable, Maximum length: 40voidsetInvestmentProfile(String investmentProfile) Constraints: Not nullable, Maximum length: 6voidsetIsBillingRelevant(Boolean isBillingRelevant) Constraints: nonevoidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0voidsetLocation(String location) Constraints: Not nullable, Maximum length: 10voidConstraints: Not nullable, Maximum length: 4voidsetPriorityCode(String priorityCode) Constraints: Not nullable, Maximum length: 3voidsetProcessingStatus(String processingStatus) Constraints: Not nullable, Maximum length: 2voidsetProfitCenter(String profitCenter) Constraints: Not nullable, Maximum length: 10voidsetProject(String project) Constraints: Not nullable, Maximum length: 24voidsetProjectCurrency(String projectCurrency) Constraints: Not nullable, Maximum length: 5voidsetProjectDescription(String projectDescription) Constraints: Not nullable, Maximum length: 40voidsetProjectEndDate(LocalDateTime projectEndDate) Constraints: Not nullable, Precision: 0voidsetProjectInternalID(String projectInternalID) Constraints: Not nullable, Maximum length: 8voidsetProjectManagerUUID(UUID projectManagerUUID) Constraints: nonevoidsetProjectProfileCode(String projectProfileCode) Constraints: Not nullable, Maximum length: 7voidsetProjectStartDate(LocalDateTime projectStartDate) Constraints: Not nullable, Precision: 0voidsetProjectUUID(UUID projectUUID) (Key Field) Constraints: Not nullablevoidsetResponsibleCostCenter(String responsibleCostCenter) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTaxJurisdiction(String taxJurisdiction) Constraints: Not nullable, Maximum length: 15toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of EnterpriseProject. -
PROJECT_UUID
Use with available fluent helpers to apply the ProjectUUID field to query operations. -
PROJECT_INTERNAL_ID
Use with available fluent helpers to apply the ProjectInternalID field to query operations. -
PROJECT
Use with available fluent helpers to apply the Project field to query operations. -
PROJECT_DESCRIPTION
Use with available fluent helpers to apply the ProjectDescription field to query operations. -
ENTERPRISE_PROJECT_TYPE
Use with available fluent helpers to apply the EnterpriseProjectType field to query operations. -
PRIORITY_CODE
Use with available fluent helpers to apply the PriorityCode field to query operations. -
PROJECT_START_DATE
Use with available fluent helpers to apply the ProjectStartDate field to query operations. -
PROJECT_END_DATE
Use with available fluent helpers to apply the ProjectEndDate field to query operations. -
PROCESSING_STATUS
Use with available fluent helpers to apply the ProcessingStatus field to query operations. -
RESPONSIBLE_COST_CENTER
Use with available fluent helpers to apply the ResponsibleCostCenter field to query operations. -
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations. -
PROJECT_MANAGER_UUID
Use with available fluent helpers to apply the ProjectManagerUUID field to query operations. -
PROJECT_PROFILE_CODE
Use with available fluent helpers to apply the ProjectProfileCode field to query operations. -
FUNCTIONAL_AREA
Use with available fluent helpers to apply the FunctionalArea field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
LOCATION
Use with available fluent helpers to apply the Location field to query operations. -
TAX_JURISDICTION
Use with available fluent helpers to apply the TaxJurisdiction field to query operations. -
PROJECT_CURRENCY
Use with available fluent helpers to apply the ProjectCurrency field to query operations. -
AVAILABILITY_CONTROL_PROFILE
Use with available fluent helpers to apply the AvailabilityControlProfile field to query operations. -
AVAILABILITY_CONTROL_IS_ACTIVE
Use with available fluent helpers to apply the AvailabilityControlIsActive field to query operations. -
FUNCTIONAL_LOCATION
Use with available fluent helpers to apply the FunctionalLocation field to query operations. -
IS_BILLING_RELEVANT
Use with available fluent helpers to apply the IsBillingRelevant field to query operations. -
ENT_PROJ_IS_MULTI_SLS_ORD_ITMS_ENBLD
Use with available fluent helpers to apply the EntProjIsMultiSlsOrdItmsEnbld field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
INVESTMENT_PROFILE
Use with available fluent helpers to apply the InvestmentProfile field to query operations. -
TO_ENTERPRISE_PROJECT_ELEMENT
Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query operations. -
TO_ENT_PROJ_BLK_FUNC
Use with available fluent helpers to apply the to_EntProjBlkFunc navigation property to query operations. -
TO_ENT_PROJECT_PUBLIC_SECTOR
public static final EnterpriseProjectOneToOneLink<EntProjectPublicSector> TO_ENT_PROJECT_PUBLIC_SECTORUse with available fluent helpers to apply the to_EntProjectPublicSector navigation property to query operations.
-
-
Constructor Details
-
EnterpriseProject
public EnterpriseProject() -
EnterpriseProject
public EnterpriseProject(@Nullable UUID projectUUID, @Nullable String projectInternalID, @Nullable String project, @Nullable String projectDescription, @Nullable String enterpriseProjectType, @Nullable String priorityCode, @Nullable LocalDateTime projectStartDate, @Nullable LocalDateTime projectEndDate, @Nullable String processingStatus, @Nullable String responsibleCostCenter, @Nullable String profitCenter, @Nullable UUID projectManagerUUID, @Nullable String projectProfileCode, @Nullable String functionalArea, @Nullable String companyCode, @Nullable String controllingArea, @Nullable String plant, @Nullable String location, @Nullable String taxJurisdiction, @Nullable String projectCurrency, @Nullable String availabilityControlProfile, @Nullable Boolean availabilityControlIsActive, @Nullable String functionalLocation, @Nullable Boolean isBillingRelevant, @Nullable Boolean entProjIsMultiSlsOrdItmsEnbld, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String investmentProfile, List<EnterpriseProjectElement> toEnterpriseProjectElement, @Nullable EnterpriseProjBlkFunc toEntProjBlkFunc, @Nullable EntProjectPublicSector toEntProjectPublicSector)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EnterpriseProject>
-
setProjectUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectUUID
- Parameters:
projectUUID- Entity Guid
-
setProjectInternalID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjectInternalID
- Parameters:
projectInternalID- Project (internal)
-
setProject
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: Project
- Parameters:
project- Identification of Entities
-
setProjectDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDescription
- Parameters:
projectDescription- User-definable text, 40 characters long.
-
setEnterpriseProjectType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: EnterpriseProjectType
You can define the criteria for a project type.
- Parameters:
enterpriseProjectType- Key identifying a project type.
-
setPriorityCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PriorityCode
- Parameters:
priorityCode- Priority
-
setProjectStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjectStartDate
- Parameters:
projectStartDate- Latest Start
-
setProjectEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjectEndDate
- Parameters:
projectEndDate- Latest Finish
-
setProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProcessingStatus
- Parameters:
processingStatus- Object Processing Status
-
setResponsibleCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibleCostCenter
- Parameters:
responsibleCostCenter- Responsible Cost Center
-
setProfitCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Parameters:
profitCenter- Key which together with the controlling area uniquely identifies a profit center.
-
setProjectManagerUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectManagerUUID
- Parameters:
projectManagerUUID- Business Partner GUID
-
setProjectProfileCode
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ProjectProfileCode
- Parameters:
projectProfileCode- Key identifying a project profile.
-
setFunctionalArea
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: FunctionalArea
Use for Cost of Sales AccountingThe functional area is required to create a profit and loss statement in Financial Accounting using cost of sales accounting. The following are examples of structure criteria:ManufacturingAdministrationSalesResearch & DevelopmentUse for GovernmentThe functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization.Use in Cost of Sales AccountingSee the documentation on Filling the Functional Area Field.For more information about cost of sales accounting and functional areas, see the SAP Library under Financials -> Financial Accounting -> General Ledger Accounting -> Cost of Sales AccountingUse in GovernmentFor more information on functional areas, see the Implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
- Parameters:
functionalArea- Structure criterion for an enterprise or government based on functional aspects.
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- The company code is an organizational unit within financial accounting.
-
setControllingArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Parameters:
controllingArea- Controlling Area
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Key uniquely identifying a plant.
-
setLocation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Location
- Parameters:
location- Key that identifies the location. The location is subordinate entity in a plant.
-
setTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TaxJurisdiction
- Parameters:
taxJurisdiction- The tax jurisdiction is used for determining the tax rates in the USA. It defines to which tax authorities you must pay your taxes. It is always the city to which the goods are supplied.
-
setProjectCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ProjectCurrency
- Parameters:
projectCurrency- Custom Project Currency
-
setAvailabilityControlProfile
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: AvailabilityControlProfile
- Parameters:
availabilityControlProfile- The budget availability control profile brings all parameters together, which are necessary for you to actively control your budget.
-
setAvailabilityControlIsActive
Constraints: noneOriginal property name from the Odata EDM: AvailabilityControlIsActive
- Parameters:
availabilityControlIsActive- Availability control indicator(AVC)
-
setFunctionalLocation
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocation
If alternative labels exist for a functional location, you can define in your user profile which label should be displayed in this field.
- Parameters:
functionalLocation- Label that uniquely identifies a functional location.
-
setIsBillingRelevant
Constraints: noneOriginal property name from the Odata EDM: IsBillingRelevant
If you want to maintain a billing plan for a WBS element, you must set this indicator. If you have maintained a billing plan for the WBS element, you cannot change this indicator.
- Parameters:
isBillingRelevant- This indicator defines the WBS element as a billing element.
-
setEntProjIsMultiSlsOrdItmsEnbld
Constraints: noneOriginal property name from the Odata EDM: EntProjIsMultiSlsOrdItmsEnbld
- Parameters:
entProjIsMultiSlsOrdItmsEnbld- Enterprise Proj. Assigned to Multiple Sales Order Items
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Timestamp of Last Object Change
-
setInvestmentProfile
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: InvestmentProfile
Important control functions of the investment profile:Automatic creation of an asset under construction when you create an internal order or a work breakdown structure (WBS) elementAsset class for the creation of the asset under constructionAsset class for depreciation simulation
- Parameters:
investmentProfile- Investment profile
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EnterpriseProject>
-
getKey
- Overrides:
getKeyin classVdmObject<EnterpriseProject>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EnterpriseProject>
-
fromMap
- Overrides:
fromMapin classVdmObject<EnterpriseProject>
-
field
@Nonnull public static <T> EnterpriseProjectField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> EnterpriseProjectField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<EnterpriseProject>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EnterpriseProject>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EnterpriseProject>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EnterpriseProject>
-
fetchEnterpriseProjectElement
Fetches the EnterpriseProjectElement entities (one to many) associated with this entity. This corresponds to the OData navigation property to_EnterpriseProjectElement.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated EnterpriseProjectElement entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEnterpriseProjectElementOrFetch
Retrieval of associated EnterpriseProjectElement entities (one to many). This corresponds to the OData navigation property to_EnterpriseProjectElement.If the navigation property to_EnterpriseProjectElement of a queried EnterpriseProject is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated EnterpriseProjectElement entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEnterpriseProjectElementIfPresent
@Nonnull public io.vavr.control.Option<List<EnterpriseProjectElement>> getEnterpriseProjectElementIfPresent()Retrieval of associated EnterpriseProjectElement entities (one to many). This corresponds to the OData navigation property to_EnterpriseProjectElement.If the navigation property for an entity EnterpriseProject has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_EnterpriseProjectElement is already loaded, the
result will contain the EnterpriseProjectElement entities. If not, an
Optionwith result stateemptyis returned.
-
setEnterpriseProjectElement
Overwrites the list of associated EnterpriseProjectElement entities for the loaded navigation property to_EnterpriseProjectElement.If the navigation property to_EnterpriseProjectElement of a queried EnterpriseProject is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of EnterpriseProjectElement entities.
-
addEnterpriseProjectElement
Adds elements to the list of associated EnterpriseProjectElement entities. This corresponds to the OData navigation property to_EnterpriseProjectElement.If the navigation property to_EnterpriseProjectElement of a queried EnterpriseProject is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of EnterpriseProjectElement entities.
-
fetchEntProjBlkFunc
Fetches the EnterpriseProjBlkFunc entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EntProjBlkFunc.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EnterpriseProjBlkFunc entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEntProjBlkFuncOrFetch
Retrieval of associated EnterpriseProjBlkFunc entity (one to one). This corresponds to the OData navigation property to_EntProjBlkFunc.If the navigation property to_EntProjBlkFunc of a queried EnterpriseProject is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated EnterpriseProjBlkFunc entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEntProjBlkFuncIfPresent
Retrieval of associated EnterpriseProjBlkFunc entity (one to one). This corresponds to the OData navigation property to_EntProjBlkFunc.If the navigation property for an entity EnterpriseProject has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_EntProjBlkFunc is already loaded, the result will
contain the EnterpriseProjBlkFunc entity. If not, an
Optionwith result stateemptyis returned.
-
setEntProjBlkFunc
Overwrites the associated EnterpriseProjBlkFunc entity for the loaded navigation property to_EntProjBlkFunc.- Parameters:
value- New EnterpriseProjBlkFunc entity.
-
fetchEntProjectPublicSector
Fetches the EntProjectPublicSector entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EntProjectPublicSector.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EntProjectPublicSector entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEntProjectPublicSectorOrFetch
Retrieval of associated EntProjectPublicSector entity (one to one). This corresponds to the OData navigation property to_EntProjectPublicSector.If the navigation property to_EntProjectPublicSector of a queried EnterpriseProject is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated EntProjectPublicSector entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getEntProjectPublicSectorIfPresent
Retrieval of associated EntProjectPublicSector entity (one to one). This corresponds to the OData navigation property to_EntProjectPublicSector.If the navigation property for an entity EnterpriseProject has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_EntProjectPublicSector is already loaded, the result
will contain the EntProjectPublicSector entity. If not, an
Optionwith result stateemptyis returned.
-
setEntProjectPublicSector
Overwrites the associated EntProjectPublicSector entity for the loaded navigation property to_EntProjectPublicSector.- Parameters:
value- New EntProjectPublicSector entity.
-
builder
-
getProjectUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectUUID
- Returns:
- Entity Guid
-
getProjectInternalID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjectInternalID
- Returns:
- Project (internal)
-
getProject
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: Project
- Returns:
- Identification of Entities
-
getProjectDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDescription
- Returns:
- User-definable text, 40 characters long.
-
getEnterpriseProjectType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: EnterpriseProjectType
You can define the criteria for a project type.
- Returns:
- Key identifying a project type.
-
getPriorityCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PriorityCode
- Returns:
- Priority
-
getProjectStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjectStartDate
- Returns:
- Latest Start
-
getProjectEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjectEndDate
- Returns:
- Latest Finish
-
getProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProcessingStatus
- Returns:
- Object Processing Status
-
getResponsibleCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibleCostCenter
- Returns:
- Responsible Cost Center
-
getProfitCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Returns:
- Key which together with the controlling area uniquely identifies a profit center.
-
getProjectManagerUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectManagerUUID
- Returns:
- Business Partner GUID
-
getProjectProfileCode
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ProjectProfileCode
- Returns:
- Key identifying a project profile.
-
getFunctionalArea
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: FunctionalArea
Use for Cost of Sales AccountingThe functional area is required to create a profit and loss statement in Financial Accounting using cost of sales accounting. The following are examples of structure criteria:ManufacturingAdministrationSalesResearch & DevelopmentUse for GovernmentThe functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization.Use in Cost of Sales AccountingSee the documentation on Filling the Functional Area Field.For more information about cost of sales accounting and functional areas, see the SAP Library under Financials -> Financial Accounting -> General Ledger Accounting -> Cost of Sales AccountingUse in GovernmentFor more information on functional areas, see the Implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
- Returns:
- Structure criterion for an enterprise or government based on functional aspects.
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- The company code is an organizational unit within financial accounting.
-
getControllingArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Returns:
- Controlling Area
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Key uniquely identifying a plant.
-
getLocation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Location
- Returns:
- Key that identifies the location. The location is subordinate entity in a plant.
-
getTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TaxJurisdiction
- Returns:
- The tax jurisdiction is used for determining the tax rates in the USA. It defines to which tax authorities you must pay your taxes. It is always the city to which the goods are supplied.
-
getProjectCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ProjectCurrency
- Returns:
- Custom Project Currency
-
getAvailabilityControlProfile
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: AvailabilityControlProfile
- Returns:
- The budget availability control profile brings all parameters together, which are necessary for you to actively control your budget.
-
getAvailabilityControlIsActive
Constraints: noneOriginal property name from the Odata EDM: AvailabilityControlIsActive
- Returns:
- Availability control indicator(AVC)
-
getFunctionalLocation
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocation
If alternative labels exist for a functional location, you can define in your user profile which label should be displayed in this field.
- Returns:
- Label that uniquely identifies a functional location.
-
getIsBillingRelevant
Constraints: noneOriginal property name from the Odata EDM: IsBillingRelevant
If you want to maintain a billing plan for a WBS element, you must set this indicator. If you have maintained a billing plan for the WBS element, you cannot change this indicator.
- Returns:
- This indicator defines the WBS element as a billing element.
-
getEntProjIsMultiSlsOrdItmsEnbld
Constraints: noneOriginal property name from the Odata EDM: EntProjIsMultiSlsOrdItmsEnbld
- Returns:
- Enterprise Proj. Assigned to Multiple Sales Order Items
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Timestamp of Last Object Change
-
getInvestmentProfile
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: InvestmentProfile
Important control functions of the investment profile:Automatic creation of an asset under construction when you create an internal order or a work breakdown structure (WBS) elementAsset class for the creation of the asset under constructionAsset class for depreciation simulation
- Returns:
- Investment profile
-
toString
- Overrides:
toStringin classVdmObject<EnterpriseProject>
-
equals
- Overrides:
equalsin classVdmEntity<EnterpriseProject>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EnterpriseProject>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EnterpriseProject>
-