public class ProductSales extends VdmEntity<ProductSales>
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<Calendar> |
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.
|
Constructor and Description |
---|
ProductSales() |
ProductSales(String product,
String salesStatus,
Calendar salesStatusValidityDate,
String taxClassification,
String transportationGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductSales.ProductSalesBuilder |
builder() |
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.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getSalesStatus()
Constraints: Not nullable, Maximum length: 2 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.
|
Calendar |
getSalesStatusValidityDate()
Constraints: Not nullable, Precision: 0
|
String |
getTaxClassification()
Constraints: Not nullable, Maximum length: 1 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).
|
String |
getTransportationGroup()
Constraints: Not nullable, Maximum length: 4 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.
|
Class<ProductSales> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setSalesStatus(String salesStatus)
Constraints: Not nullable, Maximum length: 2 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.
|
void |
setSalesStatusValidityDate(Calendar salesStatusValidityDate)
Constraints: Not nullable, Precision: 0
|
void |
setTaxClassification(String taxClassification)
Constraints: Not nullable, Maximum length: 1 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).
|
void |
setTransportationGroup(String transportationGroup)
Constraints: Not nullable, Maximum length: 4 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.
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final ProductSalesSelectable ALL_FIELDS
public static final ProductSalesField<String> PRODUCT
public static final ProductSalesField<String> SALES_STATUS
public static final ProductSalesField<Calendar> 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 static <T> ProductSalesField<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 static ProductSales.ProductSalesBuilder builder()
@Nullable public String getProduct()
@Nullable public String getSalesStatus()
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 Calendar getSalesStatusValidityDate()
@Nullable public String getTaxClassification()
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()
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 setProduct(@Nullable String product)
product
- public void setSalesStatus(@Nullable String 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
- public void setSalesStatusValidityDate(@Nullable Calendar salesStatusValidityDate)
salesStatusValidityDate
- public void setTaxClassification(@Nullable String 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
- public void setTransportationGroup(@Nullable String 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
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductSales>
public boolean equals(Object o)
equals
in class VdmObject<ProductSales>
public int hashCode()
hashCode
in class VdmObject<ProductSales>
Copyright © 2018 SAP SE. All rights reserved.