Options
All
  • Public
  • Public/Protected
  • All
Menu

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

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.

charcInternalId

charcInternalId: string

Internal characteristic number without conversion routine. Maximum length: 10.

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.

toBatchCharcValue

toBatchCharcValue: BatchCharcValue[]

One-to-many navigation property to the BatchCharcValue entity.

Static BATCH

BATCH: StringField<BatchCharc> = new StringField('Batch', BatchCharc, '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<BatchCharc> = new StringField('BatchIdentifyingPlant', BatchCharc, '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 CHARC_INTERNAL_ID

CHARC_INTERNAL_ID: StringField<BatchCharc> = new StringField('CharcInternalID', BatchCharc, 'Edm.String')

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

Static MATERIAL

MATERIAL: StringField<BatchCharc> = new StringField('Material', BatchCharc, '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<BatchCharc, Batch> = new OneToOneLink('to_Batch', BatchCharc, 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 TO_BATCH_CHARC_VALUE

TO_BATCH_CHARC_VALUE: Link<BatchCharc, BatchCharcValue> = new Link('to_BatchCharcValue', BatchCharc, BatchCharcValue)

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

Static _allFields

_allFields: any[] = [BatchCharc.MATERIAL,BatchCharc.BATCH_IDENTIFYING_PLANT,BatchCharc.BATCH,BatchCharc.CHARC_INTERNAL_ID,BatchCharc.TO_BATCH,BatchCharc.TO_BATCH_CHARC_VALUE]

All fields of the BatchCharc entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "BatchCharc"

Technical entity name for BatchCharc.

Static _keyFields

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

All key fields of the BatchCharc entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "cds_api_batch_srv"

Technical service name for BatchCharc.

Methods

Static builder

  • Returns an entity builder to construct instances BatchCharc.

    Returns EntityBuilderType<BatchCharc, BatchCharcType>

    A builder that constructs instances of entity type BatchCharc.

Static requestBuilder

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

    Returns BatchCharcRequestBuilder

    A BatchCharc request builder.