public class CustSalesPartnerFunc extends VdmEntity<CustSalesPartnerFunc>
Original entity name from the Odata EDM: A_CustSalesPartnerFuncType
Modifier and Type | Class and Description |
---|---|
static class |
CustSalesPartnerFunc.CustSalesPartnerFuncBuilder |
Modifier and Type | Field and Description |
---|---|
static CustSalesPartnerFuncSelectable |
ALL_FIELDS
Selector for all available fields of CustSalesPartnerFunc.
|
static CustSalesPartnerFuncField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static CustSalesPartnerFuncField<String> |
BP_CUSTOMER_NUMBER
Use with available fluent helpers to apply the BPCustomerNumber field to query operations.
|
static CustSalesPartnerFuncField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustSalesPartnerFuncField<String> |
CUSTOMER_PARTNER_DESCRIPTION
Use with available fluent helpers to apply the CustomerPartnerDescription field to query operations.
|
static CustSalesPartnerFuncField<Boolean> |
DEFAULT_PARTNER
Use with available fluent helpers to apply the DefaultPartner field to query operations.
|
static CustSalesPartnerFuncField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static CustSalesPartnerFuncField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static CustSalesPartnerFuncField<String> |
PARTNER_COUNTER
Use with available fluent helpers to apply the PartnerCounter field to query operations.
|
static CustSalesPartnerFuncField<String> |
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations.
|
static CustSalesPartnerFuncField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustSalesPartnerFunc() |
CustSalesPartnerFunc(String customer,
String salesOrganization,
String distributionChannel,
String division,
String partnerCounter,
String partnerFunction,
String bPCustomerNumber,
String customerPartnerDescription,
Boolean defaultPartner,
String authorizationGroup) |
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 CustSalesPartnerFunc.CustSalesPartnerFuncBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustSalesPartnerFuncField<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 |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getBPCustomerNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerPartnerDescription()
Constraints: Not nullable, Maximum length: 30
|
Boolean |
getDefaultPartner()
Constraints: none
|
protected String |
getDefaultServicePath() |
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 |
getPartnerCounter()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getPartnerFunction()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getSalesOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Class<CustSalesPartnerFunc> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setBPCustomerNumber(String bPCustomerNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerPartnerDescription(String customerPartnerDescription)
Constraints: Not nullable, Maximum length: 30
|
void |
setDefaultPartner(Boolean defaultPartner)
Constraints: none
|
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)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setPartnerCounter(String partnerCounter)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPartnerFunction(String partnerFunction)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
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 CustSalesPartnerFuncSelectable ALL_FIELDS
public static final CustSalesPartnerFuncField<String> CUSTOMER
public static final CustSalesPartnerFuncField<String> SALES_ORGANIZATION
public static final CustSalesPartnerFuncField<String> DISTRIBUTION_CHANNEL
public static final CustSalesPartnerFuncField<String> DIVISION
public static final CustSalesPartnerFuncField<String> PARTNER_COUNTER
public static final CustSalesPartnerFuncField<String> PARTNER_FUNCTION
public static final CustSalesPartnerFuncField<String> BP_CUSTOMER_NUMBER
public static final CustSalesPartnerFuncField<String> CUSTOMER_PARTNER_DESCRIPTION
public static final CustSalesPartnerFuncField<Boolean> DEFAULT_PARTNER
public static final CustSalesPartnerFuncField<String> AUTHORIZATION_GROUP
public CustSalesPartnerFunc()
public CustSalesPartnerFunc(@Nullable String customer, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String partnerCounter, @Nullable String partnerFunction, @Nullable String bPCustomerNumber, @Nullable String customerPartnerDescription, @Nullable Boolean defaultPartner, @Nullable String authorizationGroup)
@Nonnull public Class<CustSalesPartnerFunc> getType()
getType
in class VdmObject<CustSalesPartnerFunc>
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 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 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 setPartnerCounter(@Nullable String partnerCounter)
Original property name from the Odata EDM: PartnerCounter
When you create a sales order for a particular customer, there may be more than one ship-to party defined. The different ship-to parties are numbered sequentially.
partnerCounter
- The sequential number that the system applies when there is more than one partner for a particular
partner function.public void setPartnerFunction(@Nullable String partnerFunction)
Original property name from the Odata EDM: PartnerFunction
partnerFunction
- The abbreviated form of the name that identifies the partner function.public void setBPCustomerNumber(@Nullable String bPCustomerNumber)
Original property name from the Odata EDM: BPCustomerNumber
bPCustomerNumber
- Customer number of business partnerpublic void setCustomerPartnerDescription(@Nullable String customerPartnerDescription)
Original property name from the Odata EDM: CustomerPartnerDescription
The system uses this number to automatically determine the ship-to party.
customerPartnerDescription
- Sold-to party number sent in by the customer in delivery schedules.public void setDefaultPartner(@Nullable Boolean defaultPartner)
Original property name from the Odata EDM: DefaultPartner
When you enter more than one partner for a particular partner function (for example, you define three different ship-to parties), you can select one partner as the default. During sales or purchasing processing, if you have defined multiple partners for a partner function, the system prompts you to choose just one partner. The system presents the default partner as the first choice in the pop-up window.
defaultPartner
- Specifies a partner as the default for a particular partner function.public void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- The authorization group allows extended authorization protection for particular objects. The
authorization groups are freely definable. The authorization groups usually occur in authorization
objects together with an activity.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<CustSalesPartnerFunc>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustSalesPartnerFunc>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustSalesPartnerFunc>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustSalesPartnerFunc>
@Nonnull public static <T> CustSalesPartnerFuncField<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> CustSalesPartnerFuncField<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<CustSalesPartnerFunc>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<CustSalesPartnerFunc>
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<CustSalesPartnerFunc>
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<CustSalesPartnerFunc>
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<CustSalesPartnerFunc>
public static CustSalesPartnerFunc.CustSalesPartnerFuncBuilder 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 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 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 getPartnerCounter()
Original property name from the Odata EDM: PartnerCounter
When you create a sales order for a particular customer, there may be more than one ship-to party defined. The different ship-to parties are numbered sequentially.
@Nullable public String getPartnerFunction()
Original property name from the Odata EDM: PartnerFunction
@Nullable public String getBPCustomerNumber()
Original property name from the Odata EDM: BPCustomerNumber
@Nullable public String getCustomerPartnerDescription()
Original property name from the Odata EDM: CustomerPartnerDescription
The system uses this number to automatically determine the ship-to party.
@Nullable public Boolean getDefaultPartner()
Original property name from the Odata EDM: DefaultPartner
When you enter more than one partner for a particular partner function (for example, you define three different ship-to parties), you can select one partner as the default. During sales or purchasing processing, if you have defined multiple partners for a partner function, the system prompts you to choose just one partner. The system presents the default partner as the first choice in the pop-up window.
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
public String toString()
toString
in class VdmObject<CustSalesPartnerFunc>
public boolean equals(Object o)
equals
in class VdmObject<CustSalesPartnerFunc>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CustSalesPartnerFunc>
public int hashCode()
hashCode
in class VdmObject<CustSalesPartnerFunc>
Copyright © 2019 SAP SE. All rights reserved.