public class CustomerMaterial extends VdmEntity<CustomerMaterial>
Original entity name from the Odata EDM: A_CustomerMaterialType
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> |
E_TAG
Use with available fluent helpers to apply the ETag 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> |
SALES_QTY_TO_BASE_QTY_DNMNTR
Use with available fluent helpers to apply the SalesQtyToBaseQtyDnmntr field to query operations.
|
static CustomerMaterialField<BigDecimal> |
SALES_QTY_TO_BASE_QTY_NMRTR
Use with available fluent helpers to apply the SalesQtyToBaseQtyNmrtr field to query operations.
|
static CustomerMaterialField<String> |
SALES_UNIT
Use with available fluent helpers to apply the SalesUnit 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.
|
changedOriginalFields
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,
String salesUnit,
BigDecimal salesQtyToBaseQtyDnmntr,
BigDecimal salesQtyToBaseQtyNmrtr,
String eTag) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static CustomerMaterial.CustomerMaterialBuilder |
builder() |
protected boolean |
canEqual(Object other) |
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.
|
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
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerMaterialItemUsage()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath() |
String |
getDeliveryPriority()
Constraints: Not nullable, Maximum length: 2
|
String |
getDistributionChannel()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getETag()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
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
|
BigDecimal |
getSalesQtyToBaseQtyDnmntr()
Constraints: Not nullable, Precision: 5, Scale: 0
|
BigDecimal |
getSalesQtyToBaseQtyNmrtr()
Constraints: Not nullable, Precision: 5, Scale: 0
|
String |
getSalesUnit()
Constraints: Not nullable, Maximum length: 3
|
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)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setETag(String eTag)
Constraints: Not nullable, Maximum length: 10
|
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 |
setSalesQtyToBaseQtyDnmntr(BigDecimal salesQtyToBaseQtyDnmntr)
Constraints: Not nullable, Precision: 5, Scale: 0
|
void |
setSalesQtyToBaseQtyNmrtr(BigDecimal salesQtyToBaseQtyNmrtr)
Constraints: Not nullable, Precision: 5, Scale: 0
|
void |
setSalesUnit(String salesUnit)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setUnderdelivTolrtdLmtRatioInPct(BigDecimal underdelivTolrtdLmtRatioInPct)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setUnlimitedOverdeliveryIsAllowed(Boolean unlimitedOverdeliveryIsAllowed)
Constraints: none
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
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
public static final CustomerMaterialField<String> SALES_UNIT
public static final CustomerMaterialField<BigDecimal> SALES_QTY_TO_BASE_QTY_DNMNTR
public static final CustomerMaterialField<BigDecimal> SALES_QTY_TO_BASE_QTY_NMRTR
public static final CustomerMaterialField<String> E_TAG
public CustomerMaterial()
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 String salesUnit, @Nullable BigDecimal salesQtyToBaseQtyDnmntr, @Nullable BigDecimal salesQtyToBaseQtyNmrtr, @Nullable String eTag)
@Nonnull public Class<CustomerMaterial> getType()
getType
in class VdmObject<CustomerMaterial>
public void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: 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
- An organizational unit responsible for the sale of certain products or services. The responsibility of
a sales organization may include legal liability for products and customer claims.public void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: 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
- The way in which products or services reach the customer. Typical examples of distribution channels
are wholesale, retail, or direct sales.public void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
Enter the number of your customer.
customer
- The customer to whom the condition or the customer-material info record applies.public void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the material.public void setMaterialByCustomer(@Nullable String materialByCustomer)
Original property name from the Odata EDM: 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 asMinimum delivery quantityPartial delivery conditionsEnter a value from an existing customer-material info record.
materialByCustomer
- Uniquely identifies the material from the customer's point of view.public void setMaterialDescriptionByCustomer(@Nullable String materialDescriptionByCustomer)
Original property name from the Odata EDM: 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
- The short text that the customer uses to describe the material.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key that uniquely identifies a plant.public void setDeliveryPriority(@Nullable String deliveryPriority)
Original property name from the Odata EDM: 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
- The delivery priority assigned to an item.public void setMinDeliveryQtyInBaseUnit(@Nullable BigDecimal minDeliveryQtyInBaseUnit)
Original property name from the Odata EDM: MinDeliveryQtyInBaseUnit
minDeliveryQtyInBaseUnit
- Minimum quantity that may be delivered to a customer.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 setPartialDeliveryIsAllowed(@Nullable String partialDeliveryIsAllowed)
Original property name from the Odata EDM: 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
- Specifies whether the customer requires full or partial delivery for the item.public void setMaxNmbrOfPartialDelivery(@Nullable BigDecimal maxNmbrOfPartialDelivery)
Original property name from the Odata EDM: 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
- The maximum number of partial deliveries you can make (including the first delivery) to satisfy the
order quantity for an item.public void setUnderdelivTolrtdLmtRatioInPct(@Nullable BigDecimal underdelivTolrtdLmtRatioInPct)
Original property name from the Odata EDM: UnderdelivTolrtdLmtRatioInPct
underdelivTolrtdLmtRatioInPct
- Percentage (based on the order quantity) up to which an underdelivery of this item will be accepted.public void setOverdelivTolrtdLmtRatioInPct(@Nullable BigDecimal overdelivTolrtdLmtRatioInPct)
Original property name from the Odata EDM: 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
- Percentage (based on the order quantity) up to which an overdelivery of this item will be accepted.public void setUnlimitedOverdeliveryIsAllowed(@Nullable Boolean unlimitedOverdeliveryIsAllowed)
Original property name from the Odata EDM: UnlimitedOverdeliveryIsAllowed
If the customer allows unlimited over- and underdeliveries, you cannot enter values in the fields that specify over- and underdelivery tolerance.
unlimitedOverdeliveryIsAllowed
- Indicates whether the customer allows unlimited over- and underdeliveries.public void setCustomerMaterialItemUsage(@Nullable String customerMaterialItemUsage)
Original property name from the Odata EDM: CustomerMaterialItemUsage
The item usage can be used for the determination of item categories. It controls 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
- The item usage controls the system reaction when you process a sales document item in a certain
context.public void setSalesUnit(@Nullable String salesUnit)
Original property name from the Odata EDM: SalesUnit
salesUnit
- Unit of measure in which the material is sold.public void setSalesQtyToBaseQtyDnmntr(@Nullable BigDecimal salesQtyToBaseQtyDnmntr)
Original property name from the Odata EDM: SalesQtyToBaseQtyDnmntr
Many material processing functions, such as the generation of production requirements, may require that sales units are converted into base units of measureYou store a certain beverage in casks, but sell it in 1-liter bottles. The conversion factor is as follows:100 bt <=> 1 caThe first number (the denominator) represents the sales units, in this case, bottles. The second number (the numerator) represents the equivalent quantity in base units of measure, in this case, casks.
salesQtyToBaseQtyDnmntr
- Denominator of the conversion factor that the system uses to convert sales units base units of
measure.public void setSalesQtyToBaseQtyNmrtr(@Nullable BigDecimal salesQtyToBaseQtyNmrtr)
Original property name from the Odata EDM: SalesQtyToBaseQtyNmrtr
Many material processing functions, such as the generation of production requirements, may require that sales units are converted into base units of measureYou store a certain beverage in casks, but sell it in 1-liter bottles. The conversion factor is as follows:100 bt <=> 1 caThe first number (the denominator) represents the sales units, in this case, bottles. The second number (the numerator) represents the equivalent quantity in base units of measure, in this case, casks.
salesQtyToBaseQtyNmrtr
- Numerator of the conversion factor that the system uses to convert sales units base units of measure.public void setETag(@Nullable String eTag)
Original property name from the Odata EDM: ETag
eTag
- Comparison key for tracking the most recent version of the customer material.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<CustomerMaterial>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustomerMaterial>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustomerMaterial>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustomerMaterial>
@Nonnull public static <T> CustomerMaterialField<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> CustomerMaterialField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<CustomerMaterial>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<CustomerMaterial>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<CustomerMaterial>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<CustomerMaterial>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<CustomerMaterial>
public static CustomerMaterial.CustomerMaterialBuilder builder()
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: 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.
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: 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.
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
Enter the number of your customer.
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getMaterialByCustomer()
Original property name from the Odata EDM: 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 asMinimum delivery quantityPartial delivery conditionsEnter a value from an existing customer-material info record.
@Nullable public String getMaterialDescriptionByCustomer()
Original property name from the Odata EDM: 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.
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getDeliveryPriority()
Original property name from the Odata EDM: 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.
@Nullable public BigDecimal getMinDeliveryQtyInBaseUnit()
Original property name from the Odata EDM: MinDeliveryQtyInBaseUnit
@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 getPartialDeliveryIsAllowed()
Original property name from the Odata EDM: 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.
@Nullable public BigDecimal getMaxNmbrOfPartialDelivery()
Original property name from the Odata EDM: 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.
@Nullable public BigDecimal getUnderdelivTolrtdLmtRatioInPct()
Original property name from the Odata EDM: UnderdelivTolrtdLmtRatioInPct
@Nullable public BigDecimal getOverdelivTolrtdLmtRatioInPct()
Original property name from the Odata EDM: 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.
@Nullable public Boolean getUnlimitedOverdeliveryIsAllowed()
Original property name from the Odata EDM: UnlimitedOverdeliveryIsAllowed
If the customer allows unlimited over- and underdeliveries, you cannot enter values in the fields that specify over- and underdelivery tolerance.
@Nullable public String getCustomerMaterialItemUsage()
Original property name from the Odata EDM: CustomerMaterialItemUsage
The item usage can be used for the determination of item categories. It controls 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 public String getSalesUnit()
Original property name from the Odata EDM: SalesUnit
@Nullable public BigDecimal getSalesQtyToBaseQtyDnmntr()
Original property name from the Odata EDM: SalesQtyToBaseQtyDnmntr
Many material processing functions, such as the generation of production requirements, may require that sales units are converted into base units of measureYou store a certain beverage in casks, but sell it in 1-liter bottles. The conversion factor is as follows:100 bt <=> 1 caThe first number (the denominator) represents the sales units, in this case, bottles. The second number (the numerator) represents the equivalent quantity in base units of measure, in this case, casks.
@Nullable public BigDecimal getSalesQtyToBaseQtyNmrtr()
Original property name from the Odata EDM: SalesQtyToBaseQtyNmrtr
Many material processing functions, such as the generation of production requirements, may require that sales units are converted into base units of measureYou store a certain beverage in casks, but sell it in 1-liter bottles. The conversion factor is as follows:100 bt <=> 1 caThe first number (the denominator) represents the sales units, in this case, bottles. The second number (the numerator) represents the equivalent quantity in base units of measure, in this case, casks.
@Nullable public String getETag()
Original property name from the Odata EDM: ETag
public String toString()
toString
in class VdmObject<CustomerMaterial>
public boolean equals(Object o)
equals
in class VdmObject<CustomerMaterial>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CustomerMaterial>
public int hashCode()
hashCode
in class VdmObject<CustomerMaterial>
Copyright © 2019 SAP SE. All rights reserved.