Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SalesQuotationItem" of service "API_SALES_QUOTATION_SRV". This service is part of the following communication scenarios: Sales Quotation Integration (SAP_COM_0118). See https://api.sap.com/api/API_SALES_QUOTATION_SRV for more information.

Hierarchy

  • Entity
    • SalesQuotationItem

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns SalesQuotationItem

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 alternativeToItem

alternativeToItem: string

Item for Which this Item is an Alternative. The number of the item for which you can offer this item as an alternative. You can use alternative items in inquiries and quotations.Enter the item number of the alternative item.A customer wants a quotation for 100 units of product A. You enter a line in the quotation and the system assigns the item number 10. The customer has also stated that, if product A is not available, you can deliver product B as an alternative. You create a second line in the quotation for 100 items of product B and, in the alternative item field, enter the item number for product A (in this case, 10).If you copy a quotation into a sales order, the system only copies alternative items that you mark for copying in the selection list. Maximum length: 6.

nullable

Optional batch

batch: string

Batch Number. Assigns a material that is manufactured in batches or production lots to a specific batch. Maximum length: 10.

nullable

Optional customerPaymentTerms

customerPaymentTerms: 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 higherLevelItem

higherLevelItem: string

Higher-Level item in bill of material structures. The number of the higher-level item to which this item belongs in a hierarchy. Items can be organized hierarchically. When you assign a sub-item to another item, the other item becomes a higher-level item.Enter the number of a higher-level item. Maximum length: 6.

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 itemGrossWeight

itemGrossWeight: BigNumber

Gross Weight of the Item. The total gross weight of the item. The gross weight represents the net weight plus the weight of packaging. The system calculates the gross weight based on the order quantity for the item and the gross weight proposed from the material master record.If the item has more than one schedule line, the system uses the total order quantity of all schedule lines to calculate the gross weight. In sales documents where schedule lines are not allowed (contracts, for example), the system calculates the gross weight using the target quantity.You can change the value manually at the item level.

nullable

Optional itemNetWeight

itemNetWeight: BigNumber

Net Weight of the Item. The total net weight for the item. The net weight represents the gross weight less the weight of packaging. The system calculates the net weight based on the order quantity for the item and the net weight proposed from the material master record. If the item has more than one schedule line, the system uses the total order quantity of all schedule lines to calculate the net weight. In sales documents where schedule lines are not allowed (contracts, for example), the system calculates the net weight using the target quantity.You can change the value manually at the item level.The gross weight of a refrigerator and its packaging (a cardboard box including protective padding) is 350 pounds. The packaging weighs 25 pounds. In this case, the net weight is 325 pounds.

nullable

Optional itemOrderProbabilityInPercent

itemOrderProbabilityInPercent: string

Order Probability of the Item. The probability (expressed as a percentage) of the customer confirming the inquiry or quotation item as part of a sales order. The system combines the probability factors from the sales document type and from the customer master record of the sold-to party.If probability is 80% for the sales document type and 50% in the customer master record, the system combines the two values. In this case, the system takes 50% of 80% and proposes 40% for the item.The system proposes the probability. You can change the value manually for the item.You can generate requirements from quotations. Accordingly, the probability of quotation items affects how requirements are passed on. For example, a quotation for 100 pieces and a probability of 50% will generate requirements for 50 pieces. Maximum length: 3.

nullable

Optional itemVolume

itemVolume: BigNumber

Volume of the item. The total volume for the item. The system calculates the volume based on the order quantity for the item and the volume proposed from the material master record. If the item has more than one schedule line, the system uses the total order quantity of all schedule lines to calculate the volume. In sales documents where schedule lines are not allowed (contracts, for example), the system calculates the volume using the target quantity.You can change the value manually at the item level.

nullable

Optional itemVolumeUnit

itemVolumeUnit: string

Volume Unit. Unit referring to the volume of the material. If you specify a volume, you have to enter the corresponding volume unit here. Maximum length: 3.

nullable

Optional itemWeightUnit

itemWeightUnit: string

Unit of Weight. Unit referring to the gross weight or net weight of the material. If you specify a weight, you must enter the corresponding unit of weight here. Maximum length: 3.

