Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "WarehouseResource" of service "cds_api_warehouse_resource". This service is part of the following communication scenarios: Warehousing - Process Warehouse Task Integration (SAP_COM_0353). See https://api.sap.com/api/API_WAREHOUSE_RESOURCE for more information.

Hierarchy

  • any
    • WarehouseResource

Implements

Index

Properties

resourceLogonDateTime

resourceLogonDateTime: BigNumber

Resource Logon Date Time.

nullable

userName

userName: string

User Name in User Master Record. Maximum length: 12.

nullable

warehouse

warehouse: string

Warehouse Number/Warehouse Complex. Alphanumeric key that identifies a complex, physical warehouse within the warehouse management system. All activities within a warehouse, for example, goods movements and physical inventory, are assigned to a specific warehouse number. The physical warehouse where these activities take place is identified by the warehouse number. Maximum length: 4.

warehouseResource

warehouseResource: string

Resource (Means of Transportation or User). Maximum length: 18.

Static ALL_FIELDS

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

All fields selector.

Static RESOURCE_LOGON_DATE_TIME

RESOURCE_LOGON_DATE_TIME: BigNumberField<WarehouseResource> = new BigNumberField('ResourceLogonDateTime', WarehouseResource, 'Edm.Decimal')

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

Static USER_NAME

USER_NAME: StringField<WarehouseResource> = new StringField('UserName', WarehouseResource, 'Edm.String')

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

Static WAREHOUSE

WAREHOUSE: StringField<WarehouseResource> = new StringField('Warehouse', WarehouseResource, 'Edm.String')

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

Static WAREHOUSE_RESOURCE

WAREHOUSE_RESOURCE: StringField<WarehouseResource> = new StringField('WarehouseResource', WarehouseResource, 'Edm.String')

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

Static _allFields

_allFields: any[] = [WarehouseResource.WAREHOUSE,WarehouseResource.WAREHOUSE_RESOURCE,WarehouseResource.USER_NAME,WarehouseResource.RESOURCE_LOGON_DATE_TIME]

All fields of the WarehouseResource entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "WarehouseResource"

Technical entity name for WarehouseResource.

Static _keyFields

_keyFields: Array<Selectable<WarehouseResource>> = [WarehouseResource.WAREHOUSE, WarehouseResource.WAREHOUSE_RESOURCE]

All key fields of the WarehouseResource entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "cds_api_warehouse_resource"

Technical service name for WarehouseResource.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<WarehouseResource>

    A builder that constructs instances of entity type WarehouseResource.

Static requestBuilder

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

    Returns WarehouseResourceRequestBuilder

    A WarehouseResource request builder.