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> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ProductPlantField<String> |
COMMODITY
Use with available fluent helpers to apply the Commodity field to query operations.
|
static ProductPlantField<String> |
CONFIGURABLE_PRODUCT
Use with available fluent helpers to apply the ConfigurableProduct 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<String> |
GOODS_ISSUE_UNIT
Use with available fluent helpers to apply the GoodsIssueUnit 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<String> |
MATERIAL_FREIGHT_GROUP
Use with available fluent helpers to apply the MaterialFreightGroup 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> |
ORIGINAL_BATCH_REFERENCE_MATERIAL
Use with available fluent helpers to apply the OriginalBatchReferenceMaterial field to query operations.
|
static ProductPlantField<String> |
ORIGL_BATCH_MANAGEMENT_IS_REQUIRED
Use with available fluent helpers to apply the OriglBatchManagementIsRequired 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<Boolean> |
PRODUCT_IS_CRITICAL_PRT
Use with available fluent helpers to apply the ProductIsCriticalPrt field to query operations.
|
static ProductPlantField<Boolean> |
PRODUCT_IS_EXCISE_TAX_RELEVANT
Use with available fluent helpers to apply the ProductIsExciseTaxRelevant field to query operations.
|
static ProductPlantField<String> |
PRODUCT_LOGISTICS_HANDLING_GROUP
Use with available fluent helpers to apply the ProductLogisticsHandlingGroup 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 plant,
String purchasingGroup,
String countryOfOrigin,
String regionOfOrigin,
String productionInvtryManagedLoc,
String profileCode,
LocalDateTime profileValidityStartDate,
String availabilityCheckType,
String fiscalYearVariant,
String periodType,
String profitCenter,
String commodity,
BigDecimal goodsReceiptDuration,
String maintenanceStatusName,
Boolean isMarkedForDeletion,
String mRPType,
String mRPResponsible,
String aBCIndicator,
BigDecimal minimumLotSizeQuantity,
BigDecimal maximumLotSizeQuantity,
BigDecimal fixedLotSizeQuantity,
String consumptionTaxCtrlCode,
Boolean isCoProduct,
String productIsConfigurable,
String stockDeterminationGroup,
BigDecimal stockInTransferQuantity,
BigDecimal stockInTransitQuantity,
Boolean hasPostToInspectionStock,
Boolean isBatchManagementRequired,
String serialNumberProfile,
Boolean isNegativeStockAllowed,
BigDecimal goodsReceiptBlockedStockQty,
String hasConsignmentCtrl,
String fiscalYearCurrentPeriod,
String fiscalMonthCurrentPeriod,
String procurementType,
Boolean isInternalBatchManaged,
String productCFOPCategory,
Boolean productIsExciseTaxRelevant,
String baseUnit,
String configurableProduct,
String goodsIssueUnit,
String materialFreightGroup,
String originalBatchReferenceMaterial,
String origlBatchManagementIsRequired,
Boolean productIsCriticalPrt,
String productLogisticsHandlingGroup,
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,
HttpDestinationProperties destination)
Sets the service path and destination 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 |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getCommodity()
Constraints: Not nullable, Maximum length: 17
|
String |
getConfigurableProduct()
Constraints: Not nullable, Maximum length: 40
|
String |
getConsumptionTaxCtrlCode()
Constraints: Not nullable, Maximum length: 16
|
String |
getCountryOfOrigin()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
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
|
String |
getGoodsIssueUnit()
Constraints: Not nullable, Maximum length: 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
|
String |
getMaterialFreightGroup()
Constraints: Not nullable, Maximum length: 8
|
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 |
getOriginalBatchReferenceMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getOriglBatchManagementIsRequired()
Constraints: Not nullable, Maximum length: 1
|
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
|
Boolean |
getProductIsCriticalPrt()
Constraints: none
|
Boolean |
getProductIsExciseTaxRelevant()
Constraints: none
|
String |
getProductLogisticsHandlingGroup()
Constraints: Not nullable, Maximum length: 4
|
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
|
io.vavr.control.Option<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 |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCommodity(String commodity)
Constraints: Not nullable, Maximum length: 17
|
void |
setConfigurableProduct(String configurableProduct)
Constraints: Not nullable, Maximum length: 40
|
void |
setConsumptionTaxCtrlCode(String consumptionTaxCtrlCode)
Constraints: Not nullable, Maximum length: 16
|
void |
setCountryOfOrigin(String countryOfOrigin)
Constraints: Not nullable, Maximum length: 3
|
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 |
setGoodsIssueUnit(String goodsIssueUnit)
Constraints: Not nullable, Maximum length: 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 |
setMaterialFreightGroup(String materialFreightGroup)
Constraints: Not nullable, Maximum length: 8
|
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 |
setOriginalBatchReferenceMaterial(String originalBatchReferenceMaterial)
Constraints: Not nullable, Maximum length: 40
|
void |
setOriglBatchManagementIsRequired(String origlBatchManagementIsRequired)
Constraints: Not nullable, Maximum length: 1
|
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 |
setProductIsCriticalPrt(Boolean productIsCriticalPrt)
Constraints: none
|
void |
setProductIsExciseTaxRelevant(Boolean productIsExciseTaxRelevant)
Constraints: none
|
void |
setProductLogisticsHandlingGroup(String productLogisticsHandlingGroup)
Constraints: Not nullable, Maximum length: 4
|
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() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, 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> PLANT
public static final ProductPlantField<String> PURCHASING_GROUP
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 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<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<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<Boolean> PRODUCT_IS_EXCISE_TAX_RELEVANT
public static final ProductPlantField<String> BASE_UNIT
public static final ProductPlantField<String> CONFIGURABLE_PRODUCT
public static final ProductPlantField<String> GOODS_ISSUE_UNIT
public static final ProductPlantField<String> MATERIAL_FREIGHT_GROUP
public static final ProductPlantField<String> ORIGINAL_BATCH_REFERENCE_MATERIAL
public static final ProductPlantField<String> ORIGL_BATCH_MANAGEMENT_IS_REQUIRED
public static final ProductPlantField<Boolean> PRODUCT_IS_CRITICAL_PRT
public static final ProductPlantField<String> PRODUCT_LOGISTICS_HANDLING_GROUP
public static final ProductPlantLink<ProductStorageLocation> TO_STORAGE_LOCATION
public ProductPlant()
public ProductPlant(@Nullable String product, @Nullable String plant, @Nullable String purchasingGroup, @Nullable String countryOfOrigin, @Nullable String regionOfOrigin, @Nullable String productionInvtryManagedLoc, @Nullable String profileCode, @Nullable LocalDateTime profileValidityStartDate, @Nullable String availabilityCheckType, @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 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 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 Boolean productIsExciseTaxRelevant, @Nullable String baseUnit, @Nullable String configurableProduct, @Nullable String goodsIssueUnit, @Nullable String materialFreightGroup, @Nullable String originalBatchReferenceMaterial, @Nullable String origlBatchManagementIsRequired, @Nullable Boolean productIsCriticalPrt, @Nullable String productLogisticsHandlingGroup, 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
- Alphanumeric key uniquely identifying the material.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setPurchasingGroup(@Nullable String purchasingGroup)
Original property name from the Odata EDM: PurchasingGroup
Internally, the purchasing group is responsible for the procurement of a material or a class of materials.Externally, it is the medium through which contacts with the vendor are maintained.
purchasingGroup
- Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities.public void setCountryOfOrigin(@Nullable String countryOfOrigin)
Original property name from the Odata EDM: CountryOfOrigin
You are legally required to specify the country of origin both for export and import.ExportYou prove the origin of a material by presenting the certificate of origin. This is issued and controlled by the relevant authority of the issuing country.This authority confirms the origin of a material and the required information with the certificate of origin.ImportThe relevant authority of the importing country - usually the Ministry of Economic Affairs - stipulates which regulations regarding customs and foreign trade law have to be observed for the certificates of origin accompanying goods.This information is used for foreign trade processing in different areas, such as:Foreign trade lawCustoms lawExample for Europe:Article 9 of the EU origin regulation is the legal regulation for the certificate of origin.The responsible authorities in Germany include:Chamber of Commerce (Industrie- und Handelskammer)Chamber of Handicrafts (Handwerkskammer)Customs office
countryOfOrigin
- Key of the country in which the material has been produced.public void setRegionOfOrigin(@Nullable String regionOfOrigin)
Original property name from the Odata EDM: RegionOfOrigin
You can enter a region of the country from which the goods originate.This information is required for the declarations regarding goods dispatches/imports and goods receipts/exports which are made to the authorities. Declarations to the authorities for foreign trade are a legal requirement in many countries.INTRASTAT - Declaration in the European UnionEXTRASTAT - Declaration in the European UnionIn the materials management document, the 'region of destination' field indicates the region of the receiving plant.
regionOfOrigin
- Describes more precisely the origin of goods.public void setProductionInvtryManagedLoc(@Nullable String productionInvtryManagedLoc)
Original property name from the Odata EDM: ProductionInvtryManagedLoc
If the material is a component, it is the issuing storage location to which a backflush is posted.If the material is produced, it is the receiving storage location to which the receipt of the material is posted.
productionInvtryManagedLoc
- In the case of a material produced in-house, this is the key of the storage location that is copied to
the planned order, production order, or run schedule quantity.public void setProfileCode(@Nullable String profileCode)
Original property name from the Odata EDM: ProfileCode
Materials management (for example, in purchasing and in inventory management)Production planning and controlPlant maintenanceWarehouse managementCosting with a quantity structureThe plant-specific material status restricts the usability of the material for the plant concerned, that is, it defines whether a warning or error message is displayed if you include the material in a particular function.The material may be a part under development or one to be discontinued.
profileCode
- Indicates whether, for a specific plant, the material may be used in the following areas:public void setProfileValidityStartDate(@Nullable LocalDateTime profileValidityStartDate)
Original property name from the Odata EDM: ProfileValidityStartDate
The valid-from date of the material status is considered only if it precedes or is the same as the planning date; that is, if the valid-from date is later than the planning date, it is not considered, even if it is within the planning horizon.ExampleI<-------------Planning horizon------------->I-----I--------------------I-----------------------I-->Planning date Valid-from date TimeIn this case, the valid-from date is not considered in materials planning since it is later than the planning date.PurchasingThe valid-from date of the material status is checked against the current date.ExampleYou block the material for purchasing from May 1, xxxx. A purchase order is created for the material on April 28, xxxx with a delivery date of May 10, xxxx. In this case, the valid-from date May 1, xxxx is checked against the purchase order date April 28, xxxx and the purchase order is allowed. Had you created the purchase order on May 3, xxxx, an error message would have been issued.
profileValidityStartDate
- Materials planningpublic void setAvailabilityCheckType(@Nullable String availabilityCheckType)
Original property name from the Odata EDM: AvailabilityCheckType
Specifies whether and how the system checks availability and generates requirements for materials planning.In Flexible Planning, defines - together with the checking rule - the different MRP elements that make up this key figure. The sum of these elements gives the key figure.Use 1: Availability Checking and Materials PlanningThe value you enter for use 1 (see above) is a default value which defines:Which MRP elements (for example, purchase orders, reservations) the system includes in the availability checkWhether the system checks availability only until the end of the replenishment lead time or whether it checks availability over the entire period for which MRP elements existWhether the system generates individual requirements or summarized requirements if you enter sales orders or deliveries for the materialUse 2: Flexible PlanningIf you use this field to define the MRP elements of a key figure for Flexible Planning, you must also select Document KF in the Customizing parameters of the information structure.
availabilityCheckType
- This field has two uses:public void setFiscalYearVariant(@Nullable String fiscalYearVariant)
Original property name from the Odata EDM: FiscalYearVariant
You can define the following using a fiscal year variant:How many posting periods are in a fiscal yearHow many special periods you requireHow the system determines the posting periods when postingIn the definition, you allocate your posting periods to the calendar year.Allocation control requires the same number of posting periods in the company code and in the assigned controlling area.This means that the number of posting periods in the fiscal year variants must be the same in the company code and in the controlling area. The period limits for the two fiscal year variants must also coincide.You must define which fiscal year variant is to be used for each company code. To do this, you must define the appropriate fiscal year variant. It must contain no more than 16 periods.Note:The company codes delivered with the standard system are allocated to the fiscal year variant that corresponds to the calendar year and which also uses four special periods.You define fiscal year variants as well as the allocation of fiscal year variant to the company code in Financial Accounting customizing.
fiscalYearVariant
- The fiscal year variant is used to define the fiscal year.public void setPeriodType(@Nullable String periodType)
Original property name from the Odata EDM: PeriodType
periodType
- Indicator specifying the periods in which the material's consumption values and forecast values are
managed.public void setProfitCenter(@Nullable String profitCenter)
Original property name from the Odata EDM: ProfitCenter
profitCenter
- Key which together with the controlling area uniquely identifies a profit center.public void setCommodity(@Nullable String commodity)
Original property name from the Odata EDM: Commodity
The Harmonized System contains code numbers for all goods that an be transported across national or regional boundaries. Goods are coded according to this nomenclature when declaring the import or export of goods to the proper authorities. The specification of standard commodity codes in declarations enables the authority to tally the quantities of imported or exported goods of specific goods categories for statistical purposes (INTRASTAT).
commodity
- Official code number based on the Harmonized Commodity Description and Coding System (HS).public void setGoodsReceiptDuration(@Nullable BigDecimal goodsReceiptDuration)
Original property name from the Odata EDM: GoodsReceiptDuration
goodsReceiptDuration
- Number of workdays required after receiving the material for inspection and placement into storage.public void setMaintenanceStatusName(@Nullable String maintenanceStatusName)
Original property name from the Odata EDM: MaintenanceStatusName
Which user departments may maintain a material master record of a particular material typeWhich user departments have already maintained the material master record at a particular hierarchy levelThe overall maintenance status is made up of the individual maintenance statuses. The individual maintenance statuses have the following meaning:User department Maintenance statusWork scheduling AAccounting BClassification CMRP DPurchasing EProduction resources/tools FCosting GBasic data KStorage LForecasting PQuality management QWarehouse management SSales VPlant stocks XStorage location stocks Z
maintenanceStatusName
- The maintenance status records:public void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
Original property name from the Odata EDM: IsMarkedForDeletion
isMarkedForDeletion
- If this indicator is set, the archive and delete program checks whether the material may be deleted at
plant level, and deletes the data at this level and at all lower levels accordingly.public void setMRPType(@Nullable String mRPType)
Original property name from the Odata EDM: MRPType
Manual reorder point planningAutomatic reorder point planningForecast-based planningMaterial requirements planning with forecasts for unplanned consumptionMaster production scheduling (MPS)Demand-driven replenishment
mRPType
- Key that determines whether and how the material is planned. You have the following options:public void setMRPResponsible(@Nullable String mRPResponsible)
Original property name from the Odata EDM: MRPResponsible
mRPResponsible
- Specifies the number of the MRP controller or group of MRP controllers responsible for material
planning for the material.public void setABCIndicator(@Nullable String aBCIndicator)
Original property name from the Odata EDM: ABCIndicator
The three indicators have the following meanings:A - important part, high consumption valueB - less important part, medium consumption valueC - relatively unimportant part, low consumption value
aBCIndicator
- Indicator that classifies a material as an A, B, or C part according to its consumption value. This
classification process is known as the ABC analysis.public void setMinimumLotSizeQuantity(@Nullable BigDecimal minimumLotSizeQuantity)
Original property name from the Odata EDM: MinimumLotSizeQuantity
minimumLotSizeQuantity
- Minimum procurement quantitypublic void setMaximumLotSizeQuantity(@Nullable BigDecimal maximumLotSizeQuantity)
Original property name from the Odata EDM: MaximumLotSizeQuantity
The system takes this value into account during the automatic lot size calculation for planned orders and production orders. The lot size of the individual orders cannot exceed this value.
maximumLotSizeQuantity
- Quantity that is not allowed to be exceeded during procurement.public void setFixedLotSizeQuantity(@Nullable BigDecimal fixedLotSizeQuantity)
Original property name from the Odata EDM: FixedLotSizeQuantity
If the amount of the shortage is less than the fixed lot size, it is the fixed lot size that is ordered or produced (and not the lesser quantity that is actually required).If the amount of the shortage is greater than the fixed lot size, a multiple of the fixed lot size is procured. The system creates several purchase order proposals for this purpose.
fixedLotSizeQuantity
- Quantity that will be ordered or produced in the event of a shortage.public 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 you can use to specify that the material can also be used as a co-product.public void setProductIsConfigurable(@Nullable String productIsConfigurable)
Original property name from the Odata EDM: ProductIsConfigurable
productIsConfigurable
- Number uniquely identifying the configurable product.public void setStockDeterminationGroup(@Nullable String stockDeterminationGroup)
Original property name from the Odata EDM: StockDeterminationGroup
The stock determination group combined with the stock determination rule at plant level create a key for the stock determination strategy.You enter the stock determination group in the material master record at plant level and it controls a stock determination based on material.
stockDeterminationGroup
- Specifies the stock determination group.public 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
You can select this indicator, if no stock-relevant inspection type has been selected in the inspection setup, and therefore no stock-relevant inspection lots can be created.If you activate a stock-relevant inspection type, the entry in this field is deselected and can no longer be maintained. In this case, a corresponding indicator in the inspection type controls whether goods are posted to inspection stock.
hasPostToInspectionStock
- Specifies whether the product is subject to quality inspection (without inspection lot processing) and
whether a goods receipt is posted to inspection stock. The indicator is copied to purchase order items
and goods receipt items as a default value.public void setIsBatchManagementRequired(@Nullable Boolean isBatchManagementRequired)
Original property name from the Odata EDM: IsBatchManagementRequired
This indicator can be set in the material master record manually or, if batches are valuated individually, it is set automatically for the plants concerned.Based on the settings that you maintain in Customizing for Batch Management under Specify Batch Level and Activate Status Management -> Batch Level if the batch level is set to Batch unique at material level, then the field is shown in the display mode, until batches are valuated at material level.If the batches are valuated at material level, then the indicator is set automatically for the corresponding plants as well. Note that the automatic setting of the indicator is based on the configuration that you make in Customizing for Batch Management under Specify Batch Management Default by Plant. In this case, if you wish to change this default setting, you can select/deselect the indicator manually.If the batch level is set to Batch unique at plant level, then the field becomes editable.The indicator cannot be changed if stocks exist in either the current period or in the previous period. The reason for checking the previous period is because stocks can be posted to this period when goods movements are entered.SAP Note 2564190
isBatchManagementRequired
- Specifies whether the material is managed in batches.public void setSerialNumberProfile(@Nullable String serialNumberProfile)
Original property name from the Odata EDM: SerialNumberProfile
serialNumberProfile
- Freely definable four-digit key that provides unique identification for a serial number profile.public void setIsNegativeStockAllowed(@Nullable Boolean isNegativeStockAllowed)
Original property name from the Odata EDM: IsNegativeStockAllowed
Negative stock balances can only result if they are allowed at the following levels:Valuation area levelStorage location levelMaterial level (plant data in the material master record)Negative stock levels are already allowed for special stocks if negative stocks have been activated in the valuation area and for the special stock in question in the plant. You do not have to activate them in each material master record.You can have negative balances in stocks of the types "unrestricted-use" and "blocked".Negative balances are possible in the following special stocks:Vendor consignment (K)Stock of material provided to vendor (O)Consignment stock at customer (W)Sales order stock (E)Project stock (Q)Returnable packaging stock at customer (V)Returnable transport packaging (M)
isNegativeStockAllowed
- Indicates that negative stocks of the material are allowed at the plant.public 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
You can set the values for consignment control that you defined in Customizing for consignment control.When you set consignment control, please note the following:The system only evaluates the setting if you have activated Retail consignment processingNote that the settings for the Consignment Control and Source of Supply fields have to be coordinated:If you set procurement for own stock in consignment control, the search sequence for the supply source has to begin with "Normal".If you set procurement for consignment stock in consignment control, the search sequence for the supply source has to begin with "Consignment".
hasConsignmentCtrl
- Controls whether a material is preferably procured for own stock or consignment stock at a plant.public 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
The material is produced in-house.The material is procured externally.The material can be both produced in-house and procured externally.
procurementType
- Indicator that defines how the material is procured. The following procurements types are possible:public void setIsInternalBatchManaged(@Nullable Boolean isInternalBatchManaged)
Original property name from the Odata EDM: IsInternalBatchManaged
isInternalBatchManaged
- Indicator that specifies that the material is managed in batches.public void setProductCFOPCategory(@Nullable String productCFOPCategory)
Original property name from the Odata EDM: ProductCFOPCategory
The CFOP category is used to determine the proper CFOP.
productCFOPCategory
- This is the CFOP category of a material.public void setProductIsExciseTaxRelevant(@Nullable Boolean productIsExciseTaxRelevant)
Original property name from the Odata EDM: ProductIsExciseTaxRelevant
productIsExciseTaxRelevant
- Indicates that the product is relevant for excise tax.public void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
baseUnit
- Unit of measure in which stocks of the material are managed. The system converts all the quantities
you enter in other units of measure (alternative units of measure) to the base unit of measure.public void setConfigurableProduct(@Nullable String configurableProduct)
Original property name from the Odata EDM: ConfigurableProduct
configurableProduct
- Number uniquely identifying the configurable material.public void setGoodsIssueUnit(@Nullable String goodsIssueUnit)
Original property name from the Odata EDM: GoodsIssueUnit
goodsIssueUnit
- Unit in which the material is issued from the warehouse.public void setMaterialFreightGroup(@Nullable String materialFreightGroup)
Original property name from the Odata EDM: MaterialFreightGroup
Freight codes and classes in a freight code set are determined by the material freight group. The freight code set is used to determine freight costs and for communication with service agents.Maintain the corresponding group for the material.
materialFreightGroup
- The material freight group is used to group materials so that they can be classifed according to
freight code and class.public void setOriginalBatchReferenceMaterial(@Nullable String originalBatchReferenceMaterial)
Original property name from the Odata EDM: OriginalBatchReferenceMaterial
If you do not enter an original batch reference material (OB reference material), the system creates the original batch for the material in the production order item or the PO item.If you enter an OB reference material, the system creates the original batch for the OB reference material.If you are working with WIP batches, you can specify the reference material for a WIP batch in this field.You can enter the OB reference material at plant level (views Purchasing, Plant Data/Storage 1, or Work Scheduling), or at production version level (view MRP 4). If you enter different OB reference materials at each of the two levels, the system creates the original batch for the OB reference material entered in the production version.
originalBatchReferenceMaterial
- Material for which an original batch is created.public void setOriglBatchManagementIsRequired(@Nullable String origlBatchManagementIsRequired)
Original property name from the Odata EDM: OriglBatchManagementIsRequired
origlBatchManagementIsRequired
- Specifies whether original batches may be created for this material.public void setProductIsCriticalPrt(@Nullable Boolean productIsCriticalPrt)
Original property name from the Odata EDM: ProductIsCriticalPrt
In inventory sampling, critical parts are included in the complete-count area. The indicator is otherwise for your information only.
productIsCriticalPrt
- Specifies whether the material is a critical part, that is, a particularly important part.public void setProductLogisticsHandlingGroup(@Nullable String productLogisticsHandlingGroup)
Original property name from the Odata EDM: ProductLogisticsHandlingGroup
The logistics handling group is used in the calculation of working loads such as placement into stock and picking.Logistics handling groups are, for example, groups of materials with one or more of the following attributes:FragileDangerousBulkyLiquid
productLogisticsHandlingGroup
- Grouping of materials that are comparable with regard to their handling.protected String getEntityCollection()
VdmEntity
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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProductPlant>
protected 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, @Nonnull HttpDestinationProperties destination)
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductPlant>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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.@Nonnull public static ProductPlant.ProductPlantBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getPurchasingGroup()
Original property name from the Odata EDM: PurchasingGroup
Internally, the purchasing group is responsible for the procurement of a material or a class of materials.Externally, it is the medium through which contacts with the vendor are maintained.
@Nullable public String getCountryOfOrigin()
Original property name from the Odata EDM: CountryOfOrigin
You are legally required to specify the country of origin both for export and import.ExportYou prove the origin of a material by presenting the certificate of origin. This is issued and controlled by the relevant authority of the issuing country.This authority confirms the origin of a material and the required information with the certificate of origin.ImportThe relevant authority of the importing country - usually the Ministry of Economic Affairs - stipulates which regulations regarding customs and foreign trade law have to be observed for the certificates of origin accompanying goods.This information is used for foreign trade processing in different areas, such as:Foreign trade lawCustoms lawExample for Europe:Article 9 of the EU origin regulation is the legal regulation for the certificate of origin.The responsible authorities in Germany include:Chamber of Commerce (Industrie- und Handelskammer)Chamber of Handicrafts (Handwerkskammer)Customs office
@Nullable public String getRegionOfOrigin()
Original property name from the Odata EDM: RegionOfOrigin
You can enter a region of the country from which the goods originate.This information is required for the declarations regarding goods dispatches/imports and goods receipts/exports which are made to the authorities. Declarations to the authorities for foreign trade are a legal requirement in many countries.INTRASTAT - Declaration in the European UnionEXTRASTAT - Declaration in the European UnionIn the materials management document, the 'region of destination' field indicates the region of the receiving plant.
@Nullable public String getProductionInvtryManagedLoc()
Original property name from the Odata EDM: ProductionInvtryManagedLoc
If the material is a component, it is the issuing storage location to which a backflush is posted.If the material is produced, it is the receiving storage location to which the receipt of the material is posted.
@Nullable public String getProfileCode()
Original property name from the Odata EDM: ProfileCode
Materials management (for example, in purchasing and in inventory management)Production planning and controlPlant maintenanceWarehouse managementCosting with a quantity structureThe plant-specific material status restricts the usability of the material for the plant concerned, that is, it defines whether a warning or error message is displayed if you include the material in a particular function.The material may be a part under development or one to be discontinued.
@Nullable public LocalDateTime getProfileValidityStartDate()
Original property name from the Odata EDM: ProfileValidityStartDate
The valid-from date of the material status is considered only if it precedes or is the same as the planning date; that is, if the valid-from date is later than the planning date, it is not considered, even if it is within the planning horizon.ExampleI<-------------Planning horizon------------->I-----I--------------------I-----------------------I-->Planning date Valid-from date TimeIn this case, the valid-from date is not considered in materials planning since it is later than the planning date.PurchasingThe valid-from date of the material status is checked against the current date.ExampleYou block the material for purchasing from May 1, xxxx. A purchase order is created for the material on April 28, xxxx with a delivery date of May 10, xxxx. In this case, the valid-from date May 1, xxxx is checked against the purchase order date April 28, xxxx and the purchase order is allowed. Had you created the purchase order on May 3, xxxx, an error message would have been issued.
@Nullable public String getAvailabilityCheckType()
Original property name from the Odata EDM: AvailabilityCheckType
Specifies whether and how the system checks availability and generates requirements for materials planning.In Flexible Planning, defines - together with the checking rule - the different MRP elements that make up this key figure. The sum of these elements gives the key figure.Use 1: Availability Checking and Materials PlanningThe value you enter for use 1 (see above) is a default value which defines:Which MRP elements (for example, purchase orders, reservations) the system includes in the availability checkWhether the system checks availability only until the end of the replenishment lead time or whether it checks availability over the entire period for which MRP elements existWhether the system generates individual requirements or summarized requirements if you enter sales orders or deliveries for the materialUse 2: Flexible PlanningIf you use this field to define the MRP elements of a key figure for Flexible Planning, you must also select Document KF in the Customizing parameters of the information structure.
@Nullable public String getFiscalYearVariant()
Original property name from the Odata EDM: FiscalYearVariant
You can define the following using a fiscal year variant:How many posting periods are in a fiscal yearHow many special periods you requireHow the system determines the posting periods when postingIn the definition, you allocate your posting periods to the calendar year.Allocation control requires the same number of posting periods in the company code and in the assigned controlling area.This means that the number of posting periods in the fiscal year variants must be the same in the company code and in the controlling area. The period limits for the two fiscal year variants must also coincide.You must define which fiscal year variant is to be used for each company code. To do this, you must define the appropriate fiscal year variant. It must contain no more than 16 periods.Note:The company codes delivered with the standard system are allocated to the fiscal year variant that corresponds to the calendar year and which also uses four special periods.You define fiscal year variants as well as the allocation of fiscal year variant to the company code in Financial Accounting customizing.
@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
The Harmonized System contains code numbers for all goods that an be transported across national or regional boundaries. Goods are coded according to this nomenclature when declaring the import or export of goods to the proper authorities. The specification of standard commodity codes in declarations enables the authority to tally the quantities of imported or exported goods of specific goods categories for statistical purposes (INTRASTAT).
@Nullable public BigDecimal getGoodsReceiptDuration()
Original property name from the Odata EDM: GoodsReceiptDuration
@Nullable public String getMaintenanceStatusName()
Original property name from the Odata EDM: MaintenanceStatusName
Which user departments may maintain a material master record of a particular material typeWhich user departments have already maintained the material master record at a particular hierarchy levelThe overall maintenance status is made up of the individual maintenance statuses. The individual maintenance statuses have the following meaning:User department Maintenance statusWork scheduling AAccounting BClassification CMRP DPurchasing EProduction resources/tools FCosting GBasic data KStorage LForecasting PQuality management QWarehouse management SSales VPlant stocks XStorage location stocks Z
@Nullable public Boolean getIsMarkedForDeletion()
Original property name from the Odata EDM: IsMarkedForDeletion
@Nullable public String getMRPType()
Original property name from the Odata EDM: MRPType
Manual reorder point planningAutomatic reorder point planningForecast-based planningMaterial requirements planning with forecasts for unplanned consumptionMaster production scheduling (MPS)Demand-driven replenishment
@Nullable public String getMRPResponsible()
Original property name from the Odata EDM: MRPResponsible
@Nullable public String getABCIndicator()
Original property name from the Odata EDM: ABCIndicator
The three indicators have the following meanings:A - important part, high consumption valueB - less important part, medium consumption valueC - relatively unimportant part, low consumption value
@Nullable public BigDecimal getMinimumLotSizeQuantity()
Original property name from the Odata EDM: MinimumLotSizeQuantity
@Nullable public BigDecimal getMaximumLotSizeQuantity()
Original property name from the Odata EDM: MaximumLotSizeQuantity
The system takes this value into account during the automatic lot size calculation for planned orders and production orders. The lot size of the individual orders cannot exceed this value.
@Nullable public BigDecimal getFixedLotSizeQuantity()
Original property name from the Odata EDM: FixedLotSizeQuantity
If the amount of the shortage is less than the fixed lot size, it is the fixed lot size that is ordered or produced (and not the lesser quantity that is actually required).If the amount of the shortage is greater than the fixed lot size, a multiple of the fixed lot size is procured. The system creates several purchase order proposals for this purpose.
@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
The stock determination group combined with the stock determination rule at plant level create a key for the stock determination strategy.You enter the stock determination group in the material master record at plant level and it controls a stock determination based on material.
@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
You can select this indicator, if no stock-relevant inspection type has been selected in the inspection setup, and therefore no stock-relevant inspection lots can be created.If you activate a stock-relevant inspection type, the entry in this field is deselected and can no longer be maintained. In this case, a corresponding indicator in the inspection type controls whether goods are posted to inspection stock.
@Nullable public Boolean getIsBatchManagementRequired()
Original property name from the Odata EDM: IsBatchManagementRequired
This indicator can be set in the material master record manually or, if batches are valuated individually, it is set automatically for the plants concerned.Based on the settings that you maintain in Customizing for Batch Management under Specify Batch Level and Activate Status Management -> Batch Level if the batch level is set to Batch unique at material level, then the field is shown in the display mode, until batches are valuated at material level.If the batches are valuated at material level, then the indicator is set automatically for the corresponding plants as well. Note that the automatic setting of the indicator is based on the configuration that you make in Customizing for Batch Management under Specify Batch Management Default by Plant. In this case, if you wish to change this default setting, you can select/deselect the indicator manually.If the batch level is set to Batch unique at plant level, then the field becomes editable.The indicator cannot be changed if stocks exist in either the current period or in the previous period. The reason for checking the previous period is because stocks can be posted to this period when goods movements are entered.SAP Note 2564190
@Nullable public String getSerialNumberProfile()
Original property name from the Odata EDM: SerialNumberProfile
@Nullable public Boolean getIsNegativeStockAllowed()
Original property name from the Odata EDM: IsNegativeStockAllowed
Negative stock balances can only result if they are allowed at the following levels:Valuation area levelStorage location levelMaterial level (plant data in the material master record)Negative stock levels are already allowed for special stocks if negative stocks have been activated in the valuation area and for the special stock in question in the plant. You do not have to activate them in each material master record.You can have negative balances in stocks of the types "unrestricted-use" and "blocked".Negative balances are possible in the following special stocks:Vendor consignment (K)Stock of material provided to vendor (O)Consignment stock at customer (W)Sales order stock (E)Project stock (Q)Returnable packaging stock at customer (V)Returnable transport packaging (M)
@Nullable public BigDecimal getGoodsReceiptBlockedStockQty()
Original property name from the Odata EDM: GoodsReceiptBlockedStockQty
@Nullable public String getHasConsignmentCtrl()
Original property name from the Odata EDM: HasConsignmentCtrl
You can set the values for consignment control that you defined in Customizing for consignment control.When you set consignment control, please note the following:The system only evaluates the setting if you have activated Retail consignment processingNote that the settings for the Consignment Control and Source of Supply fields have to be coordinated:If you set procurement for own stock in consignment control, the search sequence for the supply source has to begin with "Normal".If you set procurement for consignment stock in consignment control, the search sequence for the supply source has to begin with "Consignment".
@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
The material is produced in-house.The material is procured externally.The material can be both produced in-house and procured externally.
@Nullable public Boolean getIsInternalBatchManaged()
Original property name from the Odata EDM: IsInternalBatchManaged
@Nullable public String getProductCFOPCategory()
Original property name from the Odata EDM: ProductCFOPCategory
The CFOP category is used to determine the proper CFOP.
@Nullable public Boolean getProductIsExciseTaxRelevant()
Original property name from the Odata EDM: ProductIsExciseTaxRelevant
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
@Nullable public String getConfigurableProduct()
Original property name from the Odata EDM: ConfigurableProduct
@Nullable public String getGoodsIssueUnit()
Original property name from the Odata EDM: GoodsIssueUnit
@Nullable public String getMaterialFreightGroup()
Original property name from the Odata EDM: MaterialFreightGroup
Freight codes and classes in a freight code set are determined by the material freight group. The freight code set is used to determine freight costs and for communication with service agents.Maintain the corresponding group for the material.
@Nullable public String getOriginalBatchReferenceMaterial()
Original property name from the Odata EDM: OriginalBatchReferenceMaterial
If you do not enter an original batch reference material (OB reference material), the system creates the original batch for the material in the production order item or the PO item.If you enter an OB reference material, the system creates the original batch for the OB reference material.If you are working with WIP batches, you can specify the reference material for a WIP batch in this field.You can enter the OB reference material at plant level (views Purchasing, Plant Data/Storage 1, or Work Scheduling), or at production version level (view MRP 4). If you enter different OB reference materials at each of the two levels, the system creates the original batch for the OB reference material entered in the production version.
@Nullable public String getOriglBatchManagementIsRequired()
Original property name from the Odata EDM: OriglBatchManagementIsRequired
@Nullable public Boolean getProductIsCriticalPrt()
Original property name from the Odata EDM: ProductIsCriticalPrt
In inventory sampling, critical parts are included in the complete-count area. The indicator is otherwise for your information only.
@Nullable public String getProductLogisticsHandlingGroup()
Original property name from the Odata EDM: ProductLogisticsHandlingGroup
The logistics handling group is used in the calculation of working loads such as placement into stock and picking.Logistics handling groups are, for example, groups of materials with one or more of the following attributes:FragileDangerousBulkyLiquid
@Nonnull public String toString()
toString
in class VdmObject<ProductPlant>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductPlant>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductPlant>
public int hashCode()
hashCode
in class VdmObject<ProductPlant>
Copyright © 2021 SAP SE. All rights reserved.