Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • any
    • ProductPlantSales

Implements

Index

Properties

loadingGroup

loadingGroup: string

Loading Group. A grouping of materials that share the same loading requirements. The system uses the loading group, as well as the shipping conditions and the delivering plant, to automatically determine the item's shipping point.Different loading groups could consist, for example, of materials that require the same:Equipment during loading (for example, a fork-lift truck)Amount of time for loadingLoading point (for example, loading bay #6). Maximum length: 4.

nullable

plant

plant: string

Plant. Key uniquely identifying a plant. Maximum length: 4.

product

product: string

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

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', ProductPlantSales)

All fields selector.

Static LOADING_GROUP

LOADING_GROUP: StringField<ProductPlantSales> = new StringField('LoadingGroup', ProductPlantSales, 'Edm.String')

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

Static PLANT

PLANT: StringField<ProductPlantSales> = new StringField('Plant', ProductPlantSales, 'Edm.String')

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

Static PRODUCT

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

_allFields: any[] = [ProductPlantSales.PRODUCT,ProductPlantSales.PLANT,ProductPlantSales.LOADING_GROUP]

All fields of the ProductPlantSales entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductPlantSales"

Technical entity name for ProductPlantSales.

Static _keyFields

_keyFields: Array<Selectable<ProductPlantSales>> = [ProductPlantSales.PRODUCT, ProductPlantSales.PLANT]

All key fields of the ProductPlantSales entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductPlantSales.

Methods

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity ProductPlantSales.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductPlantSales>

    A builder that constructs instances of entity type ProductPlantSales.

Static requestBuilder

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

    Returns ProductPlantSalesRequestBuilder

    A ProductPlantSales request builder.