Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Implements

Index

Properties

codeGroupIsInactive

codeGroupIsInactive: string

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

nullable

codeGroupIsUsable

codeGroupIsUsable: boolean

Code Group Is Usable.

nullable

defectCodeGroup

defectCodeGroup: string

Defect Code Group. Maximum length: 8.

toText

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

Static ALL_FIELDS

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

All fields selector.

Static CODE_GROUP_IS_INACTIVE

CODE_GROUP_IS_INACTIVE: StringField<DefectCodeGroup> = new StringField('CodeGroupIsInactive', DefectCodeGroup, 'Edm.String')

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

Static CODE_GROUP_IS_USABLE

CODE_GROUP_IS_USABLE: BooleanField<DefectCodeGroup> = new BooleanField('CodeGroupIsUsable', DefectCodeGroup, '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 DEFECT_CODE_GROUP

DEFECT_CODE_GROUP: StringField<DefectCodeGroup> = new StringField('DefectCodeGroup', DefectCodeGroup, '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_TEXT

TO_TEXT: Link<DefectCodeGroup, DefectCodeGroupText> = new Link('to_Text', DefectCodeGroup, DefectCodeGroupText)

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[] = [DefectCodeGroup.DEFECT_CODE_GROUP,DefectCodeGroup.CODE_GROUP_IS_INACTIVE,DefectCodeGroup.CODE_GROUP_IS_USABLE,DefectCodeGroup.TO_TEXT]

All fields of the DefectCodeGroup entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_DefectCodeGroup"

Technical entity name for DefectCodeGroup.

Static _keyFields

_keyFields: Array<Selectable<DefectCodeGroup>> = [DefectCodeGroup.DEFECT_CODE_GROUP]

All key fields of the DefectCodeGroup entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_DEFECTCODE_SRV"

Technical service name for DefectCodeGroup.

Methods

Static builder

  • Returns an entity builder to construct instances DefectCodeGroup.

    Returns EntityBuilderType<DefectCodeGroup, DefectCodeGroupType>

    A builder that constructs instances of entity type DefectCodeGroup.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<DefectCodeGroup>

    A builder that constructs instances of entity type DefectCodeGroup.

Static requestBuilder

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

    Returns DefectCodeGroupRequestBuilder

    A DefectCodeGroup request builder.