public class ProductPlantSales extends VdmEntity<ProductPlantSales>
Original entity name from the Odata EDM: A_ProductPlantSalesType
Modifier and Type | Class and Description |
---|---|
static class |
ProductPlantSales.ProductPlantSalesBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductPlantSalesSelectable |
ALL_FIELDS
Selector for all available fields of ProductPlantSales.
|
static ProductPlantSalesField<String> |
AVAILABILITY_CHECK_TYPE
Use with available fluent helpers to apply the AvailabilityCheckType field to query operations.
|
static ProductPlantSalesField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ProductPlantSalesField<BigDecimal> |
CAP_PLANNING_QUANTITY_IN_BASE_UO_M
Use with available fluent helpers to apply the CapPlanningQuantityInBaseUoM field to query operations.
|
static ProductPlantSalesField<String> |
LOADING_GROUP
Use with available fluent helpers to apply the LoadingGroup field to query operations.
|
static ProductPlantSalesField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductPlantSalesField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductPlantSalesField<BigDecimal> |
PRODUCT_SHIPPING_PROCESSING_TIME
Use with available fluent helpers to apply the ProductShippingProcessingTime field to query operations.
|
static ProductPlantSalesField<String> |
REPLACEMENT_PART_TYPE
Use with available fluent helpers to apply the ReplacementPartType field to query operations.
|
static ProductPlantSalesField<BigDecimal> |
WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS
Use with available fluent helpers to apply the WrkCentersShipgSetupTimeInDays field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductPlantSales() |
ProductPlantSales(String product,
String plant,
String loadingGroup,
String replacementPartType,
BigDecimal capPlanningQuantityInBaseUoM,
BigDecimal productShippingProcessingTime,
BigDecimal wrkCentersShipgSetupTimeInDays,
String availabilityCheckType,
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 ProductPlantSales.ProductPlantSalesBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductPlantSalesField<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 |
getAvailabilityCheckType()
Constraints: Not nullable, Maximum length: 2
|
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getCapPlanningQuantityInBaseUoM()
Constraints: Not nullable, Precision: 13, Scale: 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() |
String |
getLoadingGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getProductShippingProcessingTime()
Constraints: Not nullable, Precision: 5, Scale: 2
|
String |
getReplacementPartType()
Constraints: Not nullable, Maximum length: 1
|
Class<ProductPlantSales> |
getType() |
BigDecimal |
getWrkCentersShipgSetupTimeInDays()
Constraints: Not nullable, Precision: 5, Scale: 2
|
int |
hashCode() |
void |
setAvailabilityCheckType(String availabilityCheckType)
Constraints: Not nullable, Maximum length: 2
|
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapPlanningQuantityInBaseUoM(BigDecimal capPlanningQuantityInBaseUoM)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setLoadingGroup(String loadingGroup)
Constraints: Not nullable, Maximum length: 4
|
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 |
setProductShippingProcessingTime(BigDecimal productShippingProcessingTime)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setReplacementPartType(String replacementPartType)
Constraints: Not nullable, Maximum length: 1
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setWrkCentersShipgSetupTimeInDays(BigDecimal wrkCentersShipgSetupTimeInDays)
Constraints: Not nullable, Precision: 5, Scale: 2
|
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 ProductPlantSalesSelectable ALL_FIELDS
public static final ProductPlantSalesField<String> PRODUCT
public static final ProductPlantSalesField<String> PLANT
public static final ProductPlantSalesField<String> LOADING_GROUP
public static final ProductPlantSalesField<String> REPLACEMENT_PART_TYPE
public static final ProductPlantSalesField<BigDecimal> CAP_PLANNING_QUANTITY_IN_BASE_UO_M
public static final ProductPlantSalesField<BigDecimal> PRODUCT_SHIPPING_PROCESSING_TIME
public static final ProductPlantSalesField<BigDecimal> WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS
public static final ProductPlantSalesField<String> AVAILABILITY_CHECK_TYPE
public static final ProductPlantSalesField<String> BASE_UNIT
public ProductPlantSales()
public ProductPlantSales(@Nullable String product, @Nullable String plant, @Nullable String loadingGroup, @Nullable String replacementPartType, @Nullable BigDecimal capPlanningQuantityInBaseUoM, @Nullable BigDecimal productShippingProcessingTime, @Nullable BigDecimal wrkCentersShipgSetupTimeInDays, @Nullable String availabilityCheckType, @Nullable String baseUnit)
@Nonnull public Class<ProductPlantSales> getType()
getType
in class VdmObject<ProductPlantSales>
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 setLoadingGroup(@Nullable String loadingGroup)
Original property name from the Odata EDM: LoadingGroup
The system uses the loading group, as well as the shipping conditions and the delivering plant, to automatically determine the item's shipping point.Different loading groups could consist, for example, of materials that require the same:Equipment during loading (for example, a fork-lift truck)Amount of time for loadingLoading point (for example, loading bay #6)
loadingGroup
- A grouping of materials that share the same loading requirements.public void setReplacementPartType(@Nullable String replacementPartType)
Original property name from the Odata EDM: ReplacementPartType
The SD billing application uses this indicator to disclose used-parts VAT.
replacementPartType
- Indicator that specifies whether the material can be a replacement part, must be a replacement part,
or is not a replacement part.public void setCapPlanningQuantityInBaseUoM(@Nullable BigDecimal capPlanningQuantityInBaseUoM)
Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM
capPlanningQuantityInBaseUoM
- Quantity to which the shipping processing time refers. It is measured in the base unit of measure.public void setProductShippingProcessingTime(@Nullable BigDecimal productShippingProcessingTime)
Original property name from the Odata EDM: ProductShippingProcessingTime
Loading the van that transports the material to the customer.The shipping processing time is used for capacity planning in shipping.It refers to the base quantity for capacity planning in shipping.
productShippingProcessingTime
- Time that is needed in shipping to process a specific quantity of a material.public void setWrkCentersShipgSetupTimeInDays(@Nullable BigDecimal wrkCentersShipgSetupTimeInDays)
Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays
Setting up the fork lift that loads the material onto the truck.Shipping setup time is used for capacity planning in shipping.
wrkCentersShipgSetupTimeInDays
- The time needed in shipping to set up the work centers where the material is processed. It is
independent of quantity.public 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 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<ProductPlantSales>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductPlantSales>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductPlantSales>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductPlantSales>
@Nonnull public static <T> ProductPlantSalesField<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> ProductPlantSalesField<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<ProductPlantSales>
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<ProductPlantSales>
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<ProductPlantSales>
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<ProductPlantSales>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductPlantSales.ProductPlantSalesBuilder 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 getLoadingGroup()
Original property name from the Odata EDM: LoadingGroup
The system uses the loading group, as well as the shipping conditions and the delivering plant, to automatically determine the item's shipping point.Different loading groups could consist, for example, of materials that require the same:Equipment during loading (for example, a fork-lift truck)Amount of time for loadingLoading point (for example, loading bay #6)
@Nullable public String getReplacementPartType()
Original property name from the Odata EDM: ReplacementPartType
The SD billing application uses this indicator to disclose used-parts VAT.
@Nullable public BigDecimal getCapPlanningQuantityInBaseUoM()
Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM
@Nullable public BigDecimal getProductShippingProcessingTime()
Original property name from the Odata EDM: ProductShippingProcessingTime
Loading the van that transports the material to the customer.The shipping processing time is used for capacity planning in shipping.It refers to the base quantity for capacity planning in shipping.
@Nullable public BigDecimal getWrkCentersShipgSetupTimeInDays()
Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays
Setting up the fork lift that loads the material onto the truck.Shipping setup time is used for capacity planning in shipping.
@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 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<ProductPlantSales>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductPlantSales>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductPlantSales>
public int hashCode()
hashCode
in class VdmObject<ProductPlantSales>
Copyright © 2021 SAP SE. All rights reserved.