public class CompanyCode extends VdmEntity<CompanyCode>
Modifier and Type | Class and Description |
---|---|
static class |
CompanyCode.CompanyCodeBuilder |
Modifier and Type | Field and Description |
---|---|
static CompanyCodeField<String> |
ADDRESS_ID
Use with available fluent helpers to apply the AddressID field to query operations.
|
static CompanyCodeSelectable |
ALL_FIELDS
Selector for all available fields of CompanyCode.
|
static CompanyCodeField<String> |
CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the ChartOfAccounts field to query operations.
|
static CompanyCodeField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static CompanyCodeField<String> |
COMPANY
Use with available fluent helpers to apply the Company field to query operations.
|
static CompanyCodeField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CompanyCodeField<String> |
COMPANY_CODE_NAME
Use with available fluent helpers to apply the CompanyCodeName field to query operations.
|
static CompanyCodeField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static CompanyCodeField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static CompanyCodeField<String> |
COUNTRY_CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations.
|
static CompanyCodeField<String> |
CREDIT_CONTROL_AREA
Use with available fluent helpers to apply the CreditControlArea field to query operations.
|
static CompanyCodeField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static CompanyCodeField<Boolean> |
DOC_DATE_IS_USED_FOR_TAX_DETN
Use with available fluent helpers to apply the DocDateIsUsedForTaxDetn field to query operations.
|
static CompanyCodeField<Boolean> |
EXTENDED_WHLDG_TAX_IS_ACTIVE
Use with available fluent helpers to apply the ExtendedWhldgTaxIsActive field to query operations.
|
static CompanyCodeField<String> |
FIELD_STATUS_VARIANT
Use with available fluent helpers to apply the FieldStatusVariant field to query operations.
|
static CompanyCodeField<String> |
FINANCIAL_MANAGEMENT_AREA
Use with available fluent helpers to apply the FinancialManagementArea field to query operations.
|
static CompanyCodeField<String> |
FISCAL_YEAR_VARIANT
Use with available fluent helpers to apply the FiscalYearVariant field to query operations.
|
static CompanyCodeField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static CompanyCodeField<String> |
NON_TAXABLE_TRANSACTION_TAX_CODE
Use with available fluent helpers to apply the NonTaxableTransactionTaxCode field to query operations.
|
static CompanyCodeField<Boolean> |
TAX_RPTG_DATE_IS_ACTIVE
Use with available fluent helpers to apply the TaxRptgDateIsActive field to query operations.
|
static CompanyCodeField<String> |
TAXABLE_ENTITY
Use with available fluent helpers to apply the TaxableEntity field to query operations.
|
static CompanyCodeField<String> |
VAT_REGISTRATION
Use with available fluent helpers to apply the VATRegistration field to query operations.
|
Constructor and Description |
---|
CompanyCode() |
CompanyCode(String companyCode,
String companyCodeName,
String cityName,
String country,
String currency,
String language,
String chartOfAccounts,
String fiscalYearVariant,
String company,
String creditControlArea,
String countryChartOfAccounts,
String financialManagementArea,
String addressID,
String taxableEntity,
String vATRegistration,
Boolean extendedWhldgTaxIsActive,
String controllingArea,
String fieldStatusVariant,
String nonTaxableTransactionTaxCode,
Boolean docDateIsUsedForTaxDetn,
Boolean taxRptgDateIsActive,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CompanyCode.CompanyCodeBuilder |
builder() |
boolean |
equals(Object o) |
static <T> CompanyCodeField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getAddressID()
Constraints: Not nullable, Maximum length: 10
|
String |
getChartOfAccounts()
Constraints: Not nullable, Maximum length: 4
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 25
|
String |
getCompany()
Constraints: Not nullable, Maximum length: 6
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCompanyCodeName()
Constraints: Not nullable, Maximum length: 25
|
String |
getControllingArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getCountry()
Constraints: Not nullable, Maximum length: 3
|
String |
getCountryChartOfAccounts()
Constraints: Not nullable, Maximum length: 4
|
String |
getCreditControlArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
Boolean |
getDocDateIsUsedForTaxDetn()
Constraints: none
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Boolean |
getExtendedWhldgTaxIsActive()
Constraints: none
|
String |
getFieldStatusVariant()
Constraints: Not nullable, Maximum length: 4
|
String |
getFinancialManagementArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getFiscalYearVariant()
Constraints: Not nullable, Maximum length: 2
|
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getNonTaxableTransactionTaxCode()
Constraints: Not nullable, Maximum length: 2
|
String |
getTaxableEntity()
Constraints: Not nullable, Maximum length: 4
|
Boolean |
getTaxRptgDateIsActive()
Constraints: none
|
Class<CompanyCode> |
getType() |
String |
getVATRegistration()
Constraints: Not nullable, Maximum length: 20
|
int |
hashCode() |
void |
setAddressID(String addressID)
Constraints: Not nullable, Maximum length: 10
|
void |
setChartOfAccounts(String chartOfAccounts)
Constraints: Not nullable, Maximum length: 4
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 25
|
void |
setCompany(String company)
Constraints: Not nullable, Maximum length: 6
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCompanyCodeName(String companyCodeName)
Constraints: Not nullable, Maximum length: 25
|
void |
setControllingArea(String controllingArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setCountryChartOfAccounts(String countryChartOfAccounts)
Constraints: Not nullable, Maximum length: 4
|
void |
setCreditControlArea(String creditControlArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setDocDateIsUsedForTaxDetn(Boolean docDateIsUsedForTaxDetn)
Constraints: none
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setExtendedWhldgTaxIsActive(Boolean extendedWhldgTaxIsActive)
Constraints: none
|
void |
setFieldStatusVariant(String fieldStatusVariant)
Constraints: Not nullable, Maximum length: 4
|
void |
setFinancialManagementArea(String financialManagementArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setFiscalYearVariant(String fiscalYearVariant)
Constraints: Not nullable, Maximum length: 2
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setNonTaxableTransactionTaxCode(String nonTaxableTransactionTaxCode)
Constraints: Not nullable, Maximum length: 2
|
void |
setTaxableEntity(String taxableEntity)
Constraints: Not nullable, Maximum length: 4
|
void |
setTaxRptgDateIsActive(Boolean taxRptgDateIsActive)
Constraints: none
|
void |
setVATRegistration(String vATRegistration)
Constraints: Not nullable, Maximum length: 20
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final CompanyCodeSelectable ALL_FIELDS
public static final CompanyCodeField<String> COMPANY_CODE
public static final CompanyCodeField<String> COMPANY_CODE_NAME
public static final CompanyCodeField<String> CITY_NAME
public static final CompanyCodeField<String> COUNTRY
public static final CompanyCodeField<String> CURRENCY
public static final CompanyCodeField<String> LANGUAGE
public static final CompanyCodeField<String> CHART_OF_ACCOUNTS
public static final CompanyCodeField<String> FISCAL_YEAR_VARIANT
public static final CompanyCodeField<String> COMPANY
public static final CompanyCodeField<String> CREDIT_CONTROL_AREA
public static final CompanyCodeField<String> COUNTRY_CHART_OF_ACCOUNTS
public static final CompanyCodeField<String> FINANCIAL_MANAGEMENT_AREA
public static final CompanyCodeField<String> ADDRESS_ID
public static final CompanyCodeField<String> TAXABLE_ENTITY
public static final CompanyCodeField<String> VAT_REGISTRATION
public static final CompanyCodeField<Boolean> EXTENDED_WHLDG_TAX_IS_ACTIVE
public static final CompanyCodeField<String> CONTROLLING_AREA
public static final CompanyCodeField<String> FIELD_STATUS_VARIANT
public static final CompanyCodeField<String> NON_TAXABLE_TRANSACTION_TAX_CODE
public static final CompanyCodeField<Boolean> DOC_DATE_IS_USED_FOR_TAX_DETN
public static final CompanyCodeField<Boolean> TAX_RPTG_DATE_IS_ACTIVE
@Generated(value="lombok") public CompanyCode()
@ConstructorProperties(value={"companyCode","companyCodeName","cityName","country","currency","language","chartOfAccounts","fiscalYearVariant","company","creditControlArea","countryChartOfAccounts","financialManagementArea","addressID","taxableEntity","vATRegistration","extendedWhldgTaxIsActive","controllingArea","fieldStatusVariant","nonTaxableTransactionTaxCode","docDateIsUsedForTaxDetn","taxRptgDateIsActive","erpConfigContext"}) @Generated(value="lombok") public CompanyCode(@Nullable String companyCode, @Nullable String companyCodeName, @Nullable String cityName, @Nullable String country, @Nullable String currency, @Nullable String language, @Nullable String chartOfAccounts, @Nullable String fiscalYearVariant, @Nullable String company, @Nullable String creditControlArea, @Nullable String countryChartOfAccounts, @Nullable String financialManagementArea, @Nullable String addressID, @Nullable String taxableEntity, @Nullable String vATRegistration, @Nullable Boolean extendedWhldgTaxIsActive, @Nullable String controllingArea, @Nullable String fieldStatusVariant, @Nullable String nonTaxableTransactionTaxCode, @Nullable Boolean docDateIsUsedForTaxDetn, @Nullable Boolean taxRptgDateIsActive, @Nullable ErpConfigContext erpConfigContext)
public Class<CompanyCode> getType()
getType
in class VdmObject<CompanyCode>
public static <T> CompanyCodeField<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.@Generated(value="lombok") public static CompanyCode.CompanyCodeBuilder builder()
@Nullable @Generated(value="lombok") public String getCompanyCode()
@Nullable @Generated(value="lombok") public String getCompanyCodeName()
@Nullable @Generated(value="lombok") public String getCityName()
@Nullable @Generated(value="lombok") public String getCountry()
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used. It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key. The country keys are determined at system installation in the global settings. The definition of the country key in the SAP system does not have to match political or government entities. Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
@Nullable @Generated(value="lombok") public String getCurrency()
@Nullable @Generated(value="lombok") public String getLanguage()
- the language in which texts are displayed, - the language in which you enter texts, - the language in which the system prints texts.
@Nullable @Generated(value="lombok") public String getChartOfAccounts()
@Nullable @Generated(value="lombok") public String getFiscalYearVariant()
You can define the following using a fiscal year variant: How many posting periods are in a fiscal year How many special periods you require How the system determines the posting periods when posting. In the definition, you allocate your posting periods to the calendar year. Allocation control requires the same number of posting periods in the company code and in the assigned controlling area. This means that the number of posting periods in the fiscal year variants must be the same in the company code and in the controlling area. The period limits for the two fiscal year variants must also coincide. You must define which fiscal year variant is to be used for each company code. To do this, you must define the appropriate fiscal year variant (to contain no more than 16 periods). Note: The company codes delivered with the standard system are allocated to the fiscal year variant that corresponds to the calendar year and which also uses four special periods. You maintain fiscal year variants as well as the allocation of fiscal year variant to the company code in Financial Accounting Customizing. Maintain fiscal year variants Proceed. Allocation of fiscal year variant to the company code Proceed.
@Nullable @Generated(value="lombok") public String getCompany()
@Nullable @Generated(value="lombok") public String getCreditControlArea()
You can also enter the credit control area separately for each posting, if this was marked in the appropriate company code. When entering an order, the credit control area can also be determined from the business area and the sales area segement of the payer's master record or using a user exit. It follows that company codes and credit control areas are not linked. The only thing that you define in the company code table is the default credit control area. This is used either for payments on account to credit these payments, or where you did not enter a credit control area or the system could not determine one. There is also an allocation table of permitted credit control areas per company code which is used to check entries only.
@Nullable @Generated(value="lombok") public String getCountryChartOfAccounts()
The usage is optional and only necessary where the chart of accounts you are using is not allowed under national regulations. You might want to use a standard chart of accounts worldwide. However, the usage of another chart of accounts is required by law in some company codes. By using the Alternative account number, the connection between the account in the worldwide standard chart of accounts and the account in the country chart of accounts can be set up. The essential programs in General Ledger can output either the unique worldwide number or the country-specific number and the corresponding text.
@Nullable @Generated(value="lombok") public String getFinancialManagementArea()
An FM area is an organizational unit which plans, controls and monitors funds and commitment budgets.
@Nullable @Generated(value="lombok") public String getAddressID()
@Nullable @Generated(value="lombok") public String getTaxableEntity()
@Nullable @Generated(value="lombok") public String getVATRegistration()
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 @Generated(value="lombok") public Boolean getExtendedWhldgTaxIsActive()
You then need to convert master data and transaction data and make further Customizing settings for financial accounting. Once you have activated extended withholding tax, you cannot return to using previous withhholding tax processing.
@Nullable @Generated(value="lombok") public String getControllingArea()
The controlling area is the highest organizational unit in Controlling. Whether controlling area and company code are in a 1:1 relationship or a 1:n relationship, the number of posting periods in both controlling area and company code(s) must be identical. However, special periods may vary.
@Nullable @Generated(value="lombok") public String getFieldStatusVariant()
The field status group specifies which fields are ready for input, which fields must be filled or which fields are suppressed when entering documents. This specification is known as the field status.
@Nullable @Generated(value="lombok") public String getNonTaxableTransactionTaxCode()
For the taxation procedure with jurisdiction codes, a jurisdiction code which can be generally used must still be provided. As an alternative, it is possible to set an indicator in the G/L account master record which permits transactions "not relevant to tax" to be posted even without a tax code.
@Nullable @Generated(value="lombok") public Boolean getDocDateIsUsedForTaxDetn()
@Nullable @Generated(value="lombok") public Boolean getTaxRptgDateIsActive()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setCompanyCode(@Nullable String companyCode)
companyCode
- @Generated(value="lombok") public void setCompanyCodeName(@Nullable String companyCodeName)
companyCodeName
- @Generated(value="lombok") public void setCityName(@Nullable String cityName)
cityName
- @Generated(value="lombok") public void setCountry(@Nullable String country)
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used. It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key. The country keys are determined at system installation in the global settings. The definition of the country key in the SAP system does not have to match political or government entities. Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
country
- @Generated(value="lombok") public void setCurrency(@Nullable String currency)
currency
- @Generated(value="lombok") public void setLanguage(@Nullable String language)
- the language in which texts are displayed, - the language in which you enter texts, - the language in which the system prints texts.
language
- @Generated(value="lombok") public void setChartOfAccounts(@Nullable String chartOfAccounts)
chartOfAccounts
- @Generated(value="lombok") public void setFiscalYearVariant(@Nullable String fiscalYearVariant)
You can define the following using a fiscal year variant: How many posting periods are in a fiscal year How many special periods you require How the system determines the posting periods when posting. In the definition, you allocate your posting periods to the calendar year. Allocation control requires the same number of posting periods in the company code and in the assigned controlling area. This means that the number of posting periods in the fiscal year variants must be the same in the company code and in the controlling area. The period limits for the two fiscal year variants must also coincide. You must define which fiscal year variant is to be used for each company code. To do this, you must define the appropriate fiscal year variant (to contain no more than 16 periods). Note: The company codes delivered with the standard system are allocated to the fiscal year variant that corresponds to the calendar year and which also uses four special periods. You maintain fiscal year variants as well as the allocation of fiscal year variant to the company code in Financial Accounting Customizing. Maintain fiscal year variants Proceed. Allocation of fiscal year variant to the company code Proceed.
fiscalYearVariant
- @Generated(value="lombok") public void setCompany(@Nullable String company)
company
- @Generated(value="lombok") public void setCreditControlArea(@Nullable String creditControlArea)
You can also enter the credit control area separately for each posting, if this was marked in the appropriate company code. When entering an order, the credit control area can also be determined from the business area and the sales area segement of the payer's master record or using a user exit. It follows that company codes and credit control areas are not linked. The only thing that you define in the company code table is the default credit control area. This is used either for payments on account to credit these payments, or where you did not enter a credit control area or the system could not determine one. There is also an allocation table of permitted credit control areas per company code which is used to check entries only.
creditControlArea
- @Generated(value="lombok") public void setCountryChartOfAccounts(@Nullable String countryChartOfAccounts)
The usage is optional and only necessary where the chart of accounts you are using is not allowed under national regulations. You might want to use a standard chart of accounts worldwide. However, the usage of another chart of accounts is required by law in some company codes. By using the Alternative account number, the connection between the account in the worldwide standard chart of accounts and the account in the country chart of accounts can be set up. The essential programs in General Ledger can output either the unique worldwide number or the country-specific number and the corresponding text.
countryChartOfAccounts
- @Generated(value="lombok") public void setFinancialManagementArea(@Nullable String financialManagementArea)
An FM area is an organizational unit which plans, controls and monitors funds and commitment budgets.
financialManagementArea
- @Generated(value="lombok") public void setAddressID(@Nullable String addressID)
addressID
- @Generated(value="lombok") public void setTaxableEntity(@Nullable String taxableEntity)
taxableEntity
- @Generated(value="lombok") public void setVATRegistration(@Nullable String 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
- @Generated(value="lombok") public void setExtendedWhldgTaxIsActive(@Nullable Boolean extendedWhldgTaxIsActive)
You then need to convert master data and transaction data and make further Customizing settings for financial accounting. Once you have activated extended withholding tax, you cannot return to using previous withhholding tax processing.
extendedWhldgTaxIsActive
- @Generated(value="lombok") public void setControllingArea(@Nullable String controllingArea)
The controlling area is the highest organizational unit in Controlling. Whether controlling area and company code are in a 1:1 relationship or a 1:n relationship, the number of posting periods in both controlling area and company code(s) must be identical. However, special periods may vary.
controllingArea
- @Generated(value="lombok") public void setFieldStatusVariant(@Nullable String fieldStatusVariant)
The field status group specifies which fields are ready for input, which fields must be filled or which fields are suppressed when entering documents. This specification is known as the field status.
fieldStatusVariant
- @Generated(value="lombok") public void setNonTaxableTransactionTaxCode(@Nullable String nonTaxableTransactionTaxCode)
For the taxation procedure with jurisdiction codes, a jurisdiction code which can be generally used must still be provided. As an alternative, it is possible to set an indicator in the G/L account master record which permits transactions "not relevant to tax" to be posted even without a tax code.
nonTaxableTransactionTaxCode
- @Generated(value="lombok") public void setDocDateIsUsedForTaxDetn(@Nullable Boolean docDateIsUsedForTaxDetn)
docDateIsUsedForTaxDetn
- @Generated(value="lombok") public void setTaxRptgDateIsActive(@Nullable Boolean taxRptgDateIsActive)
taxRptgDateIsActive
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<CompanyCode>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<CompanyCode>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<CompanyCode>
Copyright © 2018 SAP SE. All rights reserved.