Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_DefectCode" of service "API_DEFECTCODE_SRV". This service is part of the following communication scenarios: Defect Processing Integration (SAP_COM_0153). See https://api.sap.com/api/API_DEFECTCODE_SRV for more information.

Hierarchy

  • any
    • DefectCode

Implements

Index

Properties

codeGroupIsUsable

codeGroupIsUsable: boolean

Code Group Is Usable.

nullable

codeIsInactive

codeIsInactive: string

Status of Code Group or Code Record. Maximum length: 1.

nullable

defectCode

defectCode: string

Defect Code. Maximum length: 4.

defectCodeGroup

defectCodeGroup: string

Defect Code Group. Maximum length: 8.

toDefectCodeGroup

toDefectCodeGroup: DefectCodeGroup

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

toText

toText: DefectCodeText[]

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

Static CODE_GROUP_IS_USABLE

CODE_GROUP_IS_USABLE: BooleanField<DefectCode> = new BooleanField('CodeGroupIsUsable', DefectCode, 'Edm.Boolean')

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

Static CODE_IS_INACTIVE

CODE_IS_INACTIVE: StringField<DefectCode> = new StringField('CodeIsInactive', DefectCode, 'Edm.String')

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

Static DEFECT_CODE

DEFECT_CODE: StringField<DefectCode> = new StringField('DefectCode', DefectCode, 'Edm.String')

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

Static DEFECT_CODE_GROUP

DEFECT_CODE_GROUP: StringField<DefectCode> = new StringField('DefectCodeGroup', DefectCode, 'Edm.String')

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

Static TO_DEFECT_CODE_GROUP

TO_DEFECT_CODE_GROUP: OneToOneLink<DefectCode, DefectCodeGroup> = new OneToOneLink('to_DefectCodeGroup', DefectCode, DefectCodeGroup)

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

Static TO_TEXT

TO_TEXT: Link<DefectCode, DefectCodeText> = new Link('to_Text', DefectCode, DefectCodeText)

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

Static _allFields

_allFields: any[] = [DefectCode.DEFECT_CODE_GROUP,DefectCode.DEFECT_CODE,DefectCode.CODE_IS_INACTIVE,DefectCode.CODE_GROUP_IS_USABLE,DefectCode.TO_DEFECT_CODE_GROUP,DefectCode.TO_TEXT]

All fields of the DefectCode entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_DefectCode"

Technical entity name for DefectCode.

Static _keyFields

_keyFields: Array<Selectable<DefectCode>> = [DefectCode.DEFECT_CODE_GROUP, DefectCode.DEFECT_CODE]

All key fields of the DefectCode entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_DEFECTCODE_SRV"

Technical service name for DefectCode.

Methods

Static builder

  • Returns an entity builder to construct instances DefectCode.

    Returns EntityBuilderType<DefectCode, DefectCodeType>

    A builder that constructs instances of entity type DefectCode.

Static requestBuilder

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

    Returns DefectCodeRequestBuilder

    A DefectCode request builder.