Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SupplierQuotation" of service "API_QTN_PROCESS_SRV". This service is part of the following communication scenarios: Distributed Manufacturing Integration (SAP_COM_0077), Purchase Request for Quotation Integration (SAP_COM_0113). See https://api.sap.com/api/API_QTN_PROCESS_SRV for more information.

Hierarchy

  • Entity
    • SupplierQuotation

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns SupplierQuotation

Properties

Protected _customFields

_customFields: MapType<any>

A mapper representing custom fields in an entity. Custom fields are represented by their field names and the corresponding values. A custom field can be added or updated using setCustomField method.

Protected _versionIdentifier

_versionIdentifier: string

The current ETag version of the entity in the remote system. The ETag identified the version of the in the remote system. It will be automatically set in the "if-match" header of update requests and can be set as a custom header for delete requests. When no ETag is provided by the remote system the value of this variable defaults to "*".

Optional bindingPeriodValidityEndDate

bindingPeriodValidityEndDate: Moment

Binding Period for Quotation. Date until which the quotation submitted is to be regarded as binding.

nullable

Optional cashDiscount1Days

cashDiscount1Days: BigNumber

Cash Discount Days 1. Period within which a payment must be made in order to take advantage of the first cash discount terms.

nullable

Optional cashDiscount1Percent

cashDiscount1Percent: BigNumber

Cash Discount Percentage 1. Cash discount percentage rate applied to the shortest payment period.

nullable

Optional cashDiscount2Days

cashDiscount2Days: BigNumber

Cash Discount Days 2. Period within which a payment must be made in order to take advantage of the second cash discount terms.

nullable

Optional cashDiscount2Percent

cashDiscount2Percent: BigNumber

Cash Discount Percentage 2. Cash discount percentage rate applied to the second payment period.

nullable

Optional companyCode

companyCode: string

Company Code. The company code is an organizational unit within financial accounting. Maximum length: 4.

nullable

Optional createdByUser

createdByUser: string

Name of Person Who Created Object. Maximum length: 12.

nullable

Optional creationDate

creationDate: Moment

Date on Which Record Was Created.

nullable

Optional documentCurrency

documentCurrency: string

Currency Key. Currency key for amounts in the system. Maximum length: 5.

nullable

Optional exchangeRate

exchangeRate: string

Exchange Rate. Maximum length: 12.

nullable

Optional exchangeRateIsFixed

exchangeRateIsFixed: boolean

Indicator for Fixed Exchange Rate. Determines that the exchange rate used for currency translation purposes calculated or entered in the purchasing document is fixed. If you fix the exchange rate, the purchase order currency and the exchange rate cannot be changed during invoice verification.

nullable

Optional followOnDocumentCategory

followOnDocumentCategory: string

Follow-On Purchasing Document Category. Maximum length: 1.

nullable

Optional followOnDocumentType

followOnDocumentType: string

Follow-On Purchasing Document Type. Maximum length: 4.

nullable

Optional incotermsClassification

incotermsClassification: string

Incoterms (Part 1). Commonly used trading terms that comply with the standards established by the International Chamber of Commerce (ICC). Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board"). You can provide further details (for example, the name of the port) in the secondary Incoterm field: FOB Boston, for example. Maximum length: 3.

nullable

Optional incotermsLocation1

incotermsLocation1: string

Incoterms Location 1. Provides additional information for the primary Incoterm. For Incoterms 2010, this field represents:

  1. For sea and inland waterway transport - Port of Shipment2. For any mode of transport - Place of Delivery 2010Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 1 EXW Ex Works Place of DeliveryFCA Free Carrier Place of DeliveryCPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationDAF Delivered at Frontier Place of DeliveryDDP Delivered Duty Paid Place of DestinationDDU Delivered Duty Unpaid Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 1 FAS Free Alongside Ship Port of ShipmentFOB Free On Board Port of ShipmentCFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of DestinationDEQ Delivered Eq Quay (Duty Paid) Port of DestinationDES Delivered Ex Ship Port of DestinationIf the primary incoterm is specified as FOB “Free on Board”, the second field provides details of the port from which the delivery leaves, such as FOB Boston. Maximum length: 70.
