Class ProjectDemandMaterial
Original entity name from the Odata EDM: A_ProjectDemandMaterial_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandMaterial instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProjectDemandMaterialSelectableSelector for all available fields of ProjectDemandMaterial.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the BaseUnit field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the DocumentCurrency field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the FormattedPurRequisitionItem field to query operations.static final ProjectDemandMaterialField<BigDecimal>Use with available fluent helpers to apply the GoodsReceiptAmount field to query operations.static final ProjectDemandMaterialField<BigDecimal>Use with available fluent helpers to apply the InvoiceReceiptAmount field to query operations.static final ProjectDemandMaterialField<Boolean>Use with available fluent helpers to apply the IsPurOrderAllwdForInbDeliv field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the Material field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the MaterialGroup field to query operations.static final ProjectDemandMaterialField<BigDecimal>Use with available fluent helpers to apply the MaterialPlannedDeliveryDurn field to query operations.static final ProjectDemandMaterialField<BigDecimal>Use with available fluent helpers to apply the NetValueAmountInDocCurrency field to query operations.static final ProjectDemandMaterialField<BigDecimal>Use with available fluent helpers to apply the OrderedQuantity field to query operations.static final ProjectDemandMaterialField<UUID>Use with available fluent helpers to apply the ProjectDemandMaterialUUID field to query operations.static final ProjectDemandMaterialField<UUID>Use with available fluent helpers to apply the ProjectDemandUUID field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the PurchaseContract field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the PurchaseContractItem field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the PurchaseRequisition field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the PurchasingInfoRecord field to query operations.static final ProjectDemandMaterialField<BigDecimal>Use with available fluent helpers to apply the RequestedQuantity field to query operations.static final ProjectDemandMaterialField<LocalDateTime>Use with available fluent helpers to apply the SchedLineStscDeliveryDate field to query operations.static final ProjectDemandMaterialField<LocalDateTime>Use with available fluent helpers to apply the ScheduleLineDeliveryDate field to query operations.static final ProjectDemandMaterialField<BigDecimal>Use with available fluent helpers to apply the StillToBeDeliveredQuantity field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the StorageLocation field to query operations.static final ProjectDemandMaterialField<String>Use with available fluent helpers to apply the Supplier field to query operations.static final ProjectDemandMaterialOneToOneLink<ProjectDemandMaterialSupply>Use with available fluent helpers to apply the to_MaterialSupply navigation property to query operations.static final ProjectDemandMaterialOneToOneLink<ProjectDemand>Use with available fluent helpers to apply the to_RootTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProjectDemandMaterial(UUID projectDemandMaterialUUID, UUID projectDemandUUID, String material, String storageLocation, String materialGroup, String supplier, String purchasingInfoRecord, String purchaseContract, String purchaseContractItem, BigDecimal materialPlannedDeliveryDurn, String purchaseRequisition, String formattedPurRequisitionItem, String purchaseRequisitionItem, Boolean isPurOrderAllwdForInbDeliv, BigDecimal orderedQuantity, BigDecimal stillToBeDeliveredQuantity, BigDecimal invoiceReceiptAmount, BigDecimal requestedQuantity, BigDecimal netValueAmountInDocCurrency, String documentCurrency, LocalDateTime scheduleLineDeliveryDate, LocalDateTime schedLineStscDeliveryDate, String baseUnit, BigDecimal goodsReceiptAmount, ProjectDemand toRootTP, ProjectDemandMaterialSupply toMaterialSupply) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProjectDemandMaterialSupply entity (one to one) associated with this entity.Fetches the ProjectDemand entity (one to one) associated with this entity.static <T,DomainT>
ProjectDemandMaterialField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProjectDemandMaterialField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3protected StringConstraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Maximum length: 30Constraints: Not nullable, Precision: 21, Scale: 3Constraints: Not nullable, Precision: 21, Scale: 3Constraints: nonegetKey()Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 9Constraints: Not nullable, Precision: 3, Scale: 0io.vavr.control.Option<ProjectDemandMaterialSupply>Retrieval of associated ProjectDemandMaterialSupply entity (one to one).Retrieval of associated ProjectDemandMaterialSupply entity (one to one).Constraints: Not nullable, Precision: 25, Scale: 3Constraints: Not nullable, Precision: 13, Scale: 3(Key Field) Constraints: Not nullableConstraints: noneConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 13, Scale: 3io.vavr.control.Option<ProjectDemand>Retrieval of associated ProjectDemand entity (one to one).Retrieval of associated ProjectDemand entity (one to one).Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 14, Scale: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetDocumentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 5voidsetFormattedPurRequisitionItem(String formattedPurRequisitionItem) Constraints: Not nullable, Maximum length: 30voidsetGoodsReceiptAmount(BigDecimal goodsReceiptAmount) Constraints: Not nullable, Precision: 21, Scale: 3voidsetInvoiceReceiptAmount(BigDecimal invoiceReceiptAmount) Constraints: Not nullable, Precision: 21, Scale: 3voidsetIsPurOrderAllwdForInbDeliv(Boolean isPurOrderAllwdForInbDeliv) Constraints: nonevoidsetMaterial(String material) Constraints: Not nullable, Maximum length: 18voidsetMaterialGroup(String materialGroup) Constraints: Not nullable, Maximum length: 9voidsetMaterialPlannedDeliveryDurn(BigDecimal materialPlannedDeliveryDurn) Constraints: Not nullable, Precision: 3, Scale: 0voidOverwrites the associated ProjectDemandMaterialSupply entity for the loaded navigation property to_MaterialSupply.voidsetNetValueAmountInDocCurrency(BigDecimal netValueAmountInDocCurrency) Constraints: Not nullable, Precision: 25, Scale: 3voidsetOrderedQuantity(BigDecimal orderedQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetProjectDemandMaterialUUID(UUID projectDemandMaterialUUID) (Key Field) Constraints: Not nullablevoidsetProjectDemandUUID(UUID projectDemandUUID) Constraints: nonevoidsetPurchaseContract(String purchaseContract) Constraints: Not nullable, Maximum length: 10voidsetPurchaseContractItem(String purchaseContractItem) Constraints: Not nullable, Maximum length: 5voidsetPurchaseRequisition(String purchaseRequisition) Constraints: Not nullable, Maximum length: 10voidsetPurchaseRequisitionItem(String purchaseRequisitionItem) Constraints: Not nullable, Maximum length: 5voidsetPurchasingInfoRecord(String purchasingInfoRecord) Constraints: Not nullable, Maximum length: 10voidsetRequestedQuantity(BigDecimal requestedQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetRootTP(ProjectDemand value) Overwrites the associated ProjectDemand entity for the loaded navigation property to_RootTP.voidsetSchedLineStscDeliveryDate(LocalDateTime schedLineStscDeliveryDate) Constraints: Not nullable, Precision: 0voidsetScheduleLineDeliveryDate(LocalDateTime scheduleLineDeliveryDate) Constraints: Not nullable, Precision: 0protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStillToBeDeliveredQuantity(BigDecimal stillToBeDeliveredQuantity) Constraints: Not nullable, Precision: 14, Scale: 3voidsetStorageLocation(String storageLocation) Constraints: Not nullable, Maximum length: 4voidsetSupplier(String supplier) Constraints: Not nullable, Maximum length: 10toString()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 ProjectDemandMaterial. -
PROJECT_DEMAND_MATERIAL_UUID
Use with available fluent helpers to apply the ProjectDemandMaterialUUID field to query operations. -
PROJECT_DEMAND_UUID
Use with available fluent helpers to apply the ProjectDemandUUID field to query operations. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations. -
MATERIAL_GROUP
Use with available fluent helpers to apply the MaterialGroup field to query operations. -
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations. -
PURCHASING_INFO_RECORD
Use with available fluent helpers to apply the PurchasingInfoRecord field to query operations. -
PURCHASE_CONTRACT
Use with available fluent helpers to apply the PurchaseContract field to query operations. -
PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the PurchaseContractItem field to query operations. -
MATERIAL_PLANNED_DELIVERY_DURN
Use with available fluent helpers to apply the MaterialPlannedDeliveryDurn field to query operations. -
PURCHASE_REQUISITION
Use with available fluent helpers to apply the PurchaseRequisition field to query operations. -
FORMATTED_PUR_REQUISITION_ITEM
Use with available fluent helpers to apply the FormattedPurRequisitionItem field to query operations. -
PURCHASE_REQUISITION_ITEM
Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations. -
IS_PUR_ORDER_ALLWD_FOR_INB_DELIV
Use with available fluent helpers to apply the IsPurOrderAllwdForInbDeliv field to query operations. -
ORDERED_QUANTITY
Use with available fluent helpers to apply the OrderedQuantity field to query operations. -
STILL_TO_BE_DELIVERED_QUANTITY
Use with available fluent helpers to apply the StillToBeDeliveredQuantity field to query operations. -
INVOICE_RECEIPT_AMOUNT
Use with available fluent helpers to apply the InvoiceReceiptAmount field to query operations. -
REQUESTED_QUANTITY
Use with available fluent helpers to apply the RequestedQuantity field to query operations. -
NET_VALUE_AMOUNT_IN_DOC_CURRENCY
Use with available fluent helpers to apply the NetValueAmountInDocCurrency field to query operations. -
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations. -
SCHEDULE_LINE_DELIVERY_DATE
Use with available fluent helpers to apply the ScheduleLineDeliveryDate field to query operations. -
SCHED_LINE_STSC_DELIVERY_DATE
Use with available fluent helpers to apply the SchedLineStscDeliveryDate field to query operations. -
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations. -
GOODS_RECEIPT_AMOUNT
Use with available fluent helpers to apply the GoodsReceiptAmount field to query operations. -
TO_ROOT_TP
Use with available fluent helpers to apply the to_RootTP navigation property to query operations. -
TO_MATERIAL_SUPPLY
public static final ProjectDemandMaterialOneToOneLink<ProjectDemandMaterialSupply> TO_MATERIAL_SUPPLYUse with available fluent helpers to apply the to_MaterialSupply navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandMaterial
public ProjectDemandMaterial() -
ProjectDemandMaterial
public ProjectDemandMaterial(@Nullable UUID projectDemandMaterialUUID, @Nullable UUID projectDemandUUID, @Nullable String material, @Nullable String storageLocation, @Nullable String materialGroup, @Nullable String supplier, @Nullable String purchasingInfoRecord, @Nullable String purchaseContract, @Nullable String purchaseContractItem, @Nullable BigDecimal materialPlannedDeliveryDurn, @Nullable String purchaseRequisition, @Nullable String formattedPurRequisitionItem, @Nullable String purchaseRequisitionItem, @Nullable Boolean isPurOrderAllwdForInbDeliv, @Nullable BigDecimal orderedQuantity, @Nullable BigDecimal stillToBeDeliveredQuantity, @Nullable BigDecimal invoiceReceiptAmount, @Nullable BigDecimal requestedQuantity, @Nullable BigDecimal netValueAmountInDocCurrency, @Nullable String documentCurrency, @Nullable LocalDateTime scheduleLineDeliveryDate, @Nullable LocalDateTime schedLineStscDeliveryDate, @Nullable String baseUnit, @Nullable BigDecimal goodsReceiptAmount, @Nullable ProjectDemand toRootTP, @Nullable ProjectDemandMaterialSupply toMaterialSupply)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandMaterial>
-
setProjectDemandMaterialUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectDemandMaterialUUID
- Parameters:
projectDemandMaterialUUID- Global Identification for Material Demand
-
setProjectDemandUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandUUID
- Parameters:
projectDemandUUID- Global Identification of a Project Demand
-
setMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Parameters:
storageLocation- Storage Location
-
setMaterialGroup
Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MaterialGroup
- Parameters:
materialGroup- Material Group
-
setSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Parameters:
supplier- Desired Supplier for Project Demand
-
setPurchasingInfoRecord
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchasingInfoRecord
- Parameters:
purchasingInfoRecord- Info Record for Project Demand
-
setPurchaseContract
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseContract
- Parameters:
purchaseContract- Purchasing Document Number
-
setPurchaseContractItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseContractItem
- Parameters:
purchaseContractItem- Item Number of Purchasing Document
-
setMaterialPlannedDeliveryDurn
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: MaterialPlannedDeliveryDurn
- Parameters:
materialPlannedDeliveryDurn- Planned Delivery Time in Days
-
setPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Parameters:
purchaseRequisition- Purchase Requisition Number
-
setFormattedPurRequisitionItem
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FormattedPurRequisitionItem
- Parameters:
formattedPurRequisitionItem- Formatted Purchase Requisition Item
-
setPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Parameters:
purchaseRequisitionItem- Purchase Requisition Item Number
-
setIsPurOrderAllwdForInbDeliv
Constraints: noneOriginal property name from the Odata EDM: IsPurOrderAllwdForInbDeliv
- Parameters:
isPurOrderAllwdForInbDeliv- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
setOrderedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: OrderedQuantity
- Parameters:
orderedQuantity- The orderedQuantity to set.
-
setStillToBeDeliveredQuantity
Constraints: Not nullable, Precision: 14, Scale: 3Original property name from the Odata EDM: StillToBeDeliveredQuantity
- Parameters:
stillToBeDeliveredQuantity- The stillToBeDeliveredQuantity to set.
-
setInvoiceReceiptAmount
Constraints: Not nullable, Precision: 21, Scale: 3Original property name from the Odata EDM: InvoiceReceiptAmount
- Parameters:
invoiceReceiptAmount- The invoiceReceiptAmount to set.
-
setRequestedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: RequestedQuantity
- Parameters:
requestedQuantity- The requestedQuantity to set.
-
setNetValueAmountInDocCurrency
Constraints: Not nullable, Precision: 25, Scale: 3Original property name from the Odata EDM: NetValueAmountInDocCurrency
- Parameters:
netValueAmountInDocCurrency- The netValueAmountInDocCurrency to set.
-
setDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Parameters:
documentCurrency- Currency Key
-
setScheduleLineDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryDate
- Parameters:
scheduleLineDeliveryDate- The scheduleLineDeliveryDate to set.
-
setSchedLineStscDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedLineStscDeliveryDate
- Parameters:
schedLineStscDeliveryDate- The schedLineStscDeliveryDate to set.
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Purchase requisition unit of measure
-
setGoodsReceiptAmount
Constraints: Not nullable, Precision: 21, Scale: 3Original property name from the Odata EDM: GoodsReceiptAmount
- Parameters:
goodsReceiptAmount- The goodsReceiptAmount to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectDemandMaterial>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandMaterial>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandMaterial>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandMaterial>
-
field
@Nonnull public static <T> ProjectDemandMaterialField<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> ProjectDemandMaterialField<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<ProjectDemandMaterial>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProjectDemandMaterial>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProjectDemandMaterial>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandMaterial>
-
fetchRootTP
Fetches the ProjectDemand entity (one to one) associated with this entity. This corresponds to the OData navigation property to_RootTP.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProjectDemand 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.
-
getRootTPOrFetch
Retrieval of associated ProjectDemand entity (one to one). This corresponds to the OData navigation property to_RootTP.If the navigation property to_RootTP of a queried ProjectDemandMaterial 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 ProjectDemand 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.
-
getRootTPIfPresent
Retrieval of associated ProjectDemand entity (one to one). This corresponds to the OData navigation property to_RootTP.If the navigation property for an entity ProjectDemandMaterial 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_RootTP is already loaded, the result will contain
the ProjectDemand entity. If not, an
Optionwith result stateemptyis returned.
-
setRootTP
Overwrites the associated ProjectDemand entity for the loaded navigation property to_RootTP.- Parameters:
value- New ProjectDemand entity.
-
fetchMaterialSupply
Fetches the ProjectDemandMaterialSupply entity (one to one) associated with this entity. This corresponds to the OData navigation property to_MaterialSupply.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProjectDemandMaterialSupply 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.
-
getMaterialSupplyOrFetch
Retrieval of associated ProjectDemandMaterialSupply entity (one to one). This corresponds to the OData navigation property to_MaterialSupply.If the navigation property to_MaterialSupply of a queried ProjectDemandMaterial 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 ProjectDemandMaterialSupply 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.
-
getMaterialSupplyIfPresent
Retrieval of associated ProjectDemandMaterialSupply entity (one to one). This corresponds to the OData navigation property to_MaterialSupply.If the navigation property for an entity ProjectDemandMaterial 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_MaterialSupply is already loaded, the result will
contain the ProjectDemandMaterialSupply entity. If not, an
Optionwith result stateemptyis returned.
-
setMaterialSupply
Overwrites the associated ProjectDemandMaterialSupply entity for the loaded navigation property to_MaterialSupply.- Parameters:
value- New ProjectDemandMaterialSupply entity.
-
builder
-
getProjectDemandMaterialUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectDemandMaterialUUID
- Returns:
- Global Identification for Material Demand
-
getProjectDemandUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandUUID
- Returns:
- Global Identification of a Project Demand
-
getMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Returns:
- Storage Location
-
getMaterialGroup
Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MaterialGroup
- Returns:
- Material Group
-
getSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
- Desired Supplier for Project Demand
-
getPurchasingInfoRecord
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchasingInfoRecord
- Returns:
- Info Record for Project Demand
-
getPurchaseContract
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseContract
- Returns:
- Purchasing Document Number
-
getPurchaseContractItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseContractItem
- Returns:
- Item Number of Purchasing Document
-
getMaterialPlannedDeliveryDurn
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: MaterialPlannedDeliveryDurn
- Returns:
- Planned Delivery Time in Days
-
getPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Returns:
- Purchase Requisition Number
-
getFormattedPurRequisitionItem
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FormattedPurRequisitionItem
- Returns:
- Formatted Purchase Requisition Item
-
getPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Returns:
- Purchase Requisition Item Number
-
getIsPurOrderAllwdForInbDeliv
Constraints: noneOriginal property name from the Odata EDM: IsPurOrderAllwdForInbDeliv
- Returns:
- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
getOrderedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: OrderedQuantity
- Returns:
- The orderedQuantity contained in this entity.
-
getStillToBeDeliveredQuantity
Constraints: Not nullable, Precision: 14, Scale: 3Original property name from the Odata EDM: StillToBeDeliveredQuantity
- Returns:
- The stillToBeDeliveredQuantity contained in this entity.
-
getInvoiceReceiptAmount
Constraints: Not nullable, Precision: 21, Scale: 3Original property name from the Odata EDM: InvoiceReceiptAmount
- Returns:
- The invoiceReceiptAmount contained in this entity.
-
getRequestedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: RequestedQuantity
- Returns:
- The requestedQuantity contained in this entity.
-
getNetValueAmountInDocCurrency
Constraints: Not nullable, Precision: 25, Scale: 3Original property name from the Odata EDM: NetValueAmountInDocCurrency
- Returns:
- The netValueAmountInDocCurrency contained in this entity.
-
getDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Returns:
- Currency Key
-
getScheduleLineDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryDate
- Returns:
- The scheduleLineDeliveryDate contained in this entity.
-
getSchedLineStscDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedLineStscDeliveryDate
- Returns:
- The schedLineStscDeliveryDate contained in this entity.
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Purchase requisition unit of measure
-
getGoodsReceiptAmount
Constraints: Not nullable, Precision: 21, Scale: 3Original property name from the Odata EDM: GoodsReceiptAmount
- Returns:
- The goodsReceiptAmount contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<ProjectDemandMaterial>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandMaterial>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandMaterial>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandMaterial>
-