public class CustomerMaterial extends VdmEntity<CustomerMaterial>
Modifier and Type | Class and Description |
---|---|
static class |
CustomerMaterial.CustomerMaterialBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerMaterialSelectable |
ALL_FIELDS
Selector for all available fields of CustomerMaterial.
|
static CustomerMaterialField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static CustomerMaterialField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerMaterialField<String> |
CUSTOMER_MATERIAL_ITEM_USAGE
Use with available fluent helpers to apply the CustomerMaterialItemUsage field to query operations.
|
static CustomerMaterialField<String> |
DELIVERY_PRIORITY
Use with available fluent helpers to apply the DeliveryPriority field to query operations.
|
static CustomerMaterialField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static CustomerMaterialField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static CustomerMaterialField<String> |
MATERIAL_BY_CUSTOMER
Use with available fluent helpers to apply the MaterialByCustomer field to query operations.
|
static CustomerMaterialField<String> |
MATERIAL_DESCRIPTION_BY_CUSTOMER
Use with available fluent helpers to apply the MaterialDescriptionByCustomer field to query operations.
|
static CustomerMaterialField<BigDecimal> |
MAX_NMBR_OF_PARTIAL_DELIVERY
Use with available fluent helpers to apply the MaxNmbrOfPartialDelivery field to query operations.
|
static CustomerMaterialField<BigDecimal> |
MIN_DELIVERY_QTY_IN_BASE_UNIT
Use with available fluent helpers to apply the MinDeliveryQtyInBaseUnit field to query operations.
|
static CustomerMaterialField<BigDecimal> |
OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT
Use with available fluent helpers to apply the OverdelivTolrtdLmtRatioInPct field to query operations.
|
static CustomerMaterialField<String> |
PARTIAL_DELIVERY_IS_ALLOWED
Use with available fluent helpers to apply the PartialDeliveryIsAllowed field to query operations.
|
static CustomerMaterialField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static CustomerMaterialField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static CustomerMaterialField<BigDecimal> |
UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT
Use with available fluent helpers to apply the UnderdelivTolrtdLmtRatioInPct field to query operations.
|
static CustomerMaterialField<Boolean> |
UNLIMITED_OVERDELIVERY_IS_ALLOWED
Use with available fluent helpers to apply the UnlimitedOverdeliveryIsAllowed field to query operations.
|
Constructor and Description |
---|
CustomerMaterial() |
CustomerMaterial(String salesOrganization,
String distributionChannel,
String customer,
String material,
String materialByCustomer,
String materialDescriptionByCustomer,
String plant,
String deliveryPriority,
BigDecimal minDeliveryQtyInBaseUnit,
String baseUnit,
String partialDeliveryIsAllowed,
BigDecimal maxNmbrOfPartialDelivery,
BigDecimal underdelivTolrtdLmtRatioInPct,
BigDecimal overdelivTolrtdLmtRatioInPct,
Boolean unlimitedOverdeliveryIsAllowed,
String customerMaterialItemUsage,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CustomerMaterial.CustomerMaterialBuilder |
builder() |
boolean |
equals(Object o) |
static <T> CustomerMaterialField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerMaterialItemUsage()
Constraints: Not nullable, Maximum length: 4
|
String |
getDeliveryPriority()
Constraints: Not nullable, Maximum length: 2
|
String |
getDistributionChannel()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialByCustomer()
Constraints: Not nullable, Maximum length: 35
|
String |
getMaterialDescriptionByCustomer()
Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getMaxNmbrOfPartialDelivery()
Constraints: Not nullable, Precision: 1, Scale: 0
|
BigDecimal |
getMinDeliveryQtyInBaseUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getOverdelivTolrtdLmtRatioInPct()
Constraints: Not nullable, Precision: 3, Scale: 1
|
String |
getPartialDeliveryIsAllowed()
Constraints: Not nullable, Maximum length: 1
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Class<CustomerMaterial> |
getType() |
BigDecimal |
getUnderdelivTolrtdLmtRatioInPct()
Constraints: Not nullable, Precision: 3, Scale: 1
|
Boolean |
getUnlimitedOverdeliveryIsAllowed()
Constraints: none
|
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerMaterialItemUsage(String customerMaterialItemUsage)
Constraints: Not nullable, Maximum length: 4
|
void |
setDeliveryPriority(String deliveryPriority)
Constraints: Not nullable, Maximum length: 2
|
void |
setDistributionChannel(String distributionChannel)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialByCustomer(String materialByCustomer)
Constraints: Not nullable, Maximum length: 35
|
void |
setMaterialDescriptionByCustomer(String materialDescriptionByCustomer)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaxNmbrOfPartialDelivery(BigDecimal maxNmbrOfPartialDelivery)
Constraints: Not nullable, Precision: 1, Scale: 0
|
void |
setMinDeliveryQtyInBaseUnit(BigDecimal minDeliveryQtyInBaseUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOverdelivTolrtdLmtRatioInPct(BigDecimal overdelivTolrtdLmtRatioInPct)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setPartialDeliveryIsAllowed(String partialDeliveryIsAllowed)
Constraints: Not nullable, Maximum length: 1
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganization(String salesOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setUnderdelivTolrtdLmtRatioInPct(BigDecimal underdelivTolrtdLmtRatioInPct)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setUnlimitedOverdeliveryIsAllowed(Boolean unlimitedOverdeliveryIsAllowed)
Constraints: none
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final CustomerMaterialSelectable ALL_FIELDS
public static final CustomerMaterialField<String> SALES_ORGANIZATION
public static final CustomerMaterialField<String> DISTRIBUTION_CHANNEL
public static final CustomerMaterialField<String> CUSTOMER
public static final CustomerMaterialField<String> MATERIAL
public static final CustomerMaterialField<String> MATERIAL_BY_CUSTOMER
public static final CustomerMaterialField<String> MATERIAL_DESCRIPTION_BY_CUSTOMER
public static final CustomerMaterialField<String> PLANT
public static final CustomerMaterialField<String> DELIVERY_PRIORITY
public static final CustomerMaterialField<BigDecimal> MIN_DELIVERY_QTY_IN_BASE_UNIT
public static final CustomerMaterialField<String> BASE_UNIT
public static final CustomerMaterialField<String> PARTIAL_DELIVERY_IS_ALLOWED
public static final CustomerMaterialField<BigDecimal> MAX_NMBR_OF_PARTIAL_DELIVERY
public static final CustomerMaterialField<BigDecimal> UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT
public static final CustomerMaterialField<BigDecimal> OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT
public static final CustomerMaterialField<Boolean> UNLIMITED_OVERDELIVERY_IS_ALLOWED
public static final CustomerMaterialField<String> CUSTOMER_MATERIAL_ITEM_USAGE
@Generated(value="lombok") public CustomerMaterial()
@ConstructorProperties(value={"salesOrganization","distributionChannel","customer","material","materialByCustomer","materialDescriptionByCustomer","plant","deliveryPriority","minDeliveryQtyInBaseUnit","baseUnit","partialDeliveryIsAllowed","maxNmbrOfPartialDelivery","underdelivTolrtdLmtRatioInPct","overdelivTolrtdLmtRatioInPct","unlimitedOverdeliveryIsAllowed","customerMaterialItemUsage","erpConfigContext"}) @Generated(value="lombok") public CustomerMaterial(@Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String customer, @Nullable String material, @Nullable String materialByCustomer, @Nullable String materialDescriptionByCustomer, @Nullable String plant, @Nullable String deliveryPriority, @Nullable BigDecimal minDeliveryQtyInBaseUnit, @Nullable String baseUnit, @Nullable String partialDeliveryIsAllowed, @Nullable BigDecimal maxNmbrOfPartialDelivery, @Nullable BigDecimal underdelivTolrtdLmtRatioInPct, @Nullable BigDecimal overdelivTolrtdLmtRatioInPct, @Nullable Boolean unlimitedOverdeliveryIsAllowed, @Nullable String customerMaterialItemUsage, @Nullable ErpConfigContext erpConfigContext)
public Class<CustomerMaterial> getType()
getType
in class VdmObject<CustomerMaterial>
public static <T> CustomerMaterialField<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.@Generated(value="lombok") public static CustomerMaterial.CustomerMaterialBuilder builder()
@Nullable @Generated(value="lombok") public String getSalesOrganization()
You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area.
@Nullable @Generated(value="lombok") public String getDistributionChannel()
You can maintain information about customers and materials by sales organization and distribution channel. Within a sales organization you can deliver goods to a given customer through more than one distribution channel. You can assign a distribution channel to one or more sales organizations. If, for example, you have numerous sales organizations, each sales organization may use the "Wholesale" distribution channel. For each combination of sales organization and distribution channel, you can further assign one or more of the divisions that are defined for the sales organization. You can, for example, assign "Food" and "Non-food" divisions to the "Wholesale" distribution channel. A particular combination of sales organization, distribution channel, and division is known as a sales area.
@Nullable @Generated(value="lombok") public String getCustomer()
Enter the number of your customer.
@Nullable @Generated(value="lombok") public String getMaterial()
@Nullable @Generated(value="lombok") public String getMaterialByCustomer()
If the customer uses a different identifier than the one you use for the material, you can include this information in a customer-material info record. You can also include in this record specific shipping details, such as Minimum delivery quantity Partial delivery conditions Enter a value from an existing customer-material info record.
@Nullable @Generated(value="lombok") public String getMaterialDescriptionByCustomer()
If you include the customer's description as short text in the customer-material info record, the system automatically uses the text during sales document processing. When you create a sales order, for example, the customer's description appears instead of the short text from the material master record.
@Nullable @Generated(value="lombok") public String getPlant()
@Nullable @Generated(value="lombok") public String getDeliveryPriority()
You can assign delivery priority to either a particular material or to a combination of customer and material. When you process deliveries collectively, you can use delivery priority as one of the selection criteria.
@Nullable @Generated(value="lombok") public BigDecimal getMinDeliveryQtyInBaseUnit()
@Nullable @Generated(value="lombok") public String getBaseUnit()
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.
@Nullable @Generated(value="lombok") public String getPartialDeliveryIsAllowed()
You use this field to control partial deliveries at the item level. If the customer allows partial delivery, you can choose from different partial delivery options. For example, you can specify whether the customer allows you to make one delivery attempt only on the requested delivery date or whether unlimited delivery attempts are possible. When partial delivery indicator 'D' is set, the order can never have status 'fully delivered'. You must complete each item by entering a reason for rejection. This could be applied to scheduling agreements, for example. You can enter a value in this field only if the customer allows partial deliveries for the entire sales document.
@Nullable @Generated(value="lombok") public BigDecimal getMaxNmbrOfPartialDelivery()
The system can propose a number from the shipping information in the customer master record. During sales order processing, you can change the proposed value in the shipping information for each item in the sales document. You can only specify a maximum number of partial deliveries if the Partial delivery/item field (in either the customer master record or in the sales document) indicates that partial deliveries are allowed.
@Nullable @Generated(value="lombok") public BigDecimal getUnderdelivTolrtdLmtRatioInPct()
@Nullable @Generated(value="lombok") public BigDecimal getOverdelivTolrtdLmtRatioInPct()
If you have set the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed), this takes priority. It makes no sense to define a tolerance limit for overdelivery in such case.
@Nullable @Generated(value="lombok") public Boolean getUnlimitedOverdeliveryIsAllowed()
If the customer allows unlimited over- and underdeliveries, you cannot enter values in the fields that specify over- and underdelivery tolerance.
@Nullable @Generated(value="lombok") public String getCustomerMaterialItemUsage()
This indicator can be used for determination of item categories, where you can use it to control which other item categories are to be found in a certain environment (text items and packing items, for example). It can also control which items are to be billed in a service quotation or the corresponding sales order and which are only there for statistical reasons.
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setSalesOrganization(@Nullable String salesOrganization)
You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area.
salesOrganization
- @Generated(value="lombok") public void setDistributionChannel(@Nullable String distributionChannel)
You can maintain information about customers and materials by sales organization and distribution channel. Within a sales organization you can deliver goods to a given customer through more than one distribution channel. You can assign a distribution channel to one or more sales organizations. If, for example, you have numerous sales organizations, each sales organization may use the "Wholesale" distribution channel. For each combination of sales organization and distribution channel, you can further assign one or more of the divisions that are defined for the sales organization. You can, for example, assign "Food" and "Non-food" divisions to the "Wholesale" distribution channel. A particular combination of sales organization, distribution channel, and division is known as a sales area.
distributionChannel
- @Generated(value="lombok") public void setCustomer(@Nullable String customer)
Enter the number of your customer.
customer
- @Generated(value="lombok") public void setMaterial(@Nullable String material)
material
- @Generated(value="lombok") public void setMaterialByCustomer(@Nullable String materialByCustomer)
If the customer uses a different identifier than the one you use for the material, you can include this information in a customer-material info record. You can also include in this record specific shipping details, such as Minimum delivery quantity Partial delivery conditions Enter a value from an existing customer-material info record.
materialByCustomer
- @Generated(value="lombok") public void setMaterialDescriptionByCustomer(@Nullable String materialDescriptionByCustomer)
If you include the customer's description as short text in the customer-material info record, the system automatically uses the text during sales document processing. When you create a sales order, for example, the customer's description appears instead of the short text from the material master record.
materialDescriptionByCustomer
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
plant
- @Generated(value="lombok") public void setDeliveryPriority(@Nullable String deliveryPriority)
You can assign delivery priority to either a particular material or to a combination of customer and material. When you process deliveries collectively, you can use delivery priority as one of the selection criteria.
deliveryPriority
- @Generated(value="lombok") public void setMinDeliveryQtyInBaseUnit(@Nullable BigDecimal minDeliveryQtyInBaseUnit)
minDeliveryQtyInBaseUnit
- @Generated(value="lombok") public void setBaseUnit(@Nullable String 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 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.
baseUnit
- @Generated(value="lombok") public void setPartialDeliveryIsAllowed(@Nullable String partialDeliveryIsAllowed)
You use this field to control partial deliveries at the item level. If the customer allows partial delivery, you can choose from different partial delivery options. For example, you can specify whether the customer allows you to make one delivery attempt only on the requested delivery date or whether unlimited delivery attempts are possible. When partial delivery indicator 'D' is set, the order can never have status 'fully delivered'. You must complete each item by entering a reason for rejection. This could be applied to scheduling agreements, for example. You can enter a value in this field only if the customer allows partial deliveries for the entire sales document.
partialDeliveryIsAllowed
- @Generated(value="lombok") public void setMaxNmbrOfPartialDelivery(@Nullable BigDecimal maxNmbrOfPartialDelivery)
The system can propose a number from the shipping information in the customer master record. During sales order processing, you can change the proposed value in the shipping information for each item in the sales document. You can only specify a maximum number of partial deliveries if the Partial delivery/item field (in either the customer master record or in the sales document) indicates that partial deliveries are allowed.
maxNmbrOfPartialDelivery
- @Generated(value="lombok") public void setUnderdelivTolrtdLmtRatioInPct(@Nullable BigDecimal underdelivTolrtdLmtRatioInPct)
underdelivTolrtdLmtRatioInPct
- @Generated(value="lombok") public void setOverdelivTolrtdLmtRatioInPct(@Nullable BigDecimal overdelivTolrtdLmtRatioInPct)
If you have set the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed), this takes priority. It makes no sense to define a tolerance limit for overdelivery in such case.
overdelivTolrtdLmtRatioInPct
- @Generated(value="lombok") public void setUnlimitedOverdeliveryIsAllowed(@Nullable Boolean unlimitedOverdeliveryIsAllowed)
If the customer allows unlimited over- and underdeliveries, you cannot enter values in the fields that specify over- and underdelivery tolerance.
unlimitedOverdeliveryIsAllowed
- @Generated(value="lombok") public void setCustomerMaterialItemUsage(@Nullable String customerMaterialItemUsage)
This indicator can be used for determination of item categories, where you can use it to control which other item categories are to be found in a certain environment (text items and packing items, for example). It can also control which items are to be billed in a service quotation or the corresponding sales order and which are only there for statistical reasons.
customerMaterialItemUsage
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<CustomerMaterial>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<CustomerMaterial>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<CustomerMaterial>
Copyright © 2017 SAP SE. All rights reserved.