Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductSalesTax" of service "API_CLFN_PRODUCT_SRV". This service is part of the following communication scenarios: Product Classification Integration (SAP_COM_0309). See https://api.sap.com/api/API_CLFN_PRODUCT_SRV for more information.

Hierarchy

  • any
    • ProductSalesTax

Implements

Index

Properties

country

country: string

Departure country (country from which the goods are sent). Identifies the country in which the delivery originates. You can define the country key in a table. As a rule, it is a good idea to use the existing international standards for identifying vehicles from different countries (for example: USA = United States, I = Italy, and so on). The system uses the key to help determine the relevant taxes during pricing determine important country-specific standards (the length of postal codes and bank account numbers, for example). Maximum length: 3.

product

product: string

Product Number. Alphanumeric key uniquely identifying the product. Maximum length: 40.

taxCategory

taxCategory: string

Tax category (sales tax, federal sales tax,...). Identifies the condition that the system uses to automatically determine country-specific taxes during pricing. You can define one or more tax categories for each country. During sales order processing, the system applies the tax category according to the geographical location of your delivering plant and the location of the customer receiving the goods tax classifications in the customer master record and the material master record. In the USA, for example, you can define tax categories for Federal Sales Tax and Federal Excise Tax. In the U.K., you can define a tax category for Value Added Tax (VAT). Maximum length: 4.

taxClassification

taxClassification: string

Tax Classification. Maximum length: 1.

Static COUNTRY

COUNTRY: StringField<ProductSalesTax> = new StringField('Country', ProductSalesTax, 'Edm.String')

Static representation of the country property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT

PRODUCT: StringField<ProductSalesTax> = new StringField('Product', ProductSalesTax, 'Edm.String')

Static representation of the product property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TAX_CATEGORY

TAX_CATEGORY: StringField<ProductSalesTax> = new StringField('TaxCategory', ProductSalesTax, 'Edm.String')

Static representation of the taxCategory property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TAX_CLASSIFICATION

TAX_CLASSIFICATION: StringField<ProductSalesTax> = new StringField('TaxClassification', ProductSalesTax, 'Edm.String')

Static representation of the taxClassification property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [ProductSalesTax.PRODUCT,ProductSalesTax.COUNTRY,ProductSalesTax.TAX_CATEGORY,ProductSalesTax.TAX_CLASSIFICATION]

All fields of the ProductSalesTax entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_CLFN_PRODUCT_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductSalesTax"

Technical entity name for ProductSalesTax.

Static _keyFields

_keyFields: Array<Selectable<ProductSalesTax>> = [ProductSalesTax.PRODUCT, ProductSalesTax.COUNTRY, ProductSalesTax.TAX_CATEGORY, ProductSalesTax.TAX_CLASSIFICATION]

All key fields of the ProductSalesTax entity.

Static _keys

_keys: any = ProductSalesTax._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property ProductSalesTax.

Static _serviceName

_serviceName: string = "API_CLFN_PRODUCT_SRV"

Technical service name for ProductSalesTax.

Methods

Static builder

  • Returns an entity builder to construct instances ProductSalesTax.

    Returns EntityBuilderType<ProductSalesTax, ProductSalesTaxType>

    A builder that constructs instances of entity type ProductSalesTax.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the ProductSalesTax entity type.

    Returns ProductSalesTaxRequestBuilder

    A ProductSalesTax request builder.