public class ProductSales extends VdmEntity<ProductSales>
Original entity name from the Odata EDM: A_ProductSalesType
Modifier and Type | Class and Description |
---|---|
static class |
ProductSales.ProductSalesBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductSalesSelectable |
ALL_FIELDS
Selector for all available fields of ProductSales.
|
static ProductSalesField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductSalesField<String> |
SALES_STATUS
Use with available fluent helpers to apply the SalesStatus field to query operations.
|
static ProductSalesField<LocalDateTime> |
SALES_STATUS_VALIDITY_DATE
Use with available fluent helpers to apply the SalesStatusValidityDate field to query operations.
|
static ProductSalesField<String> |
TAX_CLASSIFICATION
Use with available fluent helpers to apply the TaxClassification field to query operations.
|
static ProductSalesField<String> |
TRANSPORTATION_GROUP
Use with available fluent helpers to apply the TransportationGroup field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductSales() |
ProductSales(String product,
String salesStatus,
LocalDateTime salesStatusValidityDate,
String taxClassification,
String transportationGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductSales.ProductSalesBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductSalesField<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) |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getSalesStatus()
Constraints: Not nullable, Maximum length: 2
|
LocalDateTime |
getSalesStatusValidityDate()
Constraints: Not nullable, Precision: 0
|
String |
getTaxClassification()
Constraints: Not nullable, Maximum length: 1
|
String |
getTransportationGroup()
Constraints: Not nullable, Maximum length: 4
|
Class<ProductSales> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setSalesStatus(String salesStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setSalesStatusValidityDate(LocalDateTime salesStatusValidityDate)
Constraints: Not nullable, Precision: 0
|
void |
setTaxClassification(String taxClassification)
Constraints: Not nullable, Maximum length: 1
|
void |
setTransportationGroup(String transportationGroup)
Constraints: Not nullable, Maximum length: 4
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductSalesSelectable ALL_FIELDS
public static final ProductSalesField<String> PRODUCT
public static final ProductSalesField<String> SALES_STATUS
public static final ProductSalesField<LocalDateTime> SALES_STATUS_VALIDITY_DATE
public static final ProductSalesField<String> TAX_CLASSIFICATION
public static final ProductSalesField<String> TRANSPORTATION_GROUP
public Class<ProductSales> getType()
getType
in class VdmObject<ProductSales>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Alphanumeric key uniquely identifying the material.public void setSalesStatus(@Nullable String salesStatus)
Original property name from the Odata EDM: SalesStatus
The cross-distribution-chain material status restricts the usability of the material for all the distribution chains, that is, it defines whether a warning or error message is displayed if you include the material in a particular function.The material may be a part under development or one to be discontinued.
salesStatus
- Indicates whether the material may be used in individual functions in Sales and Distribution for all distribution chains.public void setSalesStatusValidityDate(@Nullable LocalDateTime salesStatusValidityDate)
Original property name from the Odata EDM: SalesStatusValidityDate
salesStatusValidityDate
- Date from which the cross-distribution-chain material status is valid.public void setTaxClassification(@Nullable String taxClassification)
Original property name from the Odata EDM: TaxClassification
The value entered here serves as the default value for the tax classification of the tax categories to be taken into account (for example, for the tax category value-added tax in Germany).
taxClassification
- Key that identifies the tax classification of a material.public void setTransportationGroup(@Nullable String transportationGroup)
Original property name from the Odata EDM: TransportationGroup
Transportation groups are used for automatic route scheduling during sales order and delivery note processing.Suppose that you sell food products, some of which are perishable and require refrigeration. You create a transportation group that includes all the products that need refrigerated trucks for delivery.
transportationGroup
- A grouping of materials that share the same route and transportation requirements.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProductSales>
protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductSales>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductSales>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductSales>
@Nonnull public static <T> ProductSalesField<T> field(@Nonnull String fieldName, @Nonnull 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.@Nonnull public static <T,DomainT> ProductSalesField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.public static ProductSales.ProductSalesBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getSalesStatus()
Original property name from the Odata EDM: SalesStatus
The cross-distribution-chain material status restricts the usability of the material for all the distribution chains, that is, it defines whether a warning or error message is displayed if you include the material in a particular function.The material may be a part under development or one to be discontinued.
@Nullable public LocalDateTime getSalesStatusValidityDate()
Original property name from the Odata EDM: SalesStatusValidityDate
@Nullable public String getTaxClassification()
Original property name from the Odata EDM: TaxClassification
The value entered here serves as the default value for the tax classification of the tax categories to be taken into account (for example, for the tax category value-added tax in Germany).
@Nullable public String getTransportationGroup()
Original property name from the Odata EDM: TransportationGroup
Transportation groups are used for automatic route scheduling during sales order and delivery note processing.Suppose that you sell food products, some of which are perishable and require refrigeration. You create a transportation group that includes all the products that need refrigerated trucks for delivery.
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<ProductSales>
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductSales>
public boolean equals(Object o)
equals
in class VdmObject<ProductSales>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProductSales>
public int hashCode()
hashCode
in class VdmObject<ProductSales>
Copyright © 2018 SAP SE. All rights reserved.