public class SalesOrganization extends Entity<SalesOrganization>
Modifier and Type | Class and Description |
---|---|
static class |
SalesOrganization.SalesOrganizationBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<SalesOrganization,String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static EntityField<SalesOrganization,String> |
INTERCOMPANY_BILLING_CUSTOMER
Use with available fluent helpers to apply the IntercompanyBillingCustomer field to query operations.
|
static EntityField<SalesOrganization,String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static EntityField<SalesOrganization,String> |
SALES_ORGANIZATION_CURRENCY
Use with available fluent helpers to apply the SalesOrganizationCurrency field to query operations.
|
Constructor and Description |
---|
SalesOrganization() |
SalesOrganization(String salesOrganization,
String salesOrganizationCurrency,
String companyCode,
String intercompanyBillingCustomer,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static SalesOrganization.SalesOrganizationBuilder |
builder() |
boolean |
equals(Object o) |
List<SalesOrganizationText> |
fetchText()
Fetches the SalesOrganizationText entities (one to many) associated with this entity.
|
static <T> EntityField<SalesOrganization,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getIntercompanyBillingCustomer()
Constraints: Not nullable, Maximum length: 10
|
String |
getSalesOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganizationCurrency()
Constraints: Not nullable, Maximum length: 5
|
Class<SalesOrganization> |
getType() |
int |
hashCode() |
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setIntercompanyBillingCustomer(String intercompanyBillingCustomer)
Constraints: Not nullable, Maximum length: 10
|
void |
setSalesOrganization(String salesOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganizationCurrency(String salesOrganizationCurrency)
Constraints: Not nullable, Maximum length: 5
|
String |
toString() |
public static final EntityField<SalesOrganization,String> SALES_ORGANIZATION
public static final EntityField<SalesOrganization,String> SALES_ORGANIZATION_CURRENCY
public static final EntityField<SalesOrganization,String> COMPANY_CODE
public static final EntityField<SalesOrganization,String> INTERCOMPANY_BILLING_CUSTOMER
@Generated(value="lombok") public SalesOrganization()
@ConstructorProperties(value={"salesOrganization","salesOrganizationCurrency","companyCode","intercompanyBillingCustomer","erpConfigContext"}) @Generated(value="lombok") public SalesOrganization(@Nullable String salesOrganization, @Nullable String salesOrganizationCurrency, @Nullable String companyCode, @Nullable String intercompanyBillingCustomer, ErpConfigContext erpConfigContext)
public Class<SalesOrganization> getType()
getType
in class Entity<SalesOrganization>
public static <T> EntityField<SalesOrganization,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 List<SalesOrganizationText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static SalesOrganization.SalesOrganizationBuilder builder()
@Nullable @Generated(value="lombok") public String getSalesOrganization()
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 @Generated(value="lombok") public String getSalesOrganizationCurrency()
You can define a default currency for each sales organization. When you generate sales statistics, the system automatically proposes the default. You can overwrite the default.
@Nullable @Generated(value="lombok") public String getCompanyCode()
@Nullable @Generated(value="lombok") public String getIntercompanyBillingCustomer()
An internal customer (sales organization) in intercompany billing Your own sales organization in opportunity management
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setSalesOrganization(@Nullable String 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
- @Generated(value="lombok") public void setSalesOrganizationCurrency(@Nullable String salesOrganizationCurrency)
You can define a default currency for each sales organization. When you generate sales statistics, the system automatically proposes the default. You can overwrite the default.
salesOrganizationCurrency
- @Generated(value="lombok") public void setCompanyCode(@Nullable String companyCode)
companyCode
- @Generated(value="lombok") public void setIntercompanyBillingCustomer(@Nullable String intercompanyBillingCustomer)
An internal customer (sales organization) in intercompany billing Your own sales organization in opportunity management
intercompanyBillingCustomer
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<SalesOrganization>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<SalesOrganization>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<SalesOrganization>
Copyright © 2017 SAP SE. All rights reserved.