nullable

Optional incotermsLocation2

incotermsLocation2: string

Incoterms Location 2. Provides additional information for the Incoterms. This field is only available for C-Clauses (if customized appropriately). Note the following for the incoterms versions below: No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination. Maximum length: 70.

nullable

Optional incotermsTransferLocation

incotermsTransferLocation: string

Incoterms (Part 2). Additional information for the primary Incoterm. If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston"). Maximum length: 28.

nullable

Optional incotermsVersion

incotermsVersion: string

Incoterms Version. An incoterms version is an edition containing a list of international terms for transportation that is defined by the International Chamber of Commerce (ICC). Maximum length: 4.

nullable

Optional isEndOfPurposeBlocked

isEndOfPurposeBlocked: string

Business Purpose Completed. Indicates whether the end of purpose (EoP) has been reached. The EoP is the point in time for a data set when the processing of personal data is no longer required for the primary business purpose. After the EoP has been reached, the data is blocked and can only be accessed by users with special authorization. Maximum length: 1.

nullable

Optional language

language: string

Language Key. The language key indicates

  • the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts. Maximum length: 2.
nullable

Optional lastChangeDateTime

lastChangeDateTime: Moment

Change Time Stamp.

nullable

Optional netPaymentDays

netPaymentDays: BigNumber

Net Payment Terms Period. Standard settlement period (in days).

nullable

Optional paymentTerms

paymentTerms: string

Terms of Payment Key. Key for defining payment terms composed of cash discount percentages and payment periods. It is used in sales orders, purchase orders, and invoices. Terms of payment provide information for:Cash managementDunning proceduresPayment transactionsData can be entered in the field for the terms of payment key in various ways as you enter a business transaction:In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:item level in sales ordersheader level in purchase orders and invoicesMaster records have separate areas for Financial Accounting, Sales, and Purchasing. You can specify different terms of payment keys in each of these areas. When you then enter a business transaction, the application in question will use the key specified in its area of the master record. Maximum length: 4.

nullable

Optional pricingProcedure

pricingProcedure: string

Procedure (Pricing, Output Control, Acct. Det., Costing,...). Specifies the conditions that are allowed for a document and defines the sequence in which they are used. Procedures are used, for example, in the following applications:Pricing in Sales and DistributionAccount determinationCalculating taxes on sales/purchases. Maximum length: 6.

nullable

Optional purchasingDocumentCategory

purchasingDocumentCategory: string

Purchasing Document Category. Identifier that allows you to differentiate between various kinds of purchasing document in the SAP System. Maximum length: 1.

nullable

Optional purchasingDocumentCondition

purchasingDocumentCondition: string

Number of the Document Condition. The internal number under which the system saves conditions that apply to a sales order, for example. The purchasing and sales departments may want to use the same order number for a document even though different conditions may apply in each area. The system uses the internal number to identify the different conditions. Maximum length: 10.

nullable

Optional purchasingDocumentOrderDate

purchasingDocumentOrderDate: Moment

Purchasing Document Date. Date on which the purchasing document was created.

nullable

Optional purchasingDocumentType

purchasingDocumentType: string

Supplier Quotation Document Type. Maximum length: 4.

nullable

Optional purchasingGroup

purchasingGroup: string

Purchasing Group. Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities. Frequently, purchasing documents (such as purchase orders) are monitored by the purchasing group. Urging letters (in the case of overdue deliveries) fall also within the group's scope of activities.For each purchasing group, statistical analyses can be performed. The purchasing group can be used as a sort criterion when creating purchasing-specific reports. Maximum length: 3.

nullable

Optional purchasingOrganization

purchasingOrganization: string

Purchasing Organization. Denotes the purchasing organization. Maximum length: 4.

nullable

Optional qtnLifecycleStatus

qtnLifecycleStatus: string

Supplier Quotation Lifecycle Status. Maximum length: 2.

nullable

Optional quotationLatestSubmissionDate

quotationLatestSubmissionDate: Moment

Deadline for Submission of Bid/Quotation. Date by which the supplier is to submit the quotation.

nullable

Optional quotationSubmissionDate