nullable

Optional material

material: string

Material Number. Alphanumeric key uniquely identifying the material. Maximum length: 40.

nullable

Optional materialByCustomer

materialByCustomer: string

Material Number Used by Customer. Uniquely identifies the material from the customer's point of view. If the customer uses a different identifier than the one you use for the material, you can include this information in a customer-material info record. You can also include in this record specific shipping details, such asMinimum delivery quantityPartial delivery conditionsEnter a value from an existing customer-material info record. Maximum length: 35.

nullable

Optional materialGroup

materialGroup: string

Material Group. Key that you use to group together several materials or services with the same attributes, and to assign them to a particular material group. You can use material groups to:Restrict the scope of analysesSearch specifically for material master records via search helps. Maximum length: 9.

nullable

Optional materialPricingGroup

materialPricingGroup: string

Material Price Group. A way of grouping materials to which you want to apply the same condition. You can create condition records for a material price group using the following condition types:Material price group (for example, all non-food products)A combination of customer and material price groupA combination of customer price group and material price group (for example, all wholesale customers and all non-food products). Maximum length: 2.

nullable

Optional netAmount

netAmount: BigNumber

Net Value of the Order Item in Document Currency. The net value of the item, after any discounts and surcharges are taken into account. Sales taxes are not included. The value is expressed in the document currency.

nullable

Optional plant

plant: string

Plant (Own or External). Key that uniquely identifies a plant. Maximum length: 4.

nullable

Optional profitCenter

profitCenter: string

Profit Center. Key which together with the controlling area uniquely identifies a profit center. Maximum length: 10.

nullable

Optional purchaseOrderByCustomer

purchaseOrderByCustomer: string

Customer Reference. Number that the customer uses to uniquely identify a purchasing document (e.g. an inquiry or a purchase order). The number creates the link between the customer purchase order and the sales document that you create. You can use the number used by the customer during correspondence with the customer to find certain document information. If the number refers to a purchase order, you can also print it on the documents that you send to the customer (e.g. on the delivery note). Maximum length: 35.

nullable

Optional referenceSdDocument

referenceSdDocument: string

Document Number of the Reference Document. Identifies the sales order to which the delivery refers. Maximum length: 10.

nullable

Optional referenceSdDocumentItem

referenceSdDocumentItem: string

Item Number of the Reference Item. The number of the sales order item to which the delivery item refers. Maximum length: 6.

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 requestedQuantity

requestedQuantity: BigNumber

Requested Quantity.

nullable

Optional requestedQuantityUnit

requestedQuantityUnit: string

Requested Quantity Unit. Maximum length: 3.

nullable

Optional 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.

nullable

salesQuotation

salesQuotation: string

Sales Quotation. Maximum length: 10.

salesQuotationItem

salesQuotationItem: string

Sales Quotation Item. Maximum length: 6.

Optional salesQuotationItemCategory

salesQuotationItemCategory: string

Sales Document Item Category. A classification that distinguishes between different types of item (for example, free of charge items and text items) and determines how the system processes the item. The system proposes an item category. If alternatives are defined for your system, you can change the item category manually in the sales document.If, for example, you identify an item as a free or charge item, you tell the system, in this case, to ignore normal pricing procedures. Maximum length: 4.

nullable

Optional salesQuotationItemText

salesQuotationItemText: string

Short Text for Sales Order Item. A short description of the item. Short texts are used throughout sales order processing, shipping, and billing. They also appear on printed order confirmations.The system proposes the short text from the material master record. If you have included a short text in a customer-material info record, it replaces the material master text during sales document processing. You can change the text at the item level in the sales document or during delivery processing. Maximum length: 40.

nullable

Optional sdProcessStatus

sdProcessStatus: string

Overall Processing Status of the SD Document Item. Displays the overall processing status of the item. The system determines the overall status from all statuses (for example, delivery and billing) for this item. The status message tells you whether processing of the item is open, in progress, or complete. Maximum length: 1.

nullable

toPartner

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

toPricingElement

