Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SalesDocumentRjcnReason" of service "API_DEL_DOC_WITH_CREDIT_BLOCK". This service is part of the following communication scenarios: Sales Credit Management Integration (SAP_COM_0325). See https://api.sap.com/api/API_DEL_DOC_WITH_CREDIT_BLOCK for more information.

Hierarchy

  • any
    • SalesDocumentRjcnReason

Implements

Index

Properties

salesDocumentRjcnReason

salesDocumentRjcnReason: string

Reason for Rejection of Sales Documents. The reason for rejecting a sales document (for example, a sales quotation or a sales order). The rejection can come from your organization (for example, you can reject a customer request for a credit memo because it is unreasonable) or from the customer (for example, the customer rejects a quotation because the price is too high). The following list shows the effects on different document types after you enter a reason for rejection:Inquiries and quotations: no further references by other documentsSales orders: no further delivery of itemsContracts: no further creation of release ordersCredit and debit memo requests: no further processing of credit or debit memosEnter one of the values predefined for your system.If you enter a reason for rejection, the system automatically cancels any MRP requirements previously generated for the items. Maximum length: 2.

salesDocumentRjcnReasonText

salesDocumentRjcnReasonText: string

Description. Enter text here that best describes the module. Maximum length: 40.

nullable

Static ALL_FIELDS

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

All fields selector.

Static SALES_DOCUMENT_RJCN_REASON

SALES_DOCUMENT_RJCN_REASON: StringField<SalesDocumentRjcnReason> = new StringField('SalesDocumentRjcnReason', SalesDocumentRjcnReason, 'Edm.String')

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

Static SALES_DOCUMENT_RJCN_REASON_TEXT

SALES_DOCUMENT_RJCN_REASON_TEXT: StringField<SalesDocumentRjcnReason> = new StringField('SalesDocumentRjcnReason_Text', SalesDocumentRjcnReason, 'Edm.String')

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

Static _allFields

_allFields: any[] = [SalesDocumentRjcnReason.SALES_DOCUMENT_RJCN_REASON,SalesDocumentRjcnReason.SALES_DOCUMENT_RJCN_REASON_TEXT]

All fields of the SalesDocumentRjcnReason entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SalesDocumentRjcnReason"

Technical entity name for SalesDocumentRjcnReason.

Static _keyFields

_keyFields: Array<Selectable<SalesDocumentRjcnReason>> = [SalesDocumentRjcnReason.SALES_DOCUMENT_RJCN_REASON]

All key fields of the SalesDocumentRjcnReason entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_DEL_DOC_WITH_CREDIT_BLOCK"

Technical service name for SalesDocumentRjcnReason.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SalesDocumentRjcnReason>

    A builder that constructs instances of entity type SalesDocumentRjcnReason.

Static requestBuilder

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

    Returns SalesDocumentRjcnReasonRequestBuilder

    A SalesDocumentRjcnReason request builder.