Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PurchaseRequisitionHeader" of service "API_PURCHASEREQ_PROCESS_SRV". This service is part of the following communication scenarios: Purchase Requisition Integration (SAP_COM_0102), SAP S/4HANA Procurement Hub - Ariba GB - Hub to Ariba GB Integration (SAP_COM_0292). See https://api.sap.com/api/API_PURCHASEREQ_PROCESS_SRV for more information.

Hierarchy

  • any
    • PurchaseRequisitionHeader

Implements

Index

Properties

purReqnDescription

purReqnDescription: string

Short Text. Short description of the material. Maximum length: 40.

nullable

purReqnDoOnlyValidation

purReqnDoOnlyValidation: boolean

Boolean Variable (X = True, - = False, Space = Unknown).

nullable

purchaseRequisition

purchaseRequisition: string

Purchase requisition number. Maximum length: 10.

purchaseRequisitionType

purchaseRequisitionType: string

Purchase Requisition Document Type. Allows a distinction to be made between various kinds of purchase requisition. Using the document type, you can, for instance, differentiate between a standard purchase requisition and a requisition relating to a stock transport order, although both documents belong to the purchasing document category purchase requisition.The document type controls number assignment and the selection of fields to be maintained. Maximum length: 4.

nullable

sourceDetermination

sourceDetermination: boolean

Checkbox.

nullable

toPurchaseReqnItem

toPurchaseReqnItem: PurchaseRequisitionItem[]

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

Static ALL_FIELDS

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

All fields selector.

Static PURCHASE_REQUISITION

PURCHASE_REQUISITION: StringField<PurchaseRequisitionHeader> = new StringField('PurchaseRequisition', PurchaseRequisitionHeader, 'Edm.String')

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

Static PURCHASE_REQUISITION_TYPE

PURCHASE_REQUISITION_TYPE: StringField<PurchaseRequisitionHeader> = new StringField('PurchaseRequisitionType', PurchaseRequisitionHeader, 'Edm.String')

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

Static PUR_REQN_DESCRIPTION

PUR_REQN_DESCRIPTION: StringField<PurchaseRequisitionHeader> = new StringField('PurReqnDescription', PurchaseRequisitionHeader, 'Edm.String')

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

Static PUR_REQN_DO_ONLY_VALIDATION

PUR_REQN_DO_ONLY_VALIDATION: BooleanField<PurchaseRequisitionHeader> = new BooleanField('PurReqnDoOnlyValidation', PurchaseRequisitionHeader, 'Edm.Boolean')

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

Static SOURCE_DETERMINATION

SOURCE_DETERMINATION: BooleanField<PurchaseRequisitionHeader> = new BooleanField('SourceDetermination', PurchaseRequisitionHeader, 'Edm.Boolean')

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

Static TO_PURCHASE_REQN_ITEM

TO_PURCHASE_REQN_ITEM: Link<PurchaseRequisitionHeader, PurchaseRequisitionItem> = new Link('to_PurchaseReqnItem', PurchaseRequisitionHeader, PurchaseRequisitionItem)

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

Static _allFields

_allFields: any[] = [PurchaseRequisitionHeader.PURCHASE_REQUISITION,PurchaseRequisitionHeader.PURCHASE_REQUISITION_TYPE,PurchaseRequisitionHeader.PUR_REQN_DESCRIPTION,PurchaseRequisitionHeader.SOURCE_DETERMINATION,PurchaseRequisitionHeader.PUR_REQN_DO_ONLY_VALIDATION,PurchaseRequisitionHeader.TO_PURCHASE_REQN_ITEM]

All fields of the PurchaseRequisitionHeader entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_PurchaseRequisitionHeader"

Technical entity name for PurchaseRequisitionHeader.

Static _keyFields

_keyFields: Array<Selectable<PurchaseRequisitionHeader>> = [PurchaseRequisitionHeader.PURCHASE_REQUISITION]

All key fields of the PurchaseRequisitionHeader entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PURCHASEREQ_PROCESS_SRV"

Technical service name for PurchaseRequisitionHeader.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PurchaseRequisitionHeader>

    A builder that constructs instances of entity type PurchaseRequisitionHeader.

Static requestBuilder

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

    Returns PurchaseRequisitionHeaderRequestBuilder

    A PurchaseRequisitionHeader request builder.