public class CustomerSalesAreaTax extends VdmEntity<CustomerSalesAreaTax>
Original entity name from the Odata EDM: A_CustomerSalesAreaTaxType
Modifier and Type | Class and Description |
---|---|
static class |
CustomerSalesAreaTax.CustomerSalesAreaTaxBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerSalesAreaTaxSelectable |
ALL_FIELDS
Selector for all available fields of CustomerSalesAreaTax.
|
static CustomerSalesAreaTaxField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerSalesAreaTaxField<String> |
CUSTOMER_TAX_CATEGORY
Use with available fluent helpers to apply the CustomerTaxCategory field to query operations.
|
static CustomerSalesAreaTaxField<String> |
CUSTOMER_TAX_CLASSIFICATION
Use with available fluent helpers to apply the CustomerTaxClassification field to query operations.
|
static CustomerSalesAreaTaxField<String> |
DEPARTURE_COUNTRY
Use with available fluent helpers to apply the DepartureCountry field to query operations.
|
static CustomerSalesAreaTaxField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static CustomerSalesAreaTaxField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static CustomerSalesAreaTaxField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustomerSalesAreaTax() |
CustomerSalesAreaTax(String customer,
String salesOrganization,
String distributionChannel,
String division,
String departureCountry,
String customerTaxCategory,
String customerTaxClassification,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CustomerSalesAreaTax.CustomerSalesAreaTaxBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustomerSalesAreaTaxField<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 |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerTaxCategory()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCustomerTaxClassification()
Constraints: Not nullable, Maximum length: 1
|
String |
getDepartureCountry()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getDistributionChannel()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getDivision()
(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.
|
protected Map<String,Object> |
getKey() |
String |
getSalesOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Class<CustomerSalesAreaTax> |
getType() |
int |
hashCode() |
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerTaxCategory(String customerTaxCategory)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCustomerTaxClassification(String customerTaxClassification)
Constraints: Not nullable, Maximum length: 1
|
void |
setDepartureCountry(String departureCountry)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setDistributionChannel(String distributionChannel)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
(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 |
setSalesOrganization(String salesOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 CustomerSalesAreaTaxSelectable ALL_FIELDS
public static final CustomerSalesAreaTaxField<String> CUSTOMER
public static final CustomerSalesAreaTaxField<String> SALES_ORGANIZATION
public static final CustomerSalesAreaTaxField<String> DISTRIBUTION_CHANNEL
public static final CustomerSalesAreaTaxField<String> DIVISION
public static final CustomerSalesAreaTaxField<String> DEPARTURE_COUNTRY
public static final CustomerSalesAreaTaxField<String> CUSTOMER_TAX_CATEGORY
public static final CustomerSalesAreaTaxField<String> CUSTOMER_TAX_CLASSIFICATION
public CustomerSalesAreaTax()
public CustomerSalesAreaTax(@Nullable String customer, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String departureCountry, @Nullable String customerTaxCategory, @Nullable String customerTaxClassification, @Nullable ErpConfigContext erpConfigContext)
@Nonnull public Class<CustomerSalesAreaTax> getType()
getType
in class VdmObject<CustomerSalesAreaTax>
public void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system.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 specify one distribution channel as the source of customer and material master data for other distribution channels. You need then only to maintain the data in one place.Distrib.channel Ref.distrib.channel01 0102 0103 0104 04In this example, only distribution channels 01 and 04 have customer and material master data defined. Distribution channels 01, 02, and 03 share the master data that you defined for distribution channel 01. Distribution channel 04 has its own master data. When you create a sales order in distribution channel 03, the system checks the customer and material master data against the data defined for distribution channel 01.
distributionChannel
- Specifies a distribution channel that you want to use as a reference for customer and material master
data for other distribution channels.public void setDivision(@Nullable String division)
Original property name from the Odata EDM: Division
A product or service is always assigned to just one division. From the point of view of sales and distribution, the use of divisions lets you organize your sales structure around groups of similar products or product lines. This allows the people in a division who process orders and service customers to specialize within a manageable area of expertise.If a sales organization sells food and non-food products through both retail and wholesaledistribution channels each distribution channel could then be further split into food and non-food divisions.
division
- A way of grouping materials, products, or services. The system uses divisions to determine the sales
areas and the business areas for a material, product, or service.public void setDepartureCountry(@Nullable String departureCountry)
Original property name from the Odata EDM: DepartureCountry
You can define the country key in a table. As a rule, it is a good idea to use the existing international standards for identifying vehicles from different countries (for example: USA = United States, I = Italy, and so on). The system uses the key tohelp determine the relevant taxes during pricingdetermine important country-specific standards (the length of postal codes and bank account numbers, for example)
departureCountry
- Identifies the country in which the delivery originates.public void setCustomerTaxCategory(@Nullable String customerTaxCategory)
Original property name from the Odata EDM: CustomerTaxCategory
You can define one or more tax categories for each country. During sales order processing, the system applies the tax category according tothe geographical location of your delivering plant and the location of the customer receiving the goodstax classifications in the customer master record and the material master record.In the USA, for example, you can define tax categories for Federal Sales Tax and Federal Excise Tax. In the U.K., you can define a tax category for Value Added Tax (VAT).
customerTaxCategory
- Identifies the condition that the system uses to automatically determine country-specific taxes during
pricing.public void setCustomerTaxClassification(@Nullable String customerTaxClassification)
Original property name from the Odata EDM: CustomerTaxClassification
You can use the tax classification to specify, for example, whether a customer is liable for sales taxes, such as VAT or state sales taxes.During sales order processing, the system copies the tax classification from the tax information stored in thecustomer master record of the payer, if the payer is different from the sold-to party and the sales tax identification number is maintained for the payer.ship to party, if the sales tax identification number of the ship-to party is maintained.sold-to party, if none of the criteria for the payer or the ship-to party are met.During pricing, the system calculates any relevant taxes by taking the following factors into account:The tax classification of the customer and the materialThe country keys of the customer and the delivering plant
customerTaxClassification
- Specifies the tax liability of the customer, based on the tax structure of the customer's country.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<CustomerSalesAreaTax>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustomerSalesAreaTax>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustomerSalesAreaTax>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustomerSalesAreaTax>
@Nonnull public static <T> CustomerSalesAreaTaxField<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> CustomerSalesAreaTaxField<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.protected 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<CustomerSalesAreaTax>
public static CustomerSalesAreaTax.CustomerSalesAreaTaxBuilder builder()
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@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 specify one distribution channel as the source of customer and material master data for other distribution channels. You need then only to maintain the data in one place.Distrib.channel Ref.distrib.channel01 0102 0103 0104 04In this example, only distribution channels 01 and 04 have customer and material master data defined. Distribution channels 01, 02, and 03 share the master data that you defined for distribution channel 01. Distribution channel 04 has its own master data. When you create a sales order in distribution channel 03, the system checks the customer and material master data against the data defined for distribution channel 01.
@Nullable public String getDivision()
Original property name from the Odata EDM: Division
A product or service is always assigned to just one division. From the point of view of sales and distribution, the use of divisions lets you organize your sales structure around groups of similar products or product lines. This allows the people in a division who process orders and service customers to specialize within a manageable area of expertise.If a sales organization sells food and non-food products through both retail and wholesaledistribution channels each distribution channel could then be further split into food and non-food divisions.
@Nullable public String getDepartureCountry()
Original property name from the Odata EDM: DepartureCountry
You can define the country key in a table. As a rule, it is a good idea to use the existing international standards for identifying vehicles from different countries (for example: USA = United States, I = Italy, and so on). The system uses the key tohelp determine the relevant taxes during pricingdetermine important country-specific standards (the length of postal codes and bank account numbers, for example)
@Nullable public String getCustomerTaxCategory()
Original property name from the Odata EDM: CustomerTaxCategory
You can define one or more tax categories for each country. During sales order processing, the system applies the tax category according tothe geographical location of your delivering plant and the location of the customer receiving the goodstax classifications in the customer master record and the material master record.In the USA, for example, you can define tax categories for Federal Sales Tax and Federal Excise Tax. In the U.K., you can define a tax category for Value Added Tax (VAT).
@Nullable public String getCustomerTaxClassification()
Original property name from the Odata EDM: CustomerTaxClassification
You can use the tax classification to specify, for example, whether a customer is liable for sales taxes, such as VAT or state sales taxes.During sales order processing, the system copies the tax classification from the tax information stored in thecustomer master record of the payer, if the payer is different from the sold-to party and the sales tax identification number is maintained for the payer.ship to party, if the sales tax identification number of the ship-to party is maintained.sold-to party, if none of the criteria for the payer or the ship-to party are met.During pricing, the system calculates any relevant taxes by taking the following factors into account:The tax classification of the customer and the materialThe country keys of the customer and the delivering plant
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<CustomerSalesAreaTax>
erpConfigContext
- public String toString()
toString
in class VdmObject<CustomerSalesAreaTax>
public boolean equals(Object o)
equals
in class VdmObject<CustomerSalesAreaTax>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CustomerSalesAreaTax>
public int hashCode()
hashCode
in class VdmObject<CustomerSalesAreaTax>
Copyright © 2018 SAP SE. All rights reserved.