public class ProductWorkScheduling extends VdmEntity<ProductWorkScheduling>
Original entity name from the Odata EDM: A_ProductWorkSchedulingType
Modifier and Type | Class and Description |
---|---|
static class |
ProductWorkScheduling.ProductWorkSchedulingBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductWorkSchedulingSelectable |
ALL_FIELDS
Selector for all available fields of ProductWorkScheduling.
|
static ProductWorkSchedulingField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ProductWorkSchedulingField<BigDecimal> |
MATERIAL_BASE_QUANTITY
Use with available fluent helpers to apply the MaterialBaseQuantity field to query operations.
|
static ProductWorkSchedulingField<BigDecimal> |
OVER_DELIV_TOLERANCE_LIMIT
Use with available fluent helpers to apply the OverDelivToleranceLimit field to query operations.
|
static ProductWorkSchedulingField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductWorkSchedulingField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductWorkSchedulingField<String> |
PRODUCTION_INVTRY_MANAGED_LOC
Use with available fluent helpers to apply the ProductionInvtryManagedLoc field to query operations.
|
static ProductWorkSchedulingField<BigDecimal> |
UNDER_DELIV_TOLERANCE_LIMIT
Use with available fluent helpers to apply the UnderDelivToleranceLimit field to query operations.
|
static ProductWorkSchedulingField<Boolean> |
UNLIMITED_OVER_DELIV_IS_ALLOWED
Use with available fluent helpers to apply the UnlimitedOverDelivIsAllowed field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductWorkScheduling() |
ProductWorkScheduling(String product,
String plant,
BigDecimal materialBaseQuantity,
Boolean unlimitedOverDelivIsAllowed,
BigDecimal overDelivToleranceLimit,
BigDecimal underDelivToleranceLimit,
String productionInvtryManagedLoc,
String baseUnit) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProductWorkScheduling.ProductWorkSchedulingBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductWorkSchedulingField<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 |
getBaseUnit()
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.
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getMaterialBaseQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getOverDelivToleranceLimit()
Constraints: Not nullable, Precision: 3, Scale: 1
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getProductionInvtryManagedLoc()
Constraints: Not nullable, Maximum length: 4
|
Class<ProductWorkScheduling> |
getType() |
BigDecimal |
getUnderDelivToleranceLimit()
Constraints: Not nullable, Precision: 3, Scale: 1
|
Boolean |
getUnlimitedOverDelivIsAllowed()
Constraints: none
|
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setMaterialBaseQuantity(BigDecimal materialBaseQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOverDelivToleranceLimit(BigDecimal overDelivToleranceLimit)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProductionInvtryManagedLoc(String productionInvtryManagedLoc)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setUnderDelivToleranceLimit(BigDecimal underDelivToleranceLimit)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setUnlimitedOverDelivIsAllowed(Boolean unlimitedOverDelivIsAllowed)
Constraints: none
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductWorkSchedulingSelectable ALL_FIELDS
public static final ProductWorkSchedulingField<String> PRODUCT
public static final ProductWorkSchedulingField<String> PLANT
public static final ProductWorkSchedulingField<BigDecimal> MATERIAL_BASE_QUANTITY
public static final ProductWorkSchedulingField<Boolean> UNLIMITED_OVER_DELIV_IS_ALLOWED
public static final ProductWorkSchedulingField<BigDecimal> OVER_DELIV_TOLERANCE_LIMIT
public static final ProductWorkSchedulingField<BigDecimal> UNDER_DELIV_TOLERANCE_LIMIT
public static final ProductWorkSchedulingField<String> PRODUCTION_INVTRY_MANAGED_LOC
public static final ProductWorkSchedulingField<String> BASE_UNIT
public ProductWorkScheduling()
public ProductWorkScheduling(@Nullable String product, @Nullable String plant, @Nullable BigDecimal materialBaseQuantity, @Nullable Boolean unlimitedOverDelivIsAllowed, @Nullable BigDecimal overDelivToleranceLimit, @Nullable BigDecimal underDelivToleranceLimit, @Nullable String productionInvtryManagedLoc, @Nullable String baseUnit)
@Nonnull public Class<ProductWorkScheduling> getType()
getType
in class VdmObject<ProductWorkScheduling>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Alphanumeric key uniquely identifying the product.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setMaterialBaseQuantity(@Nullable BigDecimal materialBaseQuantity)
Original property name from the Odata EDM: MaterialBaseQuantity
materialBaseQuantity
- Quantity to which the in-house production time and the processing time of the material relate.public void setUnlimitedOverDelivIsAllowed(@Nullable Boolean unlimitedOverDelivIsAllowed)
Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed
unlimitedOverDelivIsAllowed
- Indicator that specifies whether the quantity actually delivered may infinitely exceed the required
production order quantity.public void setOverDelivToleranceLimit(@Nullable BigDecimal overDelivToleranceLimit)
Original property name from the Odata EDM: OverDelivToleranceLimit
overDelivToleranceLimit
- Percent by which the quantity that is posted to goods receipt may exceed the production order
quantity.public void setUnderDelivToleranceLimit(@Nullable BigDecimal underDelivToleranceLimit)
Original property name from the Odata EDM: UnderDelivToleranceLimit
underDelivToleranceLimit
- Percentage rate that specifies the percent below which the quantity posted for a goods receipt may
drop below the production order quantity.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 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.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductWorkScheduling>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductWorkScheduling>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductWorkScheduling>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductWorkScheduling>
@Nonnull public static <T> ProductWorkSchedulingField<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> ProductWorkSchedulingField<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<ProductWorkScheduling>
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<ProductWorkScheduling>
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<ProductWorkScheduling>
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<ProductWorkScheduling>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductWorkScheduling.ProductWorkSchedulingBuilder 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 BigDecimal getMaterialBaseQuantity()
Original property name from the Odata EDM: MaterialBaseQuantity
@Nullable public Boolean getUnlimitedOverDelivIsAllowed()
Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed
@Nullable public BigDecimal getOverDelivToleranceLimit()
Original property name from the Odata EDM: OverDelivToleranceLimit
@Nullable public BigDecimal getUnderDelivToleranceLimit()
Original property name from the Odata EDM: UnderDelivToleranceLimit
@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 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.
@Nonnull public String toString()
toString
in class VdmObject<ProductWorkScheduling>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductWorkScheduling>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductWorkScheduling>
public int hashCode()
hashCode
in class VdmObject<ProductWorkScheduling>
Copyright © 2020 SAP SE. All rights reserved.