public class PurchasingQuotaArrangement extends Entity<PurchasingQuotaArrangement>
Modifier and Type | Class and Description |
---|---|
static class |
PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<PurchasingQuotaArrangement,String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static EntityField<PurchasingQuotaArrangement,Calendar> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static EntityField<PurchasingQuotaArrangement,Calendar> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static EntityField<PurchasingQuotaArrangement,String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static EntityField<PurchasingQuotaArrangement,String> |
MATERIAL_BASE_UNIT
Use with available fluent helpers to apply the MaterialBaseUnit field to query operations.
|
static EntityField<PurchasingQuotaArrangement,BigDecimal> |
MIN_QTY_FOR_SPLT_QUOTA
Use with available fluent helpers to apply the MinQtyForSpltQuota field to query operations.
|
static EntityField<PurchasingQuotaArrangement,String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static EntityField<PurchasingQuotaArrangement,String> |
QUOTA_ARRANGEMENT
Use with available fluent helpers to apply the QuotaArrangement field to query operations.
|
static EntityField<PurchasingQuotaArrangement,String> |
USER_DESCRIPTION
Use with available fluent helpers to apply the UserDescription field to query operations.
|
static EntityField<PurchasingQuotaArrangement,Calendar> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static EntityField<PurchasingQuotaArrangement,Calendar> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
Constructor and Description |
---|
PurchasingQuotaArrangement() |
PurchasingQuotaArrangement(String quotaArrangement,
String material,
String plant,
Calendar validityEndDate,
Calendar validityStartDate,
Calendar creationDate,
String createdByUser,
BigDecimal minQtyForSpltQuota,
Calendar lastChangeDateTime,
String userDescription,
String materialBaseUnit,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder |
builder() |
boolean |
equals(Object o) |
List<PurgQuotaArrangementItem> |
fetchPurgQuotaArrangementItem()
Fetches the PurgQuotaArrangementItem entities (one to many) associated with this entity.
|
static <T> EntityField<PurchasingQuotaArrangement,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Calendar |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getMinQtyForSpltQuota()
Constraints: Not nullable, Precision: 15, Scale: 3
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getQuotaArrangement()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<PurchasingQuotaArrangement> |
getType() |
String |
getUserDescription()
Constraints: Not nullable, Maximum length: 80
|
Calendar |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(Calendar creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setLastChangeDateTime(Calendar lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialBaseUnit(String materialBaseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setMinQtyForSpltQuota(BigDecimal minQtyForSpltQuota)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setQuotaArrangement(String quotaArrangement)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setUserDescription(String userDescription)
Constraints: Not nullable, Maximum length: 80
|
void |
setValidityEndDate(Calendar validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(Calendar validityStartDate)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
public static final EntityField<PurchasingQuotaArrangement,String> QUOTA_ARRANGEMENT
public static final EntityField<PurchasingQuotaArrangement,String> MATERIAL
public static final EntityField<PurchasingQuotaArrangement,String> PLANT
public static final EntityField<PurchasingQuotaArrangement,Calendar> VALIDITY_END_DATE
public static final EntityField<PurchasingQuotaArrangement,Calendar> VALIDITY_START_DATE
public static final EntityField<PurchasingQuotaArrangement,Calendar> CREATION_DATE
public static final EntityField<PurchasingQuotaArrangement,String> CREATED_BY_USER
public static final EntityField<PurchasingQuotaArrangement,BigDecimal> MIN_QTY_FOR_SPLT_QUOTA
public static final EntityField<PurchasingQuotaArrangement,Calendar> LAST_CHANGE_DATE_TIME
public static final EntityField<PurchasingQuotaArrangement,String> USER_DESCRIPTION
public static final EntityField<PurchasingQuotaArrangement,String> MATERIAL_BASE_UNIT
@Generated(value="lombok") public PurchasingQuotaArrangement()
@ConstructorProperties(value={"quotaArrangement","material","plant","validityEndDate","validityStartDate","creationDate","createdByUser","minQtyForSpltQuota","lastChangeDateTime","userDescription","materialBaseUnit","erpConfigContext"}) @Generated(value="lombok") public PurchasingQuotaArrangement(@Nullable String quotaArrangement, @Nullable String material, @Nullable String plant, @Nullable Calendar validityEndDate, @Nullable Calendar validityStartDate, @Nullable Calendar creationDate, @Nullable String createdByUser, @Nullable BigDecimal minQtyForSpltQuota, @Nullable Calendar lastChangeDateTime, @Nullable String userDescription, @Nullable String materialBaseUnit, ErpConfigContext erpConfigContext)
public Class<PurchasingQuotaArrangement> getType()
getType
in class Entity<PurchasingQuotaArrangement>
public static <T> EntityField<PurchasingQuotaArrangement,T> field(String fieldName, Class<T> fieldType)
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.public List<PurgQuotaArrangementItem> fetchPurgQuotaArrangementItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static PurchasingQuotaArrangement.PurchasingQuotaArrangementBuilder builder()
@Nullable @Generated(value="lombok") public String getQuotaArrangement()
@Nullable @Generated(value="lombok") public String getMaterial()
@Nullable @Generated(value="lombok") public String getPlant()
@Nullable @Generated(value="lombok") public Calendar getValidityEndDate()
@Nullable @Generated(value="lombok") public Calendar getValidityStartDate()
quota arrangement becomes valid.
@Nullable @Generated(value="lombok") public Calendar getCreationDate()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public BigDecimal getMinQtyForSpltQuota()
If the lot is smaller than or equal to the minimum quantity, the system will proceed on the basis of the usual quota arrangement logic. Allocation by quota using splitting quotas is only carried out via a requirement planning run, subject to the following preconditions: Through the appropriate entry in the field Quota arrangement usage (on the MRP data screen 2 or Purchasing screen) it must have been specified that a quota arrangement is to be applied in the planning run. The indicator for the splitting quota must be set for the the lot-sizing procedure used for materials planning purposes in Customizing.
@Nullable @Generated(value="lombok") public Calendar getLastChangeDateTime()
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose. Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone. The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure. See also GET TIME STAMP A UTC time stamp in short form is also available.
@Nullable @Generated(value="lombok") public String getUserDescription()
@Nullable @Generated(value="lombok") public String getMaterialBaseUnit()
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 Management In Inventory Management, the base unit of measure is the same as the stockkeeping unit. Services Services have units of measure of their own, including the following: Service unit Unit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level. Blanket Unit 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.
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setQuotaArrangement(@Nullable String quotaArrangement)
quotaArrangement
- @Generated(value="lombok") public void setMaterial(@Nullable String material)
material
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
plant
- @Generated(value="lombok") public void setValidityEndDate(@Nullable Calendar validityEndDate)
validityEndDate
- @Generated(value="lombok") public void setValidityStartDate(@Nullable Calendar validityStartDate)
quota arrangement becomes valid.
validityStartDate
- @Generated(value="lombok") public void setCreationDate(@Nullable Calendar creationDate)
creationDate
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setMinQtyForSpltQuota(@Nullable BigDecimal minQtyForSpltQuota)
If the lot is smaller than or equal to the minimum quantity, the system will proceed on the basis of the usual quota arrangement logic. Allocation by quota using splitting quotas is only carried out via a requirement planning run, subject to the following preconditions: Through the appropriate entry in the field Quota arrangement usage (on the MRP data screen 2 or Purchasing screen) it must have been specified that a quota arrangement is to be applied in the planning run. The indicator for the splitting quota must be set for the the lot-sizing procedure used for materials planning purposes in Customizing.
minQtyForSpltQuota
- @Generated(value="lombok") public void setLastChangeDateTime(@Nullable Calendar lastChangeDateTime)
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose. Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone. The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure. See also GET TIME STAMP A UTC time stamp in short form is also available.
lastChangeDateTime
- @Generated(value="lombok") public void setUserDescription(@Nullable String userDescription)
userDescription
- @Generated(value="lombok") public void setMaterialBaseUnit(@Nullable String materialBaseUnit)
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 Management In Inventory Management, the base unit of measure is the same as the stockkeeping unit. Services Services have units of measure of their own, including the following: Service unit Unit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level. Blanket Unit 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.
materialBaseUnit
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<PurchasingQuotaArrangement>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<PurchasingQuotaArrangement>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<PurchasingQuotaArrangement>
Copyright © 2017 SAP SE. All rights reserved.