quotationSubmissionDate: Moment

Quotation Submission Date. Date on which the supplier submitted the quotation.

nullable

Protected remoteState

remoteState: object

The remote state of the entity. Remote state refers to the last known state of the entity on the remote system from which it has been retrieved or to which it has been posted. It is stored as map, where the keys are stored in the format of VDM properties.

Type declaration

  • [keys: string]: any

Optional requestForQuotation

requestForQuotation: string

Request for Quotation. Maximum length: 10.

nullable

Optional supplier

supplier: string

Supplier. Maximum length: 10.

nullable

supplierQuotation

supplierQuotation: string

Supplier Quotation Number. Maximum length: 10.

Optional supplierQuotationExternalId

supplierQuotationExternalId: string

Quotation Number. Number of supplier's quotation. Maximum length: 10.

nullable

toSupplierQuotationItem

toSupplierQuotationItem: SupplierQuotationItem[]

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

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

The ETag version identifier of the retrieved entity, returns undefined if not retrieved

Static ALL_FIELDS

ALL_FIELDS: AllFields<SupplierQuotation> = new AllFields('*', SupplierQuotation)

All fields selector.

Static BINDING_PERIOD_VALIDITY_END_DATE

BINDING_PERIOD_VALIDITY_END_DATE: DateField<SupplierQuotation> = new DateField('BindingPeriodValidityEndDate', SupplierQuotation, 'Edm.DateTime')

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

Static CASH_DISCOUNT_1_DAYS

CASH_DISCOUNT_1_DAYS: BigNumberField<SupplierQuotation> = new BigNumberField('CashDiscount1Days', SupplierQuotation, 'Edm.Decimal')

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

Static CASH_DISCOUNT_1_PERCENT

CASH_DISCOUNT_1_PERCENT: BigNumberField<SupplierQuotation> = new BigNumberField('CashDiscount1Percent', SupplierQuotation, 'Edm.Decimal')

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

Static CASH_DISCOUNT_2_DAYS

CASH_DISCOUNT_2_DAYS: BigNumberField<SupplierQuotation> = new BigNumberField('CashDiscount2Days', SupplierQuotation, 'Edm.Decimal')

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

Static CASH_DISCOUNT_2_PERCENT

CASH_DISCOUNT_2_PERCENT: BigNumberField<SupplierQuotation> = new BigNumberField('CashDiscount2Percent', SupplierQuotation, 'Edm.Decimal')

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

Static COMPANY_CODE

COMPANY_CODE: StringField<SupplierQuotation> = new StringField('CompanyCode', SupplierQuotation, 'Edm.String')

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

Static CREATED_BY_USER

CREATED_BY_USER: StringField<SupplierQuotation> = new StringField('CreatedByUser', SupplierQuotation, 'Edm.String')

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

Static CREATION_DATE

CREATION_DATE: DateField<SupplierQuotation> = new DateField('CreationDate', SupplierQuotation, 'Edm.DateTime')

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

Static DOCUMENT_CURRENCY

DOCUMENT_CURRENCY: StringField<SupplierQuotation> = new StringField('DocumentCurrency', SupplierQuotation, 'Edm.String')

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

Static EXCHANGE_RATE

EXCHANGE_RATE: StringField<SupplierQuotation> = new StringField('ExchangeRate', SupplierQuotation, 'Edm.String')

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

Static EXCHANGE_RATE_IS_FIXED

EXCHANGE_RATE_IS_FIXED: BooleanField<SupplierQuotation> = new BooleanField('ExchangeRateIsFixed', SupplierQuotation, 'Edm.Boolean')

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

Static FOLLOW_ON_DOCUMENT_CATEGORY

FOLLOW_ON_DOCUMENT_CATEGORY: StringField<SupplierQuotation> = new StringField('FollowOnDocumentCategory', SupplierQuotation, 'Edm.String')

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

Static FOLLOW_ON_DOCUMENT_TYPE

FOLLOW_ON_DOCUMENT_TYPE: StringField<SupplierQuotation> = new StringField('FollowOnDocumentType', SupplierQuotation, 'Edm.String')

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

Static INCOTERMS_CLASSIFICATION

