public class ProductPlant extends VdmEntity<ProductPlant>
Original entity name from the Odata EDM: A_ProductPlantType
Modifier and Type | Class and Description |
---|---|
static class |
ProductPlant.ProductPlantBuilder
Helper class to allow for fluent creation of ProductPlant instances.
|
Modifier and Type | Field and Description |
---|---|
static ProductPlantField<String> |
ABC_INDICATOR
Use with available fluent helpers to apply the ABCIndicator field to query operations.
|
static ProductPlantSelectable |
ALL_FIELDS
Selector for all available fields of ProductPlant.
|
static ProductPlantField<String> |
AVAILABILITY_CHECK_TYPE
Use with available fluent helpers to apply the AvailabilityCheckType field to query operations.
|
static ProductPlantField<String> |
COMMODITY
Use with available fluent helpers to apply the Commodity field to query operations.
|
static ProductPlantField<String> |
CONSUMPTION_TAX_CTRL_CODE
Use with available fluent helpers to apply the ConsumptionTaxCtrlCode field to query operations.
|
static ProductPlantField<String> |
COUNTRY_OF_ORIGIN
Use with available fluent helpers to apply the CountryOfOrigin field to query operations.
|
static ProductPlantField<String> |
FISCAL_MONTH_CURRENT_PERIOD
Use with available fluent helpers to apply the FiscalMonthCurrentPeriod field to query operations.
|
static ProductPlantField<String> |
FISCAL_YEAR_CURRENT_PERIOD
Use with available fluent helpers to apply the FiscalYearCurrentPeriod field to query operations.
|
static ProductPlantField<String> |
FISCAL_YEAR_VARIANT
Use with available fluent helpers to apply the FiscalYearVariant field to query operations.
|
static ProductPlantField<BigDecimal> |
FIXED_LOT_SIZE_QUANTITY
Use with available fluent helpers to apply the FixedLotSizeQuantity field to query operations.
|
static ProductPlantField<BigDecimal> |
GOODS_RECEIPT_BLOCKED_STOCK_QTY
Use with available fluent helpers to apply the GoodsReceiptBlockedStockQty field to query operations.
|
static ProductPlantField<BigDecimal> |
GOODS_RECEIPT_DURATION
Use with available fluent helpers to apply the GoodsReceiptDuration field to query operations.
|
static ProductPlantField<String> |
HAS_CONSIGNMENT_CTRL
Use with available fluent helpers to apply the HasConsignmentCtrl field to query operations.
|
static ProductPlantField<Boolean> |
HAS_POST_TO_INSPECTION_STOCK
Use with available fluent helpers to apply the HasPostToInspectionStock field to query operations.
|
static ProductPlantField<Boolean> |
IS_BATCH_MANAGEMENT_REQUIRED
Use with available fluent helpers to apply the IsBatchManagementRequired field to query operations.
|
static ProductPlantField<Boolean> |
IS_CO_PRODUCT
Use with available fluent helpers to apply the IsCoProduct field to query operations.
|
static ProductPlantField<Boolean> |
IS_INTERNAL_BATCH_MANAGED
Use with available fluent helpers to apply the IsInternalBatchManaged field to query operations.
|
static ProductPlantField<Boolean> |
IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.
|
static ProductPlantField<Boolean> |
IS_NEGATIVE_STOCK_ALLOWED
Use with available fluent helpers to apply the IsNegativeStockAllowed field to query operations.
|
static ProductPlantField<String> |
MAINTENANCE_STATUS_NAME
Use with available fluent helpers to apply the MaintenanceStatusName field to query operations.
|
static ProductPlantField<BigDecimal> |
MAXIMUM_LOT_SIZE_QUANTITY
Use with available fluent helpers to apply the MaximumLotSizeQuantity field to query operations.
|
static ProductPlantField<BigDecimal> |
MINIMUM_LOT_SIZE_QUANTITY
Use with available fluent helpers to apply the MinimumLotSizeQuantity field to query operations.
|
static ProductPlantField<String> |
MRP_RESPONSIBLE
Use with available fluent helpers to apply the MRPResponsible field to query operations.
|
static ProductPlantField<String> |
MRP_TYPE
Use with available fluent helpers to apply the MRPType field to query operations.
|
static ProductPlantField<String> |
PERIOD_TYPE
Use with available fluent helpers to apply the PeriodType field to query operations.
|
static ProductPlantField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductPlantField<String> |
PROCUREMENT_TYPE
Use with available fluent helpers to apply the ProcurementType field to query operations.
|
static ProductPlantField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductPlantField<String> |
PRODUCT_CFOP_CATEGORY
Use with available fluent helpers to apply the ProductCFOPCategory field to query operations.
|
static ProductPlantField<String> |
PRODUCT_IS_CONFIGURABLE
Use with available fluent helpers to apply the ProductIsConfigurable field to query operations.
|
static ProductPlantField<String> |
PRODUCTION_INVTRY_MANAGED_LOC
Use with available fluent helpers to apply the ProductionInvtryManagedLoc field to query operations.
|
static ProductPlantField<String> |
PROFILE_CODE
Use with available fluent helpers to apply the ProfileCode field to query operations.
|
static ProductPlantField<LocalDateTime> |
PROFILE_VALIDITY_START_DATE
Use with available fluent helpers to apply the ProfileValidityStartDate field to query operations.
|
static ProductPlantField<String> |
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations.
|
static ProductPlantField<String> |
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations.
|
static ProductPlantField<String> |
REGION_OF_ORIGIN
Use with available fluent helpers to apply the RegionOfOrigin field to query operations.
|
static ProductPlantField<String> |
SERIAL_NUMBER_PROFILE
Use with available fluent helpers to apply the SerialNumberProfile field to query operations.
|
static ProductPlantField<String> |
STOCK_DETERMINATION_GROUP
Use with available fluent helpers to apply the StockDeterminationGroup field to query operations.
|
static ProductPlantField<BigDecimal> |
STOCK_IN_TRANSFER_QUANTITY
Use with available fluent helpers to apply the StockInTransferQuantity field to query operations.
|
static ProductPlantField<BigDecimal> |
STOCK_IN_TRANSIT_QUANTITY
Use with available fluent helpers to apply the StockInTransitQuantity field to query operations.
|
static ProductPlantLink<ProductStorageLocation> |
TO_STORAGE_LOCATION
Use with available fluent helpers to apply the to_StorageLocation navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductPlant() |
ProductPlant(String product,
String fiscalYearVariant,
String periodType,
String profitCenter,
String commodity,
BigDecimal goodsReceiptDuration,
String maintenanceStatusName,
Boolean isMarkedForDeletion,
String mRPType,
String mRPResponsible,
String aBCIndicator,
String plant,
BigDecimal minimumLotSizeQuantity,
BigDecimal maximumLotSizeQuantity,
BigDecimal fixedLotSizeQuantity,
String consumptionTaxCtrlCode,
Boolean isCoProduct,
String productIsConfigurable,
String stockDeterminationGroup,
BigDecimal stockInTransferQuantity,
BigDecimal stockInTransitQuantity,
Boolean hasPostToInspectionStock,
String purchasingGroup,
Boolean isBatchManagementRequired,
String serialNumberProfile,
Boolean isNegativeStockAllowed,
BigDecimal goodsReceiptBlockedStockQty,
String hasConsignmentCtrl,
String fiscalYearCurrentPeriod,
String fiscalMonthCurrentPeriod,
String procurementType,
Boolean isInternalBatchManaged,
String productCFOPCategory,
String countryOfOrigin,
String regionOfOrigin,
String productionInvtryManagedLoc,
String profileCode,
LocalDateTime profileValidityStartDate,
String availabilityCheckType,
List<ProductStorageLocation> toStorageLocation) |
Modifier and Type | Method and Description |
---|---|
void |
addStorageLocation(ProductStorageLocation... entity)
Adds elements to the list of associated ProductStorageLocation entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static ProductPlant.ProductPlantBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ProductStorageLocation> |
fetchStorageLocation()
Fetches the ProductStorageLocation entities (one to many) associated with this entity.
|
static <T> ProductPlantField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getABCIndicator()
Constraints: Not nullable, Maximum length: 1
|
String |
getAvailabilityCheckType()
Constraints: Not nullable, Maximum length: 2
|
String |
getCommodity()
Constraints: Not nullable, Maximum length: 17
|
String |
getConsumptionTaxCtrlCode()
Constraints: Not nullable, Maximum length: 16
|
String |
getCountryOfOrigin()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getFiscalMonthCurrentPeriod()
Constraints: Not nullable, Maximum length: 2
|
String |
getFiscalYearCurrentPeriod()
Constraints: Not nullable, Maximum length: 4
|
String |
getFiscalYearVariant()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getFixedLotSizeQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getGoodsReceiptBlockedStockQty()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getGoodsReceiptDuration()
Constraints: Not nullable, Precision: 3, Scale: 0
|
String |
getHasConsignmentCtrl()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getHasPostToInspectionStock()
Constraints: none
|
Boolean |
getIsBatchManagementRequired()
Constraints: none
|
Boolean |
getIsCoProduct()
Constraints: none
|
Boolean |
getIsInternalBatchManaged()
Constraints: none
|
Boolean |
getIsMarkedForDeletion()
Constraints: none
|
Boolean |
getIsNegativeStockAllowed()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getMaintenanceStatusName()
Constraints: Not nullable, Maximum length: 15
|
BigDecimal |
getMaximumLotSizeQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getMinimumLotSizeQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getMRPResponsible()
Constraints: Not nullable, Maximum length: 3
|
String |
getMRPType()
Constraints: Not nullable, Maximum length: 2
|
String |
getPeriodType()
Constraints: Not nullable, Maximum length: 1
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProcurementType()
Constraints: Not nullable, Maximum length: 1
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getProductCFOPCategory()
Constraints: Not nullable, Maximum length: 2
|
String |
getProductionInvtryManagedLoc()
Constraints: Not nullable, Maximum length: 4
|
String |
getProductIsConfigurable()
Constraints: Not nullable, Maximum length: 40
|
String |
getProfileCode()
Constraints: Not nullable, Maximum length: 2
|
LocalDateTime |
getProfileValidityStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getProfitCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchasingGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getRegionOfOrigin()
Constraints: Not nullable, Maximum length: 3
|
String |
getSerialNumberProfile()
Constraints: Not nullable, Maximum length: 4
|
String |
getStockDeterminationGroup()
Constraints: Not nullable, Maximum length: 4
|
BigDecimal |
getStockInTransferQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getStockInTransitQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
Optional<List<ProductStorageLocation>> |
getStorageLocationIfPresent()
Retrieval of associated ProductStorageLocation entities (one to many).
|
List<ProductStorageLocation> |
getStorageLocationOrFetch()
Retrieval of associated ProductStorageLocation entities (one to many).
|
Class<ProductPlant> |
getType() |
int |
hashCode() |
void |
setABCIndicator(String aBCIndicator)
Constraints: Not nullable, Maximum length: 1
|
void |
setAvailabilityCheckType(String availabilityCheckType)
Constraints: Not nullable, Maximum length: 2
|
void |
setCommodity(String commodity)
Constraints: Not nullable, Maximum length: 17
|
void |
setConsumptionTaxCtrlCode(String consumptionTaxCtrlCode)
Constraints: Not nullable, Maximum length: 16
|
void |
setCountryOfOrigin(String countryOfOrigin)
Constraints: Not nullable, Maximum length: 3
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setFiscalMonthCurrentPeriod(String fiscalMonthCurrentPeriod)
Constraints: Not nullable, Maximum length: 2
|
void |
setFiscalYearCurrentPeriod(String fiscalYearCurrentPeriod)
Constraints: Not nullable, Maximum length: 4
|
void |
setFiscalYearVariant(String fiscalYearVariant)
Constraints: Not nullable, Maximum length: 2
|
void |
setFixedLotSizeQuantity(BigDecimal fixedLotSizeQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setGoodsReceiptBlockedStockQty(BigDecimal goodsReceiptBlockedStockQty)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setGoodsReceiptDuration(BigDecimal goodsReceiptDuration)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setHasConsignmentCtrl(String hasConsignmentCtrl)
Constraints: Not nullable, Maximum length: 1
|
void |
setHasPostToInspectionStock(Boolean hasPostToInspectionStock)
Constraints: none
|
void |
setIsBatchManagementRequired(Boolean isBatchManagementRequired)
Constraints: none
|
void |
setIsCoProduct(Boolean isCoProduct)
Constraints: none
|
void |
setIsInternalBatchManaged(Boolean isInternalBatchManaged)
Constraints: none
|
void |
setIsMarkedForDeletion(Boolean isMarkedForDeletion)
Constraints: none
|
void |
setIsNegativeStockAllowed(Boolean isNegativeStockAllowed)
Constraints: none
|
void |
setMaintenanceStatusName(String maintenanceStatusName)
Constraints: Not nullable, Maximum length: 15
|
void |
setMaximumLotSizeQuantity(BigDecimal maximumLotSizeQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setMinimumLotSizeQuantity(BigDecimal minimumLotSizeQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setMRPResponsible(String mRPResponsible)
Constraints: Not nullable, Maximum length: 3
|
void |
setMRPType(String mRPType)
Constraints: Not nullable, Maximum length: 2
|
void |
setPeriodType(String periodType)
Constraints: Not nullable, Maximum length: 1
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProcurementType(String procurementType)
Constraints: Not nullable, Maximum length: 1
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProductCFOPCategory(String productCFOPCategory)
Constraints: Not nullable, Maximum length: 2
|
void |
setProductionInvtryManagedLoc(String productionInvtryManagedLoc)
Constraints: Not nullable, Maximum length: 4
|
void |
setProductIsConfigurable(String productIsConfigurable)
Constraints: Not nullable, Maximum length: 40
|
void |
setProfileCode(String profileCode)
Constraints: Not nullable, Maximum length: 2
|
void |
setProfileValidityStartDate(LocalDateTime profileValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setProfitCenter(String profitCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setPurchasingGroup(String purchasingGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setRegionOfOrigin(String regionOfOrigin)
Constraints: Not nullable, Maximum length: 3
|
void |
setSerialNumberProfile(String serialNumberProfile)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStockDeterminationGroup(String stockDeterminationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setStockInTransferQuantity(BigDecimal stockInTransferQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setStockInTransitQuantity(BigDecimal stockInTransitQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setStorageLocation(List<ProductStorageLocation> value)
Overwrites the list of associated ProductStorageLocation entities for the loaded navigation property
to_StorageLocation.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ProductPlantSelectable ALL_FIELDS
public static final ProductPlantField<String> PRODUCT
public static final ProductPlantField<String> FISCAL_YEAR_VARIANT
public static final ProductPlantField<String> PERIOD_TYPE
public static final ProductPlantField<String> PROFIT_CENTER
public static final ProductPlantField<String> COMMODITY
public static final ProductPlantField<BigDecimal> GOODS_RECEIPT_DURATION
public static final ProductPlantField<String> MAINTENANCE_STATUS_NAME
public static final ProductPlantField<Boolean> IS_MARKED_FOR_DELETION
public static final ProductPlantField<String> MRP_TYPE
public static final ProductPlantField<String> MRP_RESPONSIBLE
public static final ProductPlantField<String> ABC_INDICATOR
public static final ProductPlantField<String> PLANT
public static final ProductPlantField<BigDecimal> MINIMUM_LOT_SIZE_QUANTITY
public static final ProductPlantField<BigDecimal> MAXIMUM_LOT_SIZE_QUANTITY
public static final ProductPlantField<BigDecimal> FIXED_LOT_SIZE_QUANTITY
public static final ProductPlantField<String> CONSUMPTION_TAX_CTRL_CODE
public static final ProductPlantField<Boolean> IS_CO_PRODUCT
public static final ProductPlantField<String> PRODUCT_IS_CONFIGURABLE
public static final ProductPlantField<String> STOCK_DETERMINATION_GROUP
public static final ProductPlantField<BigDecimal> STOCK_IN_TRANSFER_QUANTITY
public static final ProductPlantField<BigDecimal> STOCK_IN_TRANSIT_QUANTITY
public static final ProductPlantField<Boolean> HAS_POST_TO_INSPECTION_STOCK
public static final ProductPlantField<String> PURCHASING_GROUP
public static final ProductPlantField<Boolean> IS_BATCH_MANAGEMENT_REQUIRED
public static final ProductPlantField<String> SERIAL_NUMBER_PROFILE
public static final ProductPlantField<Boolean> IS_NEGATIVE_STOCK_ALLOWED
public static final ProductPlantField<BigDecimal> GOODS_RECEIPT_BLOCKED_STOCK_QTY
public static final ProductPlantField<String> HAS_CONSIGNMENT_CTRL
public static final ProductPlantField<String> FISCAL_YEAR_CURRENT_PERIOD
public static final ProductPlantField<String> FISCAL_MONTH_CURRENT_PERIOD
public static final ProductPlantField<String> PROCUREMENT_TYPE
public static final ProductPlantField<Boolean> IS_INTERNAL_BATCH_MANAGED
public static final ProductPlantField<String> PRODUCT_CFOP_CATEGORY
public static final ProductPlantField<String> COUNTRY_OF_ORIGIN
public static final ProductPlantField<String> REGION_OF_ORIGIN
public static final ProductPlantField<String> PRODUCTION_INVTRY_MANAGED_LOC
public static final ProductPlantField<String> PROFILE_CODE
public static final ProductPlantField<LocalDateTime> PROFILE_VALIDITY_START_DATE
public static final ProductPlantField<String> AVAILABILITY_CHECK_TYPE
public static final ProductPlantLink<ProductStorageLocation> TO_STORAGE_LOCATION
public ProductPlant()
public ProductPlant(@Nullable String product, @Nullable String fiscalYearVariant, @Nullable String periodType, @Nullable String profitCenter, @Nullable String commodity, @Nullable BigDecimal goodsReceiptDuration, @Nullable String maintenanceStatusName, @Nullable Boolean isMarkedForDeletion, @Nullable String mRPType, @Nullable String mRPResponsible, @Nullable String aBCIndicator, @Nullable String plant, @Nullable BigDecimal minimumLotSizeQuantity, @Nullable BigDecimal maximumLotSizeQuantity, @Nullable BigDecimal fixedLotSizeQuantity, @Nullable String consumptionTaxCtrlCode, @Nullable Boolean isCoProduct, @Nullable String productIsConfigurable, @Nullable String stockDeterminationGroup, @Nullable BigDecimal stockInTransferQuantity, @Nullable BigDecimal stockInTransitQuantity, @Nullable Boolean hasPostToInspectionStock, @Nullable String purchasingGroup, @Nullable Boolean isBatchManagementRequired, @Nullable String serialNumberProfile, @Nullable Boolean isNegativeStockAllowed, @Nullable BigDecimal goodsReceiptBlockedStockQty, @Nullable String hasConsignmentCtrl, @Nullable String fiscalYearCurrentPeriod, @Nullable String fiscalMonthCurrentPeriod, @Nullable String procurementType, @Nullable Boolean isInternalBatchManaged, @Nullable String productCFOPCategory, @Nullable String countryOfOrigin, @Nullable String regionOfOrigin, @Nullable String productionInvtryManagedLoc, @Nullable String profileCode, @Nullable LocalDateTime profileValidityStartDate, @Nullable String availabilityCheckType, List<ProductStorageLocation> toStorageLocation)
@Nonnull public Class<ProductPlant> getType()
getType
in class VdmObject<ProductPlant>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setFiscalYearVariant(@Nullable String fiscalYearVariant)
Original property name from the Odata EDM: FiscalYearVariant
fiscalYearVariant
- Fiscal Year Variantpublic void setPeriodType(@Nullable String periodType)
Original property name from the Odata EDM: PeriodType
periodType
- Period Indicatorpublic void setProfitCenter(@Nullable String profitCenter)
Original property name from the Odata EDM: ProfitCenter
profitCenter
- Profit Centerpublic void setCommodity(@Nullable String commodity)
Original property name from the Odata EDM: Commodity
commodity
- The commodity to set.public void setGoodsReceiptDuration(@Nullable BigDecimal goodsReceiptDuration)
Original property name from the Odata EDM: GoodsReceiptDuration
goodsReceiptDuration
- Goods Receipt Processing Time in Dayspublic void setMaintenanceStatusName(@Nullable String maintenanceStatusName)
Original property name from the Odata EDM: MaintenanceStatusName
maintenanceStatusName
- Maintenance statuspublic void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
Original property name from the Odata EDM: IsMarkedForDeletion
isMarkedForDeletion
- Flag Material for Deletion at Plant Levelpublic void setMRPType(@Nullable String mRPType)
Original property name from the Odata EDM: MRPType
mRPType
- MRP Typepublic void setMRPResponsible(@Nullable String mRPResponsible)
Original property name from the Odata EDM: MRPResponsible
mRPResponsible
- MRP Controller (Materials Planner)public void setABCIndicator(@Nullable String aBCIndicator)
Original property name from the Odata EDM: ABCIndicator
aBCIndicator
- ABC Indicatorpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setMinimumLotSizeQuantity(@Nullable BigDecimal minimumLotSizeQuantity)
Original property name from the Odata EDM: MinimumLotSizeQuantity
minimumLotSizeQuantity
- Minimum Lot Sizepublic void setMaximumLotSizeQuantity(@Nullable BigDecimal maximumLotSizeQuantity)
Original property name from the Odata EDM: MaximumLotSizeQuantity
maximumLotSizeQuantity
- Maximum Lot Sizepublic void setFixedLotSizeQuantity(@Nullable BigDecimal fixedLotSizeQuantity)
Original property name from the Odata EDM: FixedLotSizeQuantity
fixedLotSizeQuantity
- Fixed lot sizepublic void setConsumptionTaxCtrlCode(@Nullable String consumptionTaxCtrlCode)
Original property name from the Odata EDM: ConsumptionTaxCtrlCode
consumptionTaxCtrlCode
- Control code for consumption taxes in foreign tradepublic void setIsCoProduct(@Nullable Boolean isCoProduct)
Original property name from the Odata EDM: IsCoProduct
isCoProduct
- Indicator: Material can be co-productpublic void setProductIsConfigurable(@Nullable String productIsConfigurable)
Original property name from the Odata EDM: ProductIsConfigurable
productIsConfigurable
- Configurable Productpublic void setStockDeterminationGroup(@Nullable String stockDeterminationGroup)
Original property name from the Odata EDM: StockDeterminationGroup
stockDeterminationGroup
- Stock determination grouppublic void setStockInTransferQuantity(@Nullable BigDecimal stockInTransferQuantity)
Original property name from the Odata EDM: StockInTransferQuantity
stockInTransferQuantity
- The stockInTransferQuantity to set.public void setStockInTransitQuantity(@Nullable BigDecimal stockInTransitQuantity)
Original property name from the Odata EDM: StockInTransitQuantity
stockInTransitQuantity
- The stockInTransitQuantity to set.public void setHasPostToInspectionStock(@Nullable Boolean hasPostToInspectionStock)
Original property name from the Odata EDM: HasPostToInspectionStock
hasPostToInspectionStock
- Has Post to Inspection Stockpublic void setPurchasingGroup(@Nullable String purchasingGroup)
Original property name from the Odata EDM: PurchasingGroup
purchasingGroup
- Purchasing Grouppublic void setIsBatchManagementRequired(@Nullable Boolean isBatchManagementRequired)
Original property name from the Odata EDM: IsBatchManagementRequired
isBatchManagementRequired
- Batch management requirement indicatorpublic void setSerialNumberProfile(@Nullable String serialNumberProfile)
Original property name from the Odata EDM: SerialNumberProfile
serialNumberProfile
- Serial Number Profilepublic void setIsNegativeStockAllowed(@Nullable Boolean isNegativeStockAllowed)
Original property name from the Odata EDM: IsNegativeStockAllowed
isNegativeStockAllowed
- Negative stocks allowed in plantpublic void setGoodsReceiptBlockedStockQty(@Nullable BigDecimal goodsReceiptBlockedStockQty)
Original property name from the Odata EDM: GoodsReceiptBlockedStockQty
goodsReceiptBlockedStockQty
- The goodsReceiptBlockedStockQty to set.public void setHasConsignmentCtrl(@Nullable String hasConsignmentCtrl)
Original property name from the Odata EDM: HasConsignmentCtrl
hasConsignmentCtrl
- Consignment Controlpublic void setFiscalYearCurrentPeriod(@Nullable String fiscalYearCurrentPeriod)
Original property name from the Odata EDM: FiscalYearCurrentPeriod
fiscalYearCurrentPeriod
- The fiscalYearCurrentPeriod to set.public void setFiscalMonthCurrentPeriod(@Nullable String fiscalMonthCurrentPeriod)
Original property name from the Odata EDM: FiscalMonthCurrentPeriod
fiscalMonthCurrentPeriod
- The fiscalMonthCurrentPeriod to set.public void setProcurementType(@Nullable String procurementType)
Original property name from the Odata EDM: ProcurementType
procurementType
- Procurement Typepublic void setIsInternalBatchManaged(@Nullable Boolean isInternalBatchManaged)
Original property name from the Odata EDM: IsInternalBatchManaged
isInternalBatchManaged
- Batch management indicator (internal)public void setProductCFOPCategory(@Nullable String productCFOPCategory)
Original property name from the Odata EDM: ProductCFOPCategory
productCFOPCategory
- Material CFOP categorypublic void setCountryOfOrigin(@Nullable String countryOfOrigin)
Original property name from the Odata EDM: CountryOfOrigin
countryOfOrigin
- Country of Origin of Material (Non-Preferential Origin)public void setRegionOfOrigin(@Nullable String regionOfOrigin)
Original property name from the Odata EDM: RegionOfOrigin
regionOfOrigin
- Region of Origin of Material (Non-Preferential Origin)public void setProductionInvtryManagedLoc(@Nullable String productionInvtryManagedLoc)
Original property name from the Odata EDM: ProductionInvtryManagedLoc
productionInvtryManagedLoc
- Issue Storage Locationpublic void setProfileCode(@Nullable String profileCode)
Original property name from the Odata EDM: ProfileCode
profileCode
- Plant-Specific Material Statuspublic void setProfileValidityStartDate(@Nullable LocalDateTime profileValidityStartDate)
Original property name from the Odata EDM: ProfileValidityStartDate
profileValidityStartDate
- Date from which the plant-specific material status is validpublic void setAvailabilityCheckType(@Nullable String availabilityCheckType)
Original property name from the Odata EDM: AvailabilityCheckType
availabilityCheckType
- Checking Group for Availability Checkprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProductPlant>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductPlant>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductPlant>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductPlant>
@Nonnull public static <T> ProductPlantField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ProductPlantField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<ProductPlant>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<ProductPlant>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProductPlant>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProductPlant>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<ProductPlant>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ProductPlant>
@Nonnull public List<ProductStorageLocation> fetchStorageLocation() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<ProductStorageLocation> getStorageLocationOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_StorageLocation of a queried ProductPlant 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public Optional<List<ProductStorageLocation>> getStorageLocationIfPresent()
If the navigation property for an entity ProductPlant has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setStorageLocation(@Nonnull List<ProductStorageLocation> value)
If the navigation property to_StorageLocation of a queried ProductPlant 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.
value
- List of ProductStorageLocation entities.public void addStorageLocation(ProductStorageLocation... entity)
If the navigation property to_StorageLocation of a queried ProductPlant 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.
entity
- Array of ProductStorageLocation entities.public static ProductPlant.ProductPlantBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getFiscalYearVariant()
Original property name from the Odata EDM: FiscalYearVariant
@Nullable public String getPeriodType()
Original property name from the Odata EDM: PeriodType
@Nullable public String getProfitCenter()
Original property name from the Odata EDM: ProfitCenter
@Nullable public String getCommodity()
Original property name from the Odata EDM: Commodity
@Nullable public BigDecimal getGoodsReceiptDuration()
Original property name from the Odata EDM: GoodsReceiptDuration
@Nullable public String getMaintenanceStatusName()
Original property name from the Odata EDM: MaintenanceStatusName
@Nullable public Boolean getIsMarkedForDeletion()
Original property name from the Odata EDM: IsMarkedForDeletion
@Nullable public String getMRPType()
Original property name from the Odata EDM: MRPType
@Nullable public String getMRPResponsible()
Original property name from the Odata EDM: MRPResponsible
@Nullable public String getABCIndicator()
Original property name from the Odata EDM: ABCIndicator
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public BigDecimal getMinimumLotSizeQuantity()
Original property name from the Odata EDM: MinimumLotSizeQuantity
@Nullable public BigDecimal getMaximumLotSizeQuantity()
Original property name from the Odata EDM: MaximumLotSizeQuantity
@Nullable public BigDecimal getFixedLotSizeQuantity()
Original property name from the Odata EDM: FixedLotSizeQuantity
@Nullable public String getConsumptionTaxCtrlCode()
Original property name from the Odata EDM: ConsumptionTaxCtrlCode
@Nullable public Boolean getIsCoProduct()
Original property name from the Odata EDM: IsCoProduct
@Nullable public String getProductIsConfigurable()
Original property name from the Odata EDM: ProductIsConfigurable
@Nullable public String getStockDeterminationGroup()
Original property name from the Odata EDM: StockDeterminationGroup
@Nullable public BigDecimal getStockInTransferQuantity()
Original property name from the Odata EDM: StockInTransferQuantity
@Nullable public BigDecimal getStockInTransitQuantity()
Original property name from the Odata EDM: StockInTransitQuantity
@Nullable public Boolean getHasPostToInspectionStock()
Original property name from the Odata EDM: HasPostToInspectionStock
@Nullable public String getPurchasingGroup()
Original property name from the Odata EDM: PurchasingGroup
@Nullable public Boolean getIsBatchManagementRequired()
Original property name from the Odata EDM: IsBatchManagementRequired
@Nullable public String getSerialNumberProfile()
Original property name from the Odata EDM: SerialNumberProfile
@Nullable public Boolean getIsNegativeStockAllowed()
Original property name from the Odata EDM: IsNegativeStockAllowed
@Nullable public BigDecimal getGoodsReceiptBlockedStockQty()
Original property name from the Odata EDM: GoodsReceiptBlockedStockQty
@Nullable public String getHasConsignmentCtrl()
Original property name from the Odata EDM: HasConsignmentCtrl
@Nullable public String getFiscalYearCurrentPeriod()
Original property name from the Odata EDM: FiscalYearCurrentPeriod
@Nullable public String getFiscalMonthCurrentPeriod()
Original property name from the Odata EDM: FiscalMonthCurrentPeriod
@Nullable public String getProcurementType()
Original property name from the Odata EDM: ProcurementType
@Nullable public Boolean getIsInternalBatchManaged()
Original property name from the Odata EDM: IsInternalBatchManaged
@Nullable public String getProductCFOPCategory()
Original property name from the Odata EDM: ProductCFOPCategory
@Nullable public String getCountryOfOrigin()
Original property name from the Odata EDM: CountryOfOrigin
@Nullable public String getRegionOfOrigin()
Original property name from the Odata EDM: RegionOfOrigin
@Nullable public String getProductionInvtryManagedLoc()
Original property name from the Odata EDM: ProductionInvtryManagedLoc
@Nullable public String getProfileCode()
Original property name from the Odata EDM: ProfileCode
@Nullable public LocalDateTime getProfileValidityStartDate()
Original property name from the Odata EDM: ProfileValidityStartDate
@Nullable public String getAvailabilityCheckType()
Original property name from the Odata EDM: AvailabilityCheckType
public String toString()
toString
in class VdmObject<ProductPlant>
public boolean equals(Object o)
equals
in class VdmObject<ProductPlant>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProductPlant>
public int hashCode()
hashCode
in class VdmObject<ProductPlant>
Copyright © 2019 SAP SE. All rights reserved.