toPricingElement: SalesQuotationItemPrcgElmnt[]

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

toSalesQuotation

toSalesQuotation: SalesQuotation

One-to-one navigation property to the SalesQuotation entity.

Optional transactionCurrency

transactionCurrency: string

SD document currency. The currency that applies to the document (for example, to a sales order or an invoice). The system proposes the document currency from the customer master record of the sold-to party. You can change the currency manually in the document. If you change the currency, the system recalculates prices for the entire document. Maximum length: 5.

nullable

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

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

Optional wbsElement

wbsElement: string

Work Breakdown Structure Element (WBS Element). Key that identifies a WBS element. Maximum length: 24.

nullable

Static ALL_FIELDS

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

All fields selector.

Static ALTERNATIVE_TO_ITEM

ALTERNATIVE_TO_ITEM: StringField<SalesQuotationItem> = new StringField('AlternativeToItem', SalesQuotationItem, 'Edm.String')

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

Static BATCH

BATCH: StringField<SalesQuotationItem> = new StringField('Batch', SalesQuotationItem, 'Edm.String')

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

Static CUSTOMER_PAYMENT_TERMS

CUSTOMER_PAYMENT_TERMS: StringField<SalesQuotationItem> = new StringField('CustomerPaymentTerms', SalesQuotationItem, 'Edm.String')

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

Static HIGHER_LEVEL_ITEM

HIGHER_LEVEL_ITEM: StringField<SalesQuotationItem> = new StringField('HigherLevelItem', SalesQuotationItem, 'Edm.String')

