Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductPlantCosting" 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
    • ProductPlantCosting

Implements

Index

Properties

isCoProduct

isCoProduct: boolean

Indicator: Material can be co-product. Indicator you can use to specify that the material can also be used as a co-product.

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('*', ProductPlantCosting)

All fields selector.

Static IS_CO_PRODUCT

IS_CO_PRODUCT: BooleanField<ProductPlantCosting> = new BooleanField('IsCoProduct', ProductPlantCosting, 'Edm.Boolean')

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

Static PLANT

PLANT: StringField<ProductPlantCosting> = new StringField('Plant', ProductPlantCosting, '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<ProductPlantCosting> = new StringField('Product', ProductPlantCosting, '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[] = [ProductPlantCosting.PRODUCT,ProductPlantCosting.PLANT,ProductPlantCosting.IS_CO_PRODUCT]

All fields of the ProductPlantCosting entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductPlantCosting"

Technical entity name for ProductPlantCosting.

Static _keyFields

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

All key fields of the ProductPlantCosting entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductPlantCosting.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductPlantCosting>

    A builder that constructs instances of entity type ProductPlantCosting.

Static requestBuilder

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

    Returns ProductPlantCostingRequestBuilder

    A ProductPlantCosting request builder.