INCOTERMS_CLASSIFICATION: StringField<SupplierQuotation> = new StringField('IncotermsClassification', SupplierQuotation, 'Edm.String')

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

Static INCOTERMS_LOCATION_1

INCOTERMS_LOCATION_1: StringField<SupplierQuotation> = new StringField('IncotermsLocation1', SupplierQuotation, 'Edm.String')

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

Static INCOTERMS_LOCATION_2

INCOTERMS_LOCATION_2: StringField<SupplierQuotation> = new StringField('IncotermsLocation2', SupplierQuotation, 'Edm.String')

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

Static INCOTERMS_TRANSFER_LOCATION

INCOTERMS_TRANSFER_LOCATION: StringField<SupplierQuotation> = new StringField('IncotermsTransferLocation', SupplierQuotation, 'Edm.String')

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

Static INCOTERMS_VERSION

INCOTERMS_VERSION: StringField<SupplierQuotation> = new StringField('IncotermsVersion', SupplierQuotation, 'Edm.String')

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

Static IS_END_OF_PURPOSE_BLOCKED

IS_END_OF_PURPOSE_BLOCKED: StringField<SupplierQuotation> = new StringField('IsEndOfPurposeBlocked', SupplierQuotation, 'Edm.String')

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

Static LANGUAGE

LANGUAGE: StringField<SupplierQuotation> = new StringField('Language', SupplierQuotation, 'Edm.String')

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

Static LAST_CHANGE_DATE_TIME

LAST_CHANGE_DATE_TIME: DateField<SupplierQuotation> = new DateField('LastChangeDateTime', SupplierQuotation, 'Edm.DateTimeOffset')

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

Static NET_PAYMENT_DAYS

NET_PAYMENT_DAYS: BigNumberField<SupplierQuotation> = new BigNumberField('NetPaymentDays', SupplierQuotation, 'Edm.Decimal')

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

Static PAYMENT_TERMS

PAYMENT_TERMS: StringField<SupplierQuotation> = new StringField('PaymentTerms', SupplierQuotation, 'Edm.String')

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

Static PRICING_PROCEDURE

PRICING_PROCEDURE: StringField<SupplierQuotation> = new StringField('PricingProcedure', SupplierQuotation, 'Edm.String')

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

Static PURCHASING_DOCUMENT_CATEGORY

PURCHASING_DOCUMENT_CATEGORY: StringField<SupplierQuotation> = new StringField('PurchasingDocumentCategory', SupplierQuotation, 'Edm.String')

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

Static PURCHASING_DOCUMENT_CONDITION

PURCHASING_DOCUMENT_CONDITION: StringField<SupplierQuotation> = new StringField('PurchasingDocumentCondition', SupplierQuotation, 'Edm.String')

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

Static PURCHASING_DOCUMENT_ORDER_DATE

PURCHASING_DOCUMENT_ORDER_DATE: DateField<SupplierQuotation> = new DateField('PurchasingDocumentOrderDate', SupplierQuotation, 'Edm.DateTime')

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

Static PURCHASING_DOCUMENT_TYPE

PURCHASING_DOCUMENT_TYPE: StringField<SupplierQuotation> = new StringField('PurchasingDocumentType', SupplierQuotation, 'Edm.String')

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

Static PURCHASING_GROUP

PURCHASING_GROUP: StringField<SupplierQuotation> = new StringField('PurchasingGroup', SupplierQuotation, 'Edm.String')

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

Static PURCHASING_ORGANIZATION

PURCHASING_ORGANIZATION: StringField<SupplierQuotation> = new StringField('PurchasingOrganization', SupplierQuotation, 'Edm.String')

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

Static QTN_LIFECYCLE_STATUS

QTN_LIFECYCLE_STATUS: StringField<SupplierQuotation> = new StringField('QTNLifecycleStatus', SupplierQuotation, 'Edm.String')

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

Static QUOTATION_LATEST_SUBMISSION_DATE

QUOTATION_LATEST_SUBMISSION_DATE: DateField<SupplierQuotation> = new DateField('QuotationLatestSubmissionDate', SupplierQuotation, 'Edm.DateTime')

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