Static representation of the higherLevelItem 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<SalesQuotationItem> = new StringField('IncotermsClassification', SalesQuotationItem, '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<SalesQuotationItem> = new StringField('IncotermsLocation1', SalesQuotationItem, '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<SalesQuotationItem> = new StringField('IncotermsLocation2', SalesQuotationItem, '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<SalesQuotationItem> = new StringField('IncotermsTransferLocation', SalesQuotationItem, '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 ITEM_GROSS_WEIGHT

ITEM_GROSS_WEIGHT: BigNumberField<SalesQuotationItem> = new BigNumberField('ItemGrossWeight', SalesQuotationItem, 'Edm.Decimal')

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

Static ITEM_NET_WEIGHT

ITEM_NET_WEIGHT: BigNumberField<SalesQuotationItem> = new BigNumberField('ItemNetWeight', SalesQuotationItem, 'Edm.Decimal')

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

Static ITEM_ORDER_PROBABILITY_IN_PERCENT

ITEM_ORDER_PROBABILITY_IN_PERCENT: StringField<SalesQuotationItem> = new StringField('ItemOrderProbabilityInPercent', SalesQuotationItem, 'Edm.String')

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

Static ITEM_VOLUME

ITEM_VOLUME: BigNumberField<SalesQuotationItem> = new BigNumberField('ItemVolume', SalesQuotationItem, 'Edm.Decimal')

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

Static ITEM_VOLUME_UNIT

ITEM_VOLUME_UNIT: StringField<SalesQuotationItem> = new StringField('ItemVolumeUnit', SalesQuotationItem, 'Edm.String')

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

Static ITEM_WEIGHT_UNIT

ITEM_WEIGHT_UNIT: StringField<SalesQuotationItem> = new StringField('ItemWeightUnit', SalesQuotationItem, 'Edm.String')

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

Static MATERIAL

MATERIAL: StringField<SalesQuotationItem> = new StringField('Material', SalesQuotationItem, 'Edm.String')

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

Static MATERIAL_BY_CUSTOMER

MATERIAL_BY_CUSTOMER: StringField<SalesQuotationItem> = new StringField('MaterialByCustomer', SalesQuotationItem, 'Edm.String')

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

Static MATERIAL_GROUP

MATERIAL_GROUP: StringField<SalesQuotationItem> = new StringField('MaterialGroup', SalesQuotationItem, 'Edm.String')

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

Static MATERIAL_PRICING_GROUP

MATERIAL_PRICING_GROUP: StringField<SalesQuotationItem> = new StringField('MaterialPricingGroup', SalesQuotationItem, 'Edm.String')

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

Static NET_AMOUNT

NET_AMOUNT: BigNumberField<SalesQuotationItem> = new BigNumberField('NetAmount', SalesQuotationItem, 'Edm.Decimal')

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

Static PLANT

PLANT: StringField<SalesQuotationItem> = new StringField('Plant', SalesQuotationItem, 'Edm.String')

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

Static PROFIT_CENTER

PROFIT_CENTER: StringField<SalesQuotationItem> = new StringField('ProfitCenter', SalesQuotationItem, 'Edm.String')

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

Static PURCHASE_ORDER_BY_CUSTOMER

PURCHASE_ORDER_BY_CUSTOMER: StringField<SalesQuotationItem> = new StringField('PurchaseOrderByCustomer', SalesQuotationItem, 'Edm.String')

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

Static REFERENCE_SD_DOCUMENT

REFERENCE_SD_DOCUMENT: StringField<SalesQuotationItem> = new StringField('ReferenceSDDocument', SalesQuotationItem, 'Edm.String')

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

Static REFERENCE_SD_DOCUMENT_ITEM

REFERENCE_SD_DOCUMENT_ITEM: StringField<SalesQuotationItem> = new StringField('ReferenceSDDocumentItem', SalesQuotationItem, 'Edm.String')

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

Static REQUESTED_QUANTITY

REQUESTED_QUANTITY: BigNumberField<SalesQuotationItem> = new BigNumberField('RequestedQuantity', SalesQuotationItem, 'Edm.Decimal')

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

Static REQUESTED_QUANTITY_UNIT

REQUESTED_QUANTITY_UNIT: StringField<SalesQuotationItem> = new StringField('RequestedQuantityUnit', SalesQuotationItem, 'Edm.String')

Static representation of the requestedQuantityUnit 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

SALES_DOCUMENT_RJCN_REASON: StringField<SalesQuotationItem> = new StringField('SalesDocumentRjcnReason', SalesQuotationItem, '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_QUOTATION

SALES_QUOTATION: StringField<SalesQuotationItem> = new StringField('SalesQuotation', SalesQuotationItem, 'Edm.String')

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

Static SALES_QUOTATION_ITEM

SALES_QUOTATION_ITEM: StringField<SalesQuotationItem> = new StringField('SalesQuotationItem', SalesQuotationItem, 'Edm.String')

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

Static SALES_QUOTATION_ITEM_CATEGORY

SALES_QUOTATION_ITEM_CATEGORY: StringField<SalesQuotationItem> = new StringField('SalesQuotationItemCategory', SalesQuotationItem, 'Edm.String')

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

Static SALES_QUOTATION_ITEM_TEXT

SALES_QUOTATION_ITEM_TEXT: StringField<SalesQuotationItem> = new StringField('SalesQuotationItemText', SalesQuotationItem, 'Edm.String')

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

Static SD_PROCESS_STATUS

SD_PROCESS_STATUS: StringField<SalesQuotationItem> = new StringField('SDProcessStatus', SalesQuotationItem, 'Edm.String')

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

Static TO_PARTNER

TO_PARTNER: Link<SalesQuotationItem, SalesQuotationItemPartner> = new Link('to_Partner', SalesQuotationItem, SalesQuotationItemPartner)

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

Static TO_PRICING_ELEMENT

TO_PRICING_ELEMENT: Link<SalesQuotationItem, SalesQuotationItemPrcgElmnt> = new Link('to_PricingElement', SalesQuotationItem, SalesQuotationItemPrcgElmnt)

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

Static TO_SALES_QUOTATION

TO_SALES_QUOTATION: OneToOneLink<SalesQuotationItem, SalesQuotation> = new OneToOneLink('to_SalesQuotation', SalesQuotationItem, SalesQuotation)

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

Static TRANSACTION_CURRENCY

TRANSACTION_CURRENCY: StringField<SalesQuotationItem> = new StringField('TransactionCurrency', SalesQuotationItem, 'Edm.String')

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

Static WBS_ELEMENT

WBS_ELEMENT: StringField<SalesQuotationItem> = new StringField('WBSElement', SalesQuotationItem, 'Edm.String')

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

Static _allFields

_allFields: Array<StringField<SalesQuotationItem> | BigNumberField<SalesQuotationItem> | Link<SalesQuotationItem, SalesQuotationItemPartner> | Link<SalesQuotationItem, SalesQuotationItemPrcgElmnt> | OneToOneLink<SalesQuotationItem, SalesQuotation>> = [SalesQuotationItem.SALES_QUOTATION,SalesQuotationItem.SALES_QUOTATION_ITEM,SalesQuotationItem.HIGHER_LEVEL_ITEM,SalesQuotationItem.SALES_QUOTATION_ITEM_CATEGORY,SalesQuotationItem.SALES_QUOTATION_ITEM_TEXT,SalesQuotationItem.PURCHASE_ORDER_BY_CUSTOMER,SalesQuotationItem.MATERIAL,SalesQuotationItem.MATERIAL_BY_CUSTOMER,SalesQuotationItem.REQUESTED_QUANTITY,SalesQuotationItem.REQUESTED_QUANTITY_UNIT,SalesQuotationItem.ITEM_ORDER_PROBABILITY_IN_PERCENT,SalesQuotationItem.ALTERNATIVE_TO_ITEM,SalesQuotationItem.ITEM_GROSS_WEIGHT,SalesQuotationItem.ITEM_NET_WEIGHT,SalesQuotationItem.ITEM_WEIGHT_UNIT,SalesQuotationItem.ITEM_VOLUME,SalesQuotationItem.ITEM_VOLUME_UNIT,SalesQuotationItem.TRANSACTION_CURRENCY,SalesQuotationItem.NET_AMOUNT,SalesQuotationItem.MATERIAL_GROUP,SalesQuotationItem.MATERIAL_PRICING_GROUP,SalesQuotationItem.BATCH,SalesQuotationItem.PLANT,SalesQuotationItem.INCOTERMS_CLASSIFICATION,SalesQuotationItem.INCOTERMS_TRANSFER_LOCATION,SalesQuotationItem.INCOTERMS_LOCATION_1,SalesQuotationItem.INCOTERMS_LOCATION_2,SalesQuotationItem.CUSTOMER_PAYMENT_TERMS,SalesQuotationItem.SALES_DOCUMENT_RJCN_REASON,SalesQuotationItem.WBS_ELEMENT,SalesQuotationItem.PROFIT_CENTER,SalesQuotationItem.REFERENCE_SD_DOCUMENT,SalesQuotationItem.REFERENCE_SD_DOCUMENT_ITEM,SalesQuotationItem.SD_PROCESS_STATUS,SalesQuotationItem.TO_PARTNER,SalesQuotationItem.TO_PRICING_ELEMENT,SalesQuotationItem.TO_SALES_QUOTATION]

All fields of the SalesQuotationItem entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SalesQuotationItem"

Technical entity name for SalesQuotationItem.

Static _keyFields

_keyFields: Array<Selectable<SalesQuotationItem>> = [SalesQuotationItem.SALES_QUOTATION, SalesQuotationItem.SALES_QUOTATION_ITEM]

All key fields of the SalesQuotationItem entity.

Static _keys

_keys: object = SalesQuotationItem._keyFields.reduce((acc: { [keys: string]: Selectable<SalesQuotationItem> }, field: Selectable<SalesQuotationItem>) => {acc[field.fieldName] = field;return acc;}, {})

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

Type declaration

Static _serviceName

_serviceName: string = "API_SALES_QUOTATION_SRV"
deprecated

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

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 SalesQuotationItem.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SalesQuotationItem>

    A builder that constructs instances of entity type SalesQuotationItem.

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, JsonT>): EntityBuilderType<EntityT, JsonT>
  • Type parameters

    • EntityT: Entity

    • JsonT

    Parameters

    • entityConstructor: Constructable<EntityT, JsonT>

    Returns EntityBuilderType<EntityT, JsonT>

Static requestBuilder

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

    Returns SalesQuotationItemRequestBuilder

    A SalesQuotationItem request builder.