Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductSales" of service "API_PRODUCT_SRV". This service is part of the following communication scenarios: Distributed Manufacturing Integration (SAP_COM_0077), Product Integration (SAP_COM_0009), SAP Analytics Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_PRODUCT_SRV for more information.

Hierarchy

  • any
    • ProductSales

Implements

Index

Properties

product

product: string

Material Number. Alphanumeric key uniquely identifying the material. Maximum length: 40.

salesStatus

salesStatus: string

Cross-distribution-chain material status. Indicates whether the material may be used in individual functions in Sales and Distribution for all distribution chains. The cross-distribution-chain material status restricts the usability of the material for all the distribution chains, that is, it defines whether a warning or error message is displayed if you include the material in a particular function.The material may be a part under development or one to be discontinued. Maximum length: 2.

nullable

salesStatusValidityDate

salesStatusValidityDate: Moment

Date from which the X-distr.-chain material status is valid. Date from which the cross-distribution-chain material status is valid.

nullable

taxClassification

taxClassification: string

Tax classification of the material. Key that identifies the tax classification of a material. The value entered here serves as the default value for the tax classification of the tax categories to be taken into account (for example, for the tax category value-added tax in Germany). Maximum length: 1.

nullable

transportationGroup

transportationGroup: string

Transportation Group. A grouping of materials that share the same route and transportation requirements. Transportation groups are used for automatic route scheduling during sales order and delivery note processing.Suppose that you sell food products, some of which are perishable and require refrigeration. You create a transportation group that includes all the products that need refrigerated trucks for delivery. Maximum length: 4.

nullable

Static PRODUCT

PRODUCT: StringField<ProductSales> = new StringField('Product', ProductSales, '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 SALES_STATUS

SALES_STATUS: StringField<ProductSales> = new StringField('SalesStatus', ProductSales, 'Edm.String')

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

Static SALES_STATUS_VALIDITY_DATE

SALES_STATUS_VALIDITY_DATE: DateField<ProductSales> = new DateField('SalesStatusValidityDate', ProductSales, 'Edm.DateTime')

Static representation of the salesStatusValidityDate 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<ProductSales> = new StringField('TaxClassification', ProductSales, '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 TRANSPORTATION_GROUP

TRANSPORTATION_GROUP: StringField<ProductSales> = new StringField('TransportationGroup', ProductSales, 'Edm.String')

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

Static _allFields

_allFields: any[] = [ProductSales.PRODUCT,ProductSales.SALES_STATUS,ProductSales.SALES_STATUS_VALIDITY_DATE,ProductSales.TAX_CLASSIFICATION,ProductSales.TRANSPORTATION_GROUP]

All fields of the ProductSales entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductSales"

Technical entity name for ProductSales.

Static _keyFields

_keyFields: Array<Selectable<ProductSales>> = [ProductSales.PRODUCT]

All key fields of the ProductSales entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductSales.

Methods

Static builder

  • Returns an entity builder to construct instances ProductSales.

    Returns EntityBuilderType<ProductSales, ProductSalesType>

    A builder that constructs instances of entity type ProductSales.

Static requestBuilder

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

    Returns ProductSalesRequestBuilder

    A ProductSales request builder.