Static QUOTATION_SUBMISSION_DATE

QUOTATION_SUBMISSION_DATE: DateField<SupplierQuotation> = new DateField('QuotationSubmissionDate', SupplierQuotation, 'Edm.DateTime')

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

Static REQUEST_FOR_QUOTATION

REQUEST_FOR_QUOTATION: StringField<SupplierQuotation> = new StringField('RequestForQuotation', SupplierQuotation, 'Edm.String')

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

Static SUPPLIER

SUPPLIER: StringField<SupplierQuotation> = new StringField('Supplier', SupplierQuotation, 'Edm.String')

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

Static SUPPLIER_QUOTATION

SUPPLIER_QUOTATION: StringField<SupplierQuotation> = new StringField('SupplierQuotation', SupplierQuotation, 'Edm.String')

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

Static SUPPLIER_QUOTATION_EXTERNAL_ID

SUPPLIER_QUOTATION_EXTERNAL_ID: StringField<SupplierQuotation> = new StringField('SupplierQuotationExternalID', SupplierQuotation, 'Edm.String')

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

Static TO_SUPPLIER_QUOTATION_ITEM

TO_SUPPLIER_QUOTATION_ITEM: Link<SupplierQuotation, SupplierQuotationItem> = new Link('to_SupplierQuotationItem', SupplierQuotation, SupplierQuotationItem)

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

Static _allFields

_allFields: Array<StringField<SupplierQuotation> | DateField<SupplierQuotation> | BigNumberField<SupplierQuotation> | BooleanField<SupplierQuotation> | Link<SupplierQuotation, SupplierQuotationItem>> = [SupplierQuotation.SUPPLIER_QUOTATION,SupplierQuotation.COMPANY_CODE,SupplierQuotation.PURCHASING_DOCUMENT_CATEGORY,SupplierQuotation.PURCHASING_DOCUMENT_TYPE,SupplierQuotation.SUPPLIER,SupplierQuotation.CREATED_BY_USER,SupplierQuotation.CREATION_DATE,SupplierQuotation.LAST_CHANGE_DATE_TIME,SupplierQuotation.LANGUAGE,SupplierQuotation.DOCUMENT_CURRENCY,SupplierQuotation.INCOTERMS_CLASSIFICATION,SupplierQuotation.INCOTERMS_TRANSFER_LOCATION,SupplierQuotation.INCOTERMS_VERSION,SupplierQuotation.INCOTERMS_LOCATION_1,SupplierQuotation.INCOTERMS_LOCATION_2,SupplierQuotation.PAYMENT_TERMS,SupplierQuotation.CASH_DISCOUNT_1_DAYS,SupplierQuotation.CASH_DISCOUNT_2_DAYS,SupplierQuotation.CASH_DISCOUNT_1_PERCENT,SupplierQuotation.CASH_DISCOUNT_2_PERCENT,SupplierQuotation.NET_PAYMENT_DAYS,SupplierQuotation.PRICING_PROCEDURE,SupplierQuotation.PURCHASING_DOCUMENT_CONDITION,SupplierQuotation.PURCHASING_ORGANIZATION,SupplierQuotation.PURCHASING_GROUP,SupplierQuotation.PURCHASING_DOCUMENT_ORDER_DATE,SupplierQuotation.EXCHANGE_RATE,SupplierQuotation.EXCHANGE_RATE_IS_FIXED,SupplierQuotation.REQUEST_FOR_QUOTATION,SupplierQuotation.SUPPLIER_QUOTATION_EXTERNAL_ID,SupplierQuotation.QUOTATION_SUBMISSION_DATE,SupplierQuotation.QUOTATION_LATEST_SUBMISSION_DATE,SupplierQuotation.BINDING_PERIOD_VALIDITY_END_DATE,SupplierQuotation.QTN_LIFECYCLE_STATUS,SupplierQuotation.FOLLOW_ON_DOCUMENT_CATEGORY,SupplierQuotation.FOLLOW_ON_DOCUMENT_TYPE,SupplierQuotation.IS_END_OF_PURPOSE_BLOCKED,SupplierQuotation.TO_SUPPLIER_QUOTATION_ITEM]

All fields of the SupplierQuotation entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SupplierQuotation"

Technical entity name for SupplierQuotation.

Static _keyFields

_keyFields: Array<Selectable<SupplierQuotation>> = [SupplierQuotation.SUPPLIER_QUOTATION]

All key fields of the SupplierQuotation entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_QTN_PROCESS_SRV"
deprecated

Since v1.0.1 Use _defaultServicePath instead. Technical service name for SupplierQuotation.

Methods

Protected getCurrentMapKeys

  • getCurrentMapKeys(): Entity
  • Returns a map of all defined fields in entity to their current values.

    Returns Entity

    Entity with all defined entity fields

getCustomField

  • getCustomField(fieldName: string): any
  • Custom field value getter.

    Parameters

    • fieldName: string

      The name of the custom field

    Returns any

    The value of the corresponding custom field

getCustomFields

  • getCustomFields(): MapType<any>
  • Returns a map that contains all entity custom fields.

    Returns MapType<any>

    A map of all defined custom fields in the entity

getUpdatedCustomFields

  • getUpdatedCustomFields(): MapType<any>
  • Returns all updated custom field properties compared to the last known remote state.

    Returns MapType<any>

    A map containing all updated custom properties, with their new values

getUpdatedProperties

  • getUpdatedProperties(): Entity
  • Returns all changed properties compared to the last known remote state. The returned properties does not include custom fields. Use getUpdatedCustomFields, if updated custom fields are needed.

    Returns Entity

    Entity with all properties that changed

hasCustomField

  • hasCustomField(fieldName: string): boolean
  • Validates whether a custom field exists in the entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    Returns boolean

    A boolean value, that indicates whether a custom field is defined in entity

initializeCustomFields

  • initializeCustomFields(customFields: MapType<any>): this
  • Sets all retrieved custom fields in entity.

    Parameters

    • customFields: MapType<any>

      Extracted custom fields from a retrieved entity

    Returns this

    A boolean value, that indicates the existence of the field in entity

Protected isConflictingCustomField

  • isConflictingCustomField(customFieldName: string): boolean
  • Validates whether a field name does not conflict with an original field name and thus can be defined as custom fields.

    Parameters

    • customFieldName: string

      Field name to check

    Returns boolean

    Boolean value that describes whether a field name can be defined as custom field

setCustomField

  • setCustomField(fieldName: string, value: any): this
  • Sets a new custom field in the entity or updates it. Throws an error, if the provided custom field name is already defined by an original field in entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    • value: any

      The value of the field

    Returns this

    The entity itself, to facilitate method chaining

setOrInitializeRemoteState

  • setOrInitializeRemoteState(state?: MapType<any>): this
  • Initializes or sets the remoteState of the entity. This function is called on all read, create and update requests. This function should be called after initializeCustomFields, if custom fields are defined.

    Parameters

    • Optional state: MapType<any>

      State to be set as remote state

    Returns this

    The entity itself, to facilitate method chaining

setVersionIdentifier

  • setVersionIdentifier(etag: string): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string

      The returned ETag version of the entity

    Returns this

    The entity itself, to facilitate method chaining

toJSON

  • toJSON(): object
  • Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned.

    Returns object

    An object containing all instance variables + custom fields.

    • [key: string]: any

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SupplierQuotation>

    A builder that constructs instances of entity type SupplierQuotation.

Static Protected customFieldSelector

  • customFieldSelector<EntityT>(fieldName: string, entityConstructor: Constructable<EntityT>): CustomField<EntityT>
  • Type parameters

    • EntityT: Entity

    Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT>

    Returns CustomField<EntityT>

Static Protected entityBuilder

  • entityBuilder<EntityT, JsonT>(entityConstructor: Constructable<EntityT>): EntityBuilderType<EntityT, JsonT>
  • Type parameters

    • EntityT: Entity

    • JsonT

    Parameters

    • entityConstructor: Constructable<EntityT>

    Returns EntityBuilderType<EntityT, JsonT>

Static requestBuilder

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

    Returns SupplierQuotationRequestBuilder

    A SupplierQuotation request builder.