Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductClass" of service "API_CLFN_PRODUCT_SRV". This service is part of the following communication scenarios: Product Classification Integration (SAP_COM_0309). See https://api.sap.com/api/API_CLFN_PRODUCT_SRV for more information.

Hierarchy

  • any
    • ProductClass

Implements

Index

Properties

changeNumber

changeNumber: string

Change Number. Number used to uniquely identify a change master record. If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal: The system determines the validity conditions The conditions that the change is effective under can be defined in the change master record as follows: Changes with a date validity (valid-from date) Changes with parameter effectivity (for example: serial no. effectivity) Log of the changes made Documentation of the changes Assignment of a revision level to a change state of a material or document Release of changes for the different areas in the company. Maximum length: 12.

nullable

classInternalId

classInternalId: string

Internal Class Number. Maximum length: 10.

classType

classType: string

Class Type. Uniquely identifies the class type. Maximum length: 3.

nullable

keyDate

keyDate: Moment

Key Date.

nullable

product

product: string

Key of Object to be Classified. Maximum length: 90.

toCharacteristics

toCharacteristics: ProductClassCharc[]

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

toClassDetails

toClassDetails: ClfnClassForKeyDate

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

Static CHANGE_NUMBER

CHANGE_NUMBER: StringField<ProductClass> = new StringField('ChangeNumber', ProductClass, 'Edm.String')

Static representation of the changeNumber 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<ProductClass> = new StringField('ClassInternalID', ProductClass, '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 CLASS_TYPE

CLASS_TYPE: StringField<ProductClass> = new StringField('ClassType', ProductClass, 'Edm.String')

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

Static KEY_DATE

KEY_DATE: DateField<ProductClass> = new DateField('KeyDate', ProductClass, 'Edm.DateTime')

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

Static PRODUCT

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

TO_CHARACTERISTICS: Link<ProductClass, ProductClassCharc> = new Link('to_Characteristics', ProductClass, ProductClassCharc)

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

Static TO_CLASS_DETAILS

TO_CLASS_DETAILS: OneToOneLink<ProductClass, ClfnClassForKeyDate> = new OneToOneLink('to_ClassDetails', ProductClass, ClfnClassForKeyDate)

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

Static _allFields

_allFields: any[] = [ProductClass.PRODUCT,ProductClass.CLASS_INTERNAL_ID,ProductClass.KEY_DATE,ProductClass.CHANGE_NUMBER,ProductClass.CLASS_TYPE,ProductClass.TO_CHARACTERISTICS,ProductClass.TO_CLASS_DETAILS]

All fields of the ProductClass entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductClass"

Technical entity name for ProductClass.

Static _keyFields

_keyFields: Array<Selectable<ProductClass>> = [ProductClass.PRODUCT, ProductClass.CLASS_INTERNAL_ID]

All key fields of the ProductClass entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_CLFN_PRODUCT_SRV"

Technical service name for ProductClass.

Methods

Static builder

  • Returns an entity builder to construct instances ProductClass.

    Returns EntityBuilderType<ProductClass, ProductClassType>

    A builder that constructs instances of entity type ProductClass.

Static requestBuilder

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

    Returns ProductClassRequestBuilder

    A ProductClass request builder.