Modifier and Type | Class and Description |
---|---|
static class |
Customer.CustomerBuilder
Helper class to allow for fluent creation of Customer instances.
|
Modifier and Type | Field and Description |
---|---|
static CustomerSelectable |
ALL_FIELDS
Selector for all available fields of Customer.
|
static CustomerField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static CustomerField<String> |
BILLING_IS_BLOCKED_FOR_CUSTOMER
Use with available fluent helpers to apply the BillingIsBlockedForCustomer field to query operations.
|
static CustomerField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static CustomerField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static CustomerField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerField<String> |
CUSTOMER_ACCOUNT_GROUP
Use with available fluent helpers to apply the CustomerAccountGroup field to query operations.
|
static CustomerField<String> |
CUSTOMER_CLASSIFICATION
Use with available fluent helpers to apply the CustomerClassification field to query operations.
|
static CustomerField<String> |
CUSTOMER_CORPORATE_GROUP
Use with available fluent helpers to apply the CustomerCorporateGroup field to query operations.
|
static CustomerField<String> |
CUSTOMER_FULL_NAME
Use with available fluent helpers to apply the CustomerFullName field to query operations.
|
static CustomerField<String> |
CUSTOMER_NAME
Use with available fluent helpers to apply the CustomerName field to query operations.
|
static CustomerField<Boolean> |
DELETION_INDICATOR
Use with available fluent helpers to apply the DeletionIndicator field to query operations.
|
static CustomerField<String> |
DELIVERY_IS_BLOCKED
Use with available fluent helpers to apply the DeliveryIsBlocked field to query operations.
|
static CustomerField<String> |
FISCAL_ADDRESS
Use with available fluent helpers to apply the FiscalAddress field to query operations.
|
static CustomerField<String> |
INDUSTRY
Use with available fluent helpers to apply the Industry field to query operations.
|
static CustomerField<String> |
INDUSTRY_CODE1
Use with available fluent helpers to apply the IndustryCode1 field to query operations.
|
static CustomerField<String> |
INDUSTRY_CODE2
Use with available fluent helpers to apply the IndustryCode2 field to query operations.
|
static CustomerField<String> |
INDUSTRY_CODE3
Use with available fluent helpers to apply the IndustryCode3 field to query operations.
|
static CustomerField<String> |
INDUSTRY_CODE4
Use with available fluent helpers to apply the IndustryCode4 field to query operations.
|
static CustomerField<String> |
INDUSTRY_CODE5
Use with available fluent helpers to apply the IndustryCode5 field to query operations.
|
static CustomerField<String> |
INTERNATIONAL_LOCATION_NUMBER1
Use with available fluent helpers to apply the InternationalLocationNumber1 field to query operations.
|
static CustomerField<String> |
NF_PARTNER_IS_NATURAL_PERSON
Use with available fluent helpers to apply the NFPartnerIsNaturalPerson field to query operations.
|
static CustomerField<String> |
NIELSEN_REGION
Use with available fluent helpers to apply the NielsenRegion field to query operations.
|
static CustomerField<String> |
ORDER_IS_BLOCKED_FOR_CUSTOMER
Use with available fluent helpers to apply the OrderIsBlockedForCustomer field to query operations.
|
static CustomerField<Boolean> |
POSTING_IS_BLOCKED
Use with available fluent helpers to apply the PostingIsBlocked field to query operations.
|
static CustomerField<String> |
RESPONSIBLE_TYPE
Use with available fluent helpers to apply the ResponsibleType field to query operations.
|
static CustomerField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static CustomerField<String> |
TAX_NUMBER_TYPE
Use with available fluent helpers to apply the TaxNumberType field to query operations.
|
static CustomerField<String> |
TAX_NUMBER1
Use with available fluent helpers to apply the TaxNumber1 field to query operations.
|
static CustomerField<String> |
TAX_NUMBER2
Use with available fluent helpers to apply the TaxNumber2 field to query operations.
|
static CustomerField<String> |
TAX_NUMBER3
Use with available fluent helpers to apply the TaxNumber3 field to query operations.
|
static CustomerField<String> |
TAX_NUMBER4
Use with available fluent helpers to apply the TaxNumber4 field to query operations.
|
static CustomerField<String> |
TAX_NUMBER5
Use with available fluent helpers to apply the TaxNumber5 field to query operations.
|
static CustomerLink<CustomerCompany> |
TO_CUSTOMER_COMPANY
Use with available fluent helpers to apply the to_CustomerCompany navigation property to query operations.
|
static CustomerLink<CustomerSalesArea> |
TO_CUSTOMER_SALES_AREA
Use with available fluent helpers to apply the to_CustomerSalesArea navigation property to query
operations.
|
static CustomerField<String> |
VAT_REGISTRATION
Use with available fluent helpers to apply the VATRegistration field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Customer() |
Customer(String customer,
String authorizationGroup,
String billingIsBlockedForCustomer,
String createdByUser,
LocalDateTime creationDate,
String customerAccountGroup,
String customerClassification,
String customerFullName,
String customerName,
String deliveryIsBlocked,
String nFPartnerIsNaturalPerson,
String orderIsBlockedForCustomer,
Boolean postingIsBlocked,
String supplier,
String customerCorporateGroup,
String fiscalAddress,
String industry,
String industryCode1,
String industryCode2,
String industryCode3,
String industryCode4,
String industryCode5,
String internationalLocationNumber1,
String nielsenRegion,
String responsibleType,
String taxNumber1,
String taxNumber2,
String taxNumber3,
String taxNumber4,
String taxNumber5,
String taxNumberType,
String vATRegistration,
Boolean deletionIndicator,
List<CustomerCompany> toCustomerCompany,
List<CustomerSalesArea> toCustomerSalesArea) |
Modifier and Type | Method and Description |
---|---|
void |
addCustomerCompany(CustomerCompany... entity)
Adds elements to the list of associated CustomerCompany entities.
|
void |
addCustomerSalesArea(CustomerSalesArea... entity)
Adds elements to the list of associated CustomerSalesArea entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination) |
static Customer.CustomerBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<CustomerCompany> |
fetchCustomerCompany()
Fetches the CustomerCompany entities (one to many) associated with this entity.
|
List<CustomerSalesArea> |
fetchCustomerSalesArea()
Fetches the CustomerSalesArea entities (one to many) associated with this entity.
|
static <T> CustomerField<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 |
getBillingIsBlockedForCustomer()
Constraints: Not nullable, Maximum length: 2
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerAccountGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getCustomerClassification()
Constraints: Not nullable, Maximum length: 2
|
io.vavr.control.Option<List<CustomerCompany>> |
getCustomerCompanyIfPresent()
Retrieval of associated CustomerCompany entities (one to many).
|
List<CustomerCompany> |
getCustomerCompanyOrFetch()
Retrieval of associated CustomerCompany entities (one to many).
|
String |
getCustomerCorporateGroup()
Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerFullName()
Constraints: Not nullable, Maximum length: 220
|
String |
getCustomerName()
Constraints: Not nullable, Maximum length: 80
|
io.vavr.control.Option<List<CustomerSalesArea>> |
getCustomerSalesAreaIfPresent()
Retrieval of associated CustomerSalesArea entities (one to many).
|
List<CustomerSalesArea> |
getCustomerSalesAreaOrFetch()
Retrieval of associated CustomerSalesArea entities (one to many).
|
protected String |
getDefaultServicePath() |
Boolean |
getDeletionIndicator()
Constraints: none
|
String |
getDeliveryIsBlocked()
Constraints: Not nullable, Maximum length: 2
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
String |
getFiscalAddress()
Constraints: Not nullable, Maximum length: 10
|
String |
getIndustry()
Constraints: Not nullable, Maximum length: 4
|
String |
getIndustryCode1()
Constraints: Not nullable, Maximum length: 10
|
String |
getIndustryCode2()
Constraints: Not nullable, Maximum length: 10
|
String |
getIndustryCode3()
Constraints: Not nullable, Maximum length: 10
|
String |
getIndustryCode4()
Constraints: Not nullable, Maximum length: 10
|
String |
getIndustryCode5()
Constraints: Not nullable, Maximum length: 10
|
String |
getInternationalLocationNumber1()
Constraints: Not nullable, Maximum length: 7
|
protected Map<String,Object> |
getKey() |
String |
getNFPartnerIsNaturalPerson()
Constraints: Not nullable, Maximum length: 1
|
String |
getNielsenRegion()
Constraints: Not nullable, Maximum length: 2
|
String |
getOrderIsBlockedForCustomer()
Constraints: Not nullable, Maximum length: 2
|
Boolean |
getPostingIsBlocked()
Constraints: none
|
String |
getResponsibleType()
Constraints: Not nullable, Maximum length: 2
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
String |
getTaxNumber1()
Constraints: Not nullable, Maximum length: 16
|
String |
getTaxNumber2()
Constraints: Not nullable, Maximum length: 11
|
String |
getTaxNumber3()
Constraints: Not nullable, Maximum length: 18
|
String |
getTaxNumber4()
Constraints: Not nullable, Maximum length: 18
|
String |
getTaxNumber5()
Constraints: Not nullable, Maximum length: 60
|
String |
getTaxNumberType()
Constraints: Not nullable, Maximum length: 2
|
Class<Customer> |
getType() |
String |
getVATRegistration()
Constraints: Not nullable, Maximum length: 20
|
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setBillingIsBlockedForCustomer(String billingIsBlockedForCustomer)
Constraints: Not nullable, Maximum length: 2
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerAccountGroup(String customerAccountGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setCustomerClassification(String customerClassification)
Constraints: Not nullable, Maximum length: 2
|
void |
setCustomerCompany(List<CustomerCompany> value)
Overwrites the list of associated CustomerCompany entities for the loaded navigation property
to_CustomerCompany.
|
void |
setCustomerCorporateGroup(String customerCorporateGroup)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerFullName(String customerFullName)
Constraints: Not nullable, Maximum length: 220
|
void |
setCustomerName(String customerName)
Constraints: Not nullable, Maximum length: 80
|
void |
setCustomerSalesArea(List<CustomerSalesArea> value)
Overwrites the list of associated CustomerSalesArea entities for the loaded navigation property
to_CustomerSalesArea.
|
void |
setDeletionIndicator(Boolean deletionIndicator)
Constraints: none
|
void |
setDeliveryIsBlocked(String deliveryIsBlocked)
Constraints: Not nullable, Maximum length: 2
|
void |
setFiscalAddress(String fiscalAddress)
Constraints: Not nullable, Maximum length: 10
|
void |
setIndustry(String industry)
Constraints: Not nullable, Maximum length: 4
|
void |
setIndustryCode1(String industryCode1)
Constraints: Not nullable, Maximum length: 10
|
void |
setIndustryCode2(String industryCode2)
Constraints: Not nullable, Maximum length: 10
|
void |
setIndustryCode3(String industryCode3)
Constraints: Not nullable, Maximum length: 10
|
void |
setIndustryCode4(String industryCode4)
Constraints: Not nullable, Maximum length: 10
|
void |
setIndustryCode5(String industryCode5)
Constraints: Not nullable, Maximum length: 10
|
void |
setInternationalLocationNumber1(String internationalLocationNumber1)
Constraints: Not nullable, Maximum length: 7
|
void |
setNFPartnerIsNaturalPerson(String nFPartnerIsNaturalPerson)
Constraints: Not nullable, Maximum length: 1
|
void |
setNielsenRegion(String nielsenRegion)
Constraints: Not nullable, Maximum length: 2
|
void |
setOrderIsBlockedForCustomer(String orderIsBlockedForCustomer)
Constraints: Not nullable, Maximum length: 2
|
void |
setPostingIsBlocked(Boolean postingIsBlocked)
Constraints: none
|
void |
setResponsibleType(String responsibleType)
Constraints: Not nullable, Maximum length: 2
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
void |
setTaxNumber1(String taxNumber1)
Constraints: Not nullable, Maximum length: 16
|
void |
setTaxNumber2(String taxNumber2)
Constraints: Not nullable, Maximum length: 11
|
void |
setTaxNumber3(String taxNumber3)
Constraints: Not nullable, Maximum length: 18
|
void |
setTaxNumber4(String taxNumber4)
Constraints: Not nullable, Maximum length: 18
|
void |
setTaxNumber5(String taxNumber5)
Constraints: Not nullable, Maximum length: 60
|
void |
setTaxNumberType(String taxNumberType)
Constraints: Not nullable, Maximum length: 2
|
void |
setVATRegistration(String vATRegistration)
Constraints: Not nullable, Maximum length: 20
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final CustomerSelectable ALL_FIELDS
public static final CustomerField<String> CUSTOMER
public static final CustomerField<String> AUTHORIZATION_GROUP
public static final CustomerField<String> BILLING_IS_BLOCKED_FOR_CUSTOMER
public static final CustomerField<String> CREATED_BY_USER
public static final CustomerField<LocalDateTime> CREATION_DATE
public static final CustomerField<String> CUSTOMER_ACCOUNT_GROUP
public static final CustomerField<String> CUSTOMER_CLASSIFICATION
public static final CustomerField<String> CUSTOMER_FULL_NAME
public static final CustomerField<String> CUSTOMER_NAME
public static final CustomerField<String> DELIVERY_IS_BLOCKED
public static final CustomerField<String> NF_PARTNER_IS_NATURAL_PERSON
public static final CustomerField<String> ORDER_IS_BLOCKED_FOR_CUSTOMER
public static final CustomerField<Boolean> POSTING_IS_BLOCKED
public static final CustomerField<String> SUPPLIER
public static final CustomerField<String> CUSTOMER_CORPORATE_GROUP
public static final CustomerField<String> FISCAL_ADDRESS
public static final CustomerField<String> INDUSTRY
public static final CustomerField<String> INDUSTRY_CODE1
public static final CustomerField<String> INDUSTRY_CODE2
public static final CustomerField<String> INDUSTRY_CODE3
public static final CustomerField<String> INDUSTRY_CODE4
public static final CustomerField<String> INDUSTRY_CODE5
public static final CustomerField<String> INTERNATIONAL_LOCATION_NUMBER1
public static final CustomerField<String> NIELSEN_REGION
public static final CustomerField<String> RESPONSIBLE_TYPE
public static final CustomerField<String> TAX_NUMBER1
public static final CustomerField<String> TAX_NUMBER2
public static final CustomerField<String> TAX_NUMBER3
public static final CustomerField<String> TAX_NUMBER4
public static final CustomerField<String> TAX_NUMBER5
public static final CustomerField<String> TAX_NUMBER_TYPE
public static final CustomerField<String> VAT_REGISTRATION
public static final CustomerField<Boolean> DELETION_INDICATOR
public static final CustomerLink<CustomerCompany> TO_CUSTOMER_COMPANY
public static final CustomerLink<CustomerSalesArea> TO_CUSTOMER_SALES_AREA
public Customer()
public Customer(@Nullable String customer, @Nullable String authorizationGroup, @Nullable String billingIsBlockedForCustomer, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable String customerAccountGroup, @Nullable String customerClassification, @Nullable String customerFullName, @Nullable String customerName, @Nullable String deliveryIsBlocked, @Nullable String nFPartnerIsNaturalPerson, @Nullable String orderIsBlockedForCustomer, @Nullable Boolean postingIsBlocked, @Nullable String supplier, @Nullable String customerCorporateGroup, @Nullable String fiscalAddress, @Nullable String industry, @Nullable String industryCode1, @Nullable String industryCode2, @Nullable String industryCode3, @Nullable String industryCode4, @Nullable String industryCode5, @Nullable String internationalLocationNumber1, @Nullable String nielsenRegion, @Nullable String responsibleType, @Nullable String taxNumber1, @Nullable String taxNumber2, @Nullable String taxNumber3, @Nullable String taxNumber4, @Nullable String taxNumber5, @Nullable String taxNumberType, @Nullable String vATRegistration, @Nullable Boolean deletionIndicator, List<CustomerCompany> toCustomerCompany, List<CustomerSalesArea> toCustomerSalesArea)
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 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.public void setBillingIsBlockedForCustomer(@Nullable String billingIsBlockedForCustomer)
Original property name from the Odata EDM: BillingIsBlockedForCustomer
You can define different kinds of block, according to the needs of your organization. You can, for example, automatically block the processing of all credit memos to a certain customer, pending manual approval.
billingIsBlockedForCustomer
- Indicates if the processing of billing documents is blocked for the customer in all sales areas
(company-wide, for example).public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name with which the user who entered the master record was logged on in the R/3 System.public void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on which the master record, or the part of the master record being viewed, was created.public void setCustomerAccountGroup(@Nullable String customerAccountGroup)
Original property name from the Odata EDM: CustomerAccountGroup
in which number range the customer account number should be;whether the number is assigned by the user or by the system;which specifications are necessary or possible in the master record.
customerAccountGroup
- The account group is a classifying feature within customer master records. The account group
determines:public void setCustomerClassification(@Nullable String customerClassification)
Original property name from the Odata EDM: CustomerClassification
The classifications are freely definable according to the needs of your organization.
customerClassification
- Specifies a classification of the customer (for example, classifies the customer as a bulk purchaser).public void setCustomerFullName(@Nullable String customerFullName)
Original property name from the Odata EDM: CustomerFullName
customerFullName
- Customer Full Namepublic void setCustomerName(@Nullable String customerName)
Original property name from the Odata EDM: CustomerName
customerName
- Name of Customerpublic void setDeliveryIsBlocked(@Nullable String deliveryIsBlocked)
Original property name from the Odata EDM: DeliveryIsBlocked
You can define different kinds of block, according to the needs of your organization. You can, for example, automatically block all deliveries to a certain customer for credit reasons.
deliveryIsBlocked
- Indicates if delivery processing is blocked for the customer in all sales areas (company-wide, for
example).public void setNFPartnerIsNaturalPerson(@Nullable String nFPartnerIsNaturalPerson)
Original property name from the Odata EDM: NFPartnerIsNaturalPerson
In the following countries, the system needs to know whether the taxpayer is a legal or natural person so that it can check the tax numbers correctly:BrazilBulgariaColombiaCroatiaGreeceItalyMexicoPeruSloveniaThailandUkraineThe flag is also used in conjunction with the Statement of Payments to Natural Persons report, as used in the Czech Republic and in Slovakia. This report only covers customers and vendors for whom you have set this indicator.In South Korea, it is used in conjunction with the Generic Withholding Tax Reporting program.
nFPartnerIsNaturalPerson
- Denotes a natural person.public void setOrderIsBlockedForCustomer(@Nullable String orderIsBlockedForCustomer)
Original property name from the Odata EDM: OrderIsBlockedForCustomer
If you block sales order processing, the block counts for the following partner functions of the customer:Sold-to partyShip-to partyPayerIf you want to process an order where the ship-to party differs from the sold-to party, and the ship-to party is blocked, you cannot process the order.You can define different kinds of block, according to the needs of your organization. You can, for example, automatically block all free of charge deliveries and credit memo requests for a certain customer, pending manual approval before further processing can take place.
orderIsBlockedForCustomer
- Indicates if sales order processing is blocked for the customer in all sales areas (company-wide, for
example).public void setPostingIsBlocked(@Nullable Boolean postingIsBlocked)
Original property name from the Odata EDM: PostingIsBlocked
If you set this indicator, the system prevents users from posting items to this account and issues an error message to inform them that the account is blocked.
postingIsBlocked
- Indicates that the account is blocked for posting for all company codes.public void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Specifies an alphanumeric key that uniquely identifies the supplier in the SAP system.public void setCustomerCorporateGroup(@Nullable String customerCorporateGroup)
Original property name from the Odata EDM: CustomerCorporateGroup
If you create a matchcode using this group key, group evaluations are possible.
customerCorporateGroup
- If the customer or the vendor belongs to a group, you can enter a group key here. The group key is
freely assignable.public void setFiscalAddress(@Nullable String fiscalAddress)
Original property name from the Odata EDM: FiscalAddress
fiscalAddress
- Account number of another master record in which the official address is stored. This address is used,
for example, for tax reports to the tax authorities in Italy.public void setIndustry(@Nullable String industry)
Original property name from the Odata EDM: Industry
The industry field belongs to the general data area of customer and vendor master records.
industry
- An industry is a distinct group of companies with the same basic business activity. The industry key
is used in selecting data for evaluations (for example, a vendor master data list). You can specify
industries such as trade, banking, service, manufacturing, health care, public service, media and so
on.public void setIndustryCode1(@Nullable String industryCode1)
Original property name from the Odata EDM: IndustryCode1
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code. You can assign more than one industry code to a customer by choosing Create more.
industryCode1
- Specifies the code that uniquely identifies the industry (or industries) of the customer.public void setIndustryCode2(@Nullable String industryCode2)
Original property name from the Odata EDM: IndustryCode2
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
industryCode2
- Specifies an additional code that identifies the industry (or industries) of the customer.public void setIndustryCode3(@Nullable String industryCode3)
Original property name from the Odata EDM: IndustryCode3
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
industryCode3
- Specifies an additional code that identifies the industry (or industries) of the customer.public void setIndustryCode4(@Nullable String industryCode4)
Original property name from the Odata EDM: IndustryCode4
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
industryCode4
- Specifies an additional code that identifies the industry (or industries) of the customer.public void setIndustryCode5(@Nullable String industryCode5)
Original property name from the Odata EDM: IndustryCode5
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
industryCode5
- Specifies an additional code that identifies the industry (or industries) of the customer.public void setInternationalLocationNumber1(@Nullable String internationalLocationNumber1)
Original property name from the Odata EDM: InternationalLocationNumber1
The International Location Number (ILN) is assigned (in Germany by the Centrale for Coorganisation GmbH)) when a company is founded. It consists of 13 digits, the last digit being the check digit. There are two categories of location numbers:Participants who only need an ILN to cleary and unmistakably identify themselves for communication with the business partner are given a category 1 ILN. This cannot be used to identify articles by means of EAN.Participants who wish to assign the location numbers for their own enterprise areas are given a category 2 ILN. For a category 2 ILN, digits 1 to 7 are described as basis number. This is used as basis for the creation of article numbers (EAN).
internationalLocationNumber1
- Here you enter the first 7 digits of the international location number.public void setNielsenRegion(@Nullable String nielsenRegion)
Original property name from the Odata EDM: NielsenRegion
By allocating a Nielsen division, you can use the services of the Nielsen Institute to create a market analysis of your customers.
nielsenRegion
- Specifies a regional division according to the market categories created by the A. C. Nielsen company.public void setResponsibleType(@Nullable String responsibleType)
Original property name from the Odata EDM: ResponsibleType
responsibleType
- Classification of companies according to tax aspects.public void setTaxNumber1(@Nullable String taxNumber1)
Original property name from the Odata EDM: TaxNumber1
Enter the appropriate tax number:Country Tax NumberArgentina CUIT number or CUIL numberBelgium Enterprise numberBrazil CNPJ numberBulgaria Unified identification codeChile RUT numberChina VAT registration number (shui wu deng ji hao)Colombia NIT numberCroatia Legal persons: company identification numberNatural persons: JMBG numberCzech Republic DIC numberFrance SIRET numberGreece Personal IDHungary Tax numberItaly Fiscal codeKazakhstan RNN (obsolete)Mexico RFC numberNetherlands SI registration number (Aansluitnummer UWV) of chain- liability vendorNorway VAT numberPeru RUC numberPhilippines Taxpayer identification number (see below)Poland NIP numberPortugal NIF numberRomania Tax numberRussia INNSlovakia DIC numberSlovenia Tax numberSouth Korea Natural persons: Personal identification numberLegal persons: Corporation IDSpain NIF numberSwitzerland UID numberTaiwan GUI registration numberThailand Personal IDTurkey Name of business partner's tax officeUkraine Taxpayer identification numberUnited Kingdom Company registration numberUnited States Social security numberVenezuela RIF numberIn the Philippines, enter the taxpayer identification number with a V or N at the end, as follows:If the business partner is liable to VAT: 999-999-999-999VIf the business partner is not liable to VAT: 999-999-999-999N
taxNumber1
- Specifies the tax number.public void setTaxNumber2(@Nullable String taxNumber2)
Original property name from the Odata EDM: TaxNumber2
Enter the appropriate tax number:Country Tax NumberArgentina NIP number or CM numberBelgium VAT numberBrazil CPF numberBulgaria Legal persons: tax numberNatural persons: personal IDCroatia OIB number Czech Republic ICO numberFrance SIREN numberGreece AFM numberIndia TINItaly VAT numberKazakhstan BC (Beneficiary Code)Netherlands BSN numberRussia OKPO codeSlovakia ICO numberSouth Korea VAT registration numberSweden Organization registration numberSwitzerland VAT numberTaiwan Tax registration numberUkraine Legal persons: USREOU numberNatural persons: SRNP numberTurkey Tax numberUnited Kingdom NI numberUnited States Employer identification numberVenezuela NIT number
taxNumber2
- Specifies the tax number.public void setTaxNumber3(@Nullable String taxNumber3)
Original property name from the Odata EDM: TaxNumber3
Enter the tax number that applies:Country Tax numberArgentina Withholding agent numberBrazil State tax numberBulgaria Social security numberMexico CURP numberKazakhstan BINNetherlands Tax registration number (Loonbelastingnummer) of the chain-liability vendorRussia KPP numberThailand Tax ID Ukraine VAT registration number
taxNumber3
- Specifies the tax number.public void setTaxNumber4(@Nullable String taxNumber4)
Original property name from the Odata EDM: TaxNumber4
Enter the appropriate tax number:Country Tax NumberBrazil Municipal tax numberKazakhstan IINRussia OFK number (for public bodies only)
taxNumber4
- Specifies the tax number.public void setTaxNumber5(@Nullable String taxNumber5)
Original property name from the Odata EDM: TaxNumber5
Specifies the certificate of registration as VAT payer in the following format: XXXXXYYYYYYYZZZZZZZZ, where: XXXXX is the certificate serial number, YYYYYYY is the certificate number and ZZZZZZZZ is the date of certificate issue.
taxNumber5
- Kazakhstanpublic void setTaxNumberType(@Nullable String taxNumberType)
Original property name from the Odata EDM: TaxNumberType
The format and the check of tax number 1 depend on the two-digit tax number type.The tax number type is an identification type for tax in Argentina (for example, 80 for CUIT) and is used for the DGI tax report.
taxNumberType
- Taxes in Argentina:public void setVATRegistration(@Nullable String vATRegistration)
Original property name from the Odata EDM: VATRegistration
The VAT registration number is used within the EU for tax-exempt deliveries for the "EC sales list". The check rules are defined for each EU country and cannot be changed.
vATRegistration
- VAT registration number (VAT reg.no.) of the customer, vendor or your company code.public void setDeletionIndicator(@Nullable Boolean deletionIndicator)
Original property name from the Odata EDM: DeletionIndicator
To delete this data, you have to run the archiving program for Accounts Receivable or Payable. This program will archive all master records marked for deletion provided that there is no dependent data in them.Deletion flags can also be used in the program for deleting master data. You should, however, run this program only to delete test data prior to production startup.
deletionIndicator
- Indicates that all data in this master record is to be deleted.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<Customer>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Customer>
@Nonnull public static <T> CustomerField<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> CustomerField<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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<Customer>
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<Customer>
public void attachToService(@Nullable String servicePath, @Nullable HttpDestinationProperties destination)
attachToService
in class VdmEntity<Customer>
protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<Customer>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<Customer>
@Nonnull public List<CustomerCompany> fetchCustomerCompany() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<CustomerCompany> getCustomerCompanyOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CustomerCompany of a queried Customer is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<CustomerCompany>> getCustomerCompanyIfPresent()
If the navigation property for an entity Customer has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setCustomerCompany(@Nonnull List<CustomerCompany> value)
If the navigation property to_CustomerCompany of a queried Customer is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of CustomerCompany entities.public void addCustomerCompany(CustomerCompany... entity)
If the navigation property to_CustomerCompany of a queried Customer is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of CustomerCompany entities.@Nonnull public List<CustomerSalesArea> fetchCustomerSalesArea() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<CustomerSalesArea> getCustomerSalesAreaOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CustomerSalesArea of a queried Customer is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<CustomerSalesArea>> getCustomerSalesAreaIfPresent()
If the navigation property for an entity Customer has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setCustomerSalesArea(@Nonnull List<CustomerSalesArea> value)
If the navigation property to_CustomerSalesArea of a queried Customer is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of CustomerSalesArea entities.public void addCustomerSalesArea(CustomerSalesArea... entity)
If the navigation property to_CustomerSalesArea of a queried Customer is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of CustomerSalesArea entities.public static Customer.CustomerBuilder builder()
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nullable public String getBillingIsBlockedForCustomer()
Original property name from the Odata EDM: BillingIsBlockedForCustomer
You can define different kinds of block, according to the needs of your organization. You can, for example, automatically block the processing of all credit memos to a certain customer, pending manual approval.
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getCustomerAccountGroup()
Original property name from the Odata EDM: CustomerAccountGroup
in which number range the customer account number should be;whether the number is assigned by the user or by the system;which specifications are necessary or possible in the master record.
@Nullable public String getCustomerClassification()
Original property name from the Odata EDM: CustomerClassification
The classifications are freely definable according to the needs of your organization.
@Nullable public String getCustomerFullName()
Original property name from the Odata EDM: CustomerFullName
@Nullable public String getCustomerName()
Original property name from the Odata EDM: CustomerName
@Nullable public String getDeliveryIsBlocked()
Original property name from the Odata EDM: DeliveryIsBlocked
You can define different kinds of block, according to the needs of your organization. You can, for example, automatically block all deliveries to a certain customer for credit reasons.
@Nullable public String getNFPartnerIsNaturalPerson()
Original property name from the Odata EDM: NFPartnerIsNaturalPerson
In the following countries, the system needs to know whether the taxpayer is a legal or natural person so that it can check the tax numbers correctly:BrazilBulgariaColombiaCroatiaGreeceItalyMexicoPeruSloveniaThailandUkraineThe flag is also used in conjunction with the Statement of Payments to Natural Persons report, as used in the Czech Republic and in Slovakia. This report only covers customers and vendors for whom you have set this indicator.In South Korea, it is used in conjunction with the Generic Withholding Tax Reporting program.
@Nullable public String getOrderIsBlockedForCustomer()
Original property name from the Odata EDM: OrderIsBlockedForCustomer
If you block sales order processing, the block counts for the following partner functions of the customer:Sold-to partyShip-to partyPayerIf you want to process an order where the ship-to party differs from the sold-to party, and the ship-to party is blocked, you cannot process the order.You can define different kinds of block, according to the needs of your organization. You can, for example, automatically block all free of charge deliveries and credit memo requests for a certain customer, pending manual approval before further processing can take place.
@Nullable public Boolean getPostingIsBlocked()
Original property name from the Odata EDM: PostingIsBlocked
If you set this indicator, the system prevents users from posting items to this account and issues an error message to inform them that the account is blocked.
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getCustomerCorporateGroup()
Original property name from the Odata EDM: CustomerCorporateGroup
If you create a matchcode using this group key, group evaluations are possible.
@Nullable public String getFiscalAddress()
Original property name from the Odata EDM: FiscalAddress
@Nullable public String getIndustry()
Original property name from the Odata EDM: Industry
The industry field belongs to the general data area of customer and vendor master records.
@Nullable public String getIndustryCode1()
Original property name from the Odata EDM: IndustryCode1
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code. You can assign more than one industry code to a customer by choosing Create more.
@Nullable public String getIndustryCode2()
Original property name from the Odata EDM: IndustryCode2
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
@Nullable public String getIndustryCode3()
Original property name from the Odata EDM: IndustryCode3
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
@Nullable public String getIndustryCode4()
Original property name from the Odata EDM: IndustryCode4
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
@Nullable public String getIndustryCode5()
Original property name from the Odata EDM: IndustryCode5
Depending on the standards your organization uses (for example, Standard Industry Codes (SIC)), enter the appropriate code.
@Nullable public String getInternationalLocationNumber1()
Original property name from the Odata EDM: InternationalLocationNumber1
The International Location Number (ILN) is assigned (in Germany by the Centrale for Coorganisation GmbH)) when a company is founded. It consists of 13 digits, the last digit being the check digit. There are two categories of location numbers:Participants who only need an ILN to cleary and unmistakably identify themselves for communication with the business partner are given a category 1 ILN. This cannot be used to identify articles by means of EAN.Participants who wish to assign the location numbers for their own enterprise areas are given a category 2 ILN. For a category 2 ILN, digits 1 to 7 are described as basis number. This is used as basis for the creation of article numbers (EAN).
@Nullable public String getNielsenRegion()
Original property name from the Odata EDM: NielsenRegion
By allocating a Nielsen division, you can use the services of the Nielsen Institute to create a market analysis of your customers.
@Nullable public String getResponsibleType()
Original property name from the Odata EDM: ResponsibleType
@Nullable public String getTaxNumber1()
Original property name from the Odata EDM: TaxNumber1
Enter the appropriate tax number:Country Tax NumberArgentina CUIT number or CUIL numberBelgium Enterprise numberBrazil CNPJ numberBulgaria Unified identification codeChile RUT numberChina VAT registration number (shui wu deng ji hao)Colombia NIT numberCroatia Legal persons: company identification numberNatural persons: JMBG numberCzech Republic DIC numberFrance SIRET numberGreece Personal IDHungary Tax numberItaly Fiscal codeKazakhstan RNN (obsolete)Mexico RFC numberNetherlands SI registration number (Aansluitnummer UWV) of chain- liability vendorNorway VAT numberPeru RUC numberPhilippines Taxpayer identification number (see below)Poland NIP numberPortugal NIF numberRomania Tax numberRussia INNSlovakia DIC numberSlovenia Tax numberSouth Korea Natural persons: Personal identification numberLegal persons: Corporation IDSpain NIF numberSwitzerland UID numberTaiwan GUI registration numberThailand Personal IDTurkey Name of business partner's tax officeUkraine Taxpayer identification numberUnited Kingdom Company registration numberUnited States Social security numberVenezuela RIF numberIn the Philippines, enter the taxpayer identification number with a V or N at the end, as follows:If the business partner is liable to VAT: 999-999-999-999VIf the business partner is not liable to VAT: 999-999-999-999N
@Nullable public String getTaxNumber2()
Original property name from the Odata EDM: TaxNumber2
Enter the appropriate tax number:Country Tax NumberArgentina NIP number or CM numberBelgium VAT numberBrazil CPF numberBulgaria Legal persons: tax numberNatural persons: personal IDCroatia OIB number Czech Republic ICO numberFrance SIREN numberGreece AFM numberIndia TINItaly VAT numberKazakhstan BC (Beneficiary Code)Netherlands BSN numberRussia OKPO codeSlovakia ICO numberSouth Korea VAT registration numberSweden Organization registration numberSwitzerland VAT numberTaiwan Tax registration numberUkraine Legal persons: USREOU numberNatural persons: SRNP numberTurkey Tax numberUnited Kingdom NI numberUnited States Employer identification numberVenezuela NIT number
@Nullable public String getTaxNumber3()
Original property name from the Odata EDM: TaxNumber3
Enter the tax number that applies:Country Tax numberArgentina Withholding agent numberBrazil State tax numberBulgaria Social security numberMexico CURP numberKazakhstan BINNetherlands Tax registration number (Loonbelastingnummer) of the chain-liability vendorRussia KPP numberThailand Tax ID Ukraine VAT registration number
@Nullable public String getTaxNumber4()
Original property name from the Odata EDM: TaxNumber4
Enter the appropriate tax number:Country Tax NumberBrazil Municipal tax numberKazakhstan IINRussia OFK number (for public bodies only)
@Nullable public String getTaxNumber5()
Original property name from the Odata EDM: TaxNumber5
Specifies the certificate of registration as VAT payer in the following format: XXXXXYYYYYYYZZZZZZZZ, where: XXXXX is the certificate serial number, YYYYYYY is the certificate number and ZZZZZZZZ is the date of certificate issue.
@Nullable public String getTaxNumberType()
Original property name from the Odata EDM: TaxNumberType
The format and the check of tax number 1 depend on the two-digit tax number type.The tax number type is an identification type for tax in Argentina (for example, 80 for CUIT) and is used for the DGI tax report.
@Nullable public String getVATRegistration()
Original property name from the Odata EDM: VATRegistration
The VAT registration number is used within the EU for tax-exempt deliveries for the "EC sales list". The check rules are defined for each EU country and cannot be changed.
@Nullable public Boolean getDeletionIndicator()
Original property name from the Odata EDM: DeletionIndicator
To delete this data, you have to run the archiving program for Accounts Receivable or Payable. This program will archive all master records marked for deletion provided that there is no dependent data in them.Deletion flags can also be used in the program for deleting master data. You should, however, run this program only to delete test data prior to production startup.
Copyright © 2019 SAP SE. All rights reserved.