Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "BatchClass" of service "cds_api_batch_srv". This service is part of the following communication scenarios: Batch Management OData Integration (SAP_COM_0337). See https://api.sap.com/api/API_BATCH_SRV for more information.

Hierarchy

  • any
    • BatchClass

Implements

Index

Properties

batch

batch: string

Batch Number. Assigns a material that is manufactured in batches or production lots to a specific batch. Maximum length: 10.

batchIdentifyingPlant

batchIdentifyingPlant: string

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

classInternalId

classInternalId: string

Internal Class Number. Maximum length: 10.

nullable

material

material: string

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

toBatch

toBatch: Batch

One-to-one navigation property to the Batch entity.

Static ALL_FIELDS

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

All fields selector.

Static BATCH

BATCH: StringField<BatchClass> = new StringField('Batch', BatchClass, 'Edm.String')

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

Static BATCH_IDENTIFYING_PLANT

BATCH_IDENTIFYING_PLANT: StringField<BatchClass> = new StringField('BatchIdentifyingPlant', BatchClass, 'Edm.String')

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

Static CLASS_INTERNAL_ID

CLASS_INTERNAL_ID: StringField<BatchClass> = new StringField('ClassInternalID', BatchClass, 'Edm.String')

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

Static MATERIAL

MATERIAL: StringField<BatchClass> = new StringField('Material', BatchClass, 'Edm.String')

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

Static TO_BATCH

TO_BATCH: OneToOneLink<BatchClass, Batch> = new OneToOneLink('to_Batch', BatchClass, Batch)

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

Static _allFields

_allFields: any[] = [BatchClass.MATERIAL,BatchClass.BATCH_IDENTIFYING_PLANT,BatchClass.BATCH,BatchClass.CLASS_INTERNAL_ID,BatchClass.TO_BATCH]

All fields of the BatchClass entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "BatchClass"

Technical entity name for BatchClass.

Static _keyFields

_keyFields: Array<Selectable<BatchClass>> = [BatchClass.MATERIAL, BatchClass.BATCH_IDENTIFYING_PLANT, BatchClass.BATCH]

All key fields of the BatchClass entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "cds_api_batch_srv"

Technical service name for BatchClass.

Methods

Static builder

  • Returns an entity builder to construct instances BatchClass.

    Returns EntityBuilderType<BatchClass, BatchClassType>

    A builder that constructs instances of entity type BatchClass.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<BatchClass>

    A builder that constructs instances of entity type BatchClass.

Static requestBuilder

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

    Returns BatchClassRequestBuilder

    A BatchClass request builder.