Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SalesOrderWithoutChargeItem" of service "API_SALES_ORDER_WITHOUT_CHARGE_SRV". This service is part of the following communication scenarios: Sales Order Without Charge Integration (SAP_COM_0334). See https://api.sap.com/api/API_SALES_ORDER_WITHOUT_CHARGE_SRV for more information.

Hierarchy

  • Entity
    • SalesOrderWithoutChargeItem

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

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 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 deliveryPriority

deliveryPriority: string

Delivery Priority. The delivery priority assigned to an item. You can assign delivery priority to either a particular material or to a combination of customer and material. When you process deliveries collectively, you can use delivery priority as one of the selection criteria. Maximum length: 2.

nullable

Optional deliveryStatus

deliveryStatus: string

Delivery Status. Displays the delivery status of the item. The status line tells you if the item is not yet delivered, is partly delivered, is completely delivered, or is not relevant for delivery. Maximum length: 1.

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

salesOrderWithoutCharge

salesOrderWithoutCharge: string

Sales Document. The number that uniquely identifies the sales document. Maximum length: 10.

salesOrderWithoutChargeItem

salesOrderWithoutChargeItem: string

Sales Document Item. The number that uniquely identifies the item in the sales document. Maximum length: 6.

Optional salesOrderWthoutChrgItemText

salesOrderWthoutChrgItemText: 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

Optional shippingPoint

shippingPoint: string

Shipping Point / Receiving Point. The physical location (for example, a warehouse or collection of loading ramps) from which you ship the item. You can predefine shipping/receiving points in the system, based on different combinations ofPlantsShipping conditionsLoading groupsDuring delivery processing, the shipping/receiving point is the most important criterion that you use to select deliveries.A delivery can be shipped from only one shipping point or received at only one receiving point.If you want to provide more detailed information about a shipping point you can specify a loading point (for example, one of a number of different loading ramps).If, for example, you want to ship refrigerated goods to a certain customer by rail, the system proposes a shipping point with a suitable location and equipment for loading refrigerated goods onto rail cars.The system can propose a shipping/receiving point. If valid alternatives are predefined in your system, you can change the shipping/receiving point manually. Maximum length: 4.

nullable

Optional shippingType

shippingType: string

Shipping Type. Shipping type (for example, by road or rail) that has been selected for the transportation of the goods for the shipment legs. During automatic shipment leg determination, all legs created or only the main, direct, or return legs are assigned to this shipping type, depending on the type of leg determination.You can enter the shipment type for the main, direct or return legs in the shipping header. The value is proposed depending on the requirement in the shipment type.By setting the status "planned", you have the shipping type copied from the respective deliveries into the shipment header, provided:The shipping type is identical in all the deliveries.The shipping type in the shipment header is not already filled.See also: Leg determination. Maximum length: 2.

nullable

Optional slsOrdWthoutChrgItemCategory

slsOrdWthoutChrgItemCategory: 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 storageLocation

storageLocation: string

Storage Location. Number of the storage location in which the material is stored. A plant may contain one or more storage locations. Maximum length: 4.

nullable

toPartner

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

toSalesOrderWithoutCharge

toSalesOrderWithoutCharge: SalesOrderWithoutCharge

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

toScheduleLine

toScheduleLine: SlsOrdWthoutChrgSchedLine[]

One-to-many navigation property to the SlsOrdWthoutChrgSchedLine 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<SalesOrderWithoutChargeItem> = new AllFields('*', SalesOrderWithoutChargeItem)

All fields selector.

Static BATCH

BATCH: StringField<SalesOrderWithoutChargeItem> = new StringField('Batch', SalesOrderWithoutChargeItem, '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 DELIVERY_PRIORITY

DELIVERY_PRIORITY: StringField<SalesOrderWithoutChargeItem> = new StringField('DeliveryPriority', SalesOrderWithoutChargeItem, 'Edm.String')

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

Static DELIVERY_STATUS

DELIVERY_STATUS: StringField<SalesOrderWithoutChargeItem> = new StringField('DeliveryStatus', SalesOrderWithoutChargeItem, 'Edm.String')

Static representation of the deliveryStatus 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<SalesOrderWithoutChargeItem> = new StringField('HigherLevelItem', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('IncotermsClassification', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('IncotermsLocation1', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('IncotermsLocation2', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('IncotermsTransferLocation', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new BigNumberField('ItemGrossWeight', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new BigNumberField('ItemNetWeight', SalesOrderWithoutChargeItem, '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_VOLUME

ITEM_VOLUME: BigNumberField<SalesOrderWithoutChargeItem> = new BigNumberField('ItemVolume', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('ItemVolumeUnit', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('ItemWeightUnit', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('Material', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('MaterialByCustomer', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('MaterialGroup', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('MaterialPricingGroup', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new BigNumberField('NetAmount', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('Plant', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('ProfitCenter', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('PurchaseOrderByCustomer', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('ReferenceSDDocument', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('ReferenceSDDocumentItem', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new BigNumberField('RequestedQuantity', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('RequestedQuantityUnit', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('SalesDocumentRjcnReason', SalesOrderWithoutChargeItem, '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_ORDER_WITHOUT_CHARGE

SALES_ORDER_WITHOUT_CHARGE: StringField<SalesOrderWithoutChargeItem> = new StringField('SalesOrderWithoutCharge', SalesOrderWithoutChargeItem, 'Edm.String')

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

Static SALES_ORDER_WITHOUT_CHARGE_ITEM

SALES_ORDER_WITHOUT_CHARGE_ITEM: StringField<SalesOrderWithoutChargeItem> = new StringField('SalesOrderWithoutChargeItem', SalesOrderWithoutChargeItem, 'Edm.String')

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

Static SALES_ORDER_WTHOUT_CHRG_ITEM_TEXT

SALES_ORDER_WTHOUT_CHRG_ITEM_TEXT: StringField<SalesOrderWithoutChargeItem> = new StringField('SalesOrderWthoutChrgItemText', SalesOrderWithoutChargeItem, 'Edm.String')

Static representation of the salesOrderWthoutChrgItemText 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<SalesOrderWithoutChargeItem> = new StringField('SDProcessStatus', SalesOrderWithoutChargeItem, '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 SHIPPING_POINT

SHIPPING_POINT: StringField<SalesOrderWithoutChargeItem> = new StringField('ShippingPoint', SalesOrderWithoutChargeItem, 'Edm.String')

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

Static SHIPPING_TYPE

SHIPPING_TYPE: StringField<SalesOrderWithoutChargeItem> = new StringField('ShippingType', SalesOrderWithoutChargeItem, 'Edm.String')

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

Static SLS_ORD_WTHOUT_CHRG_ITEM_CATEGORY

SLS_ORD_WTHOUT_CHRG_ITEM_CATEGORY: StringField<SalesOrderWithoutChargeItem> = new StringField('SlsOrdWthoutChrgItemCategory', SalesOrderWithoutChargeItem, 'Edm.String')

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

Static STORAGE_LOCATION

STORAGE_LOCATION: StringField<SalesOrderWithoutChargeItem> = new StringField('StorageLocation', SalesOrderWithoutChargeItem, 'Edm.String')

Static representation of the storageLocation 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<SalesOrderWithoutChargeItem, SlsOrdWthoutChrgItmPartner> = new Link('to_Partner', SalesOrderWithoutChargeItem, SlsOrdWthoutChrgItmPartner)

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_SALES_ORDER_WITHOUT_CHARGE

TO_SALES_ORDER_WITHOUT_CHARGE: OneToOneLink<SalesOrderWithoutChargeItem, SalesOrderWithoutCharge> = new OneToOneLink('to_SalesOrderWithoutCharge', SalesOrderWithoutChargeItem, SalesOrderWithoutCharge)

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

Static TO_SCHEDULE_LINE

TO_SCHEDULE_LINE: Link<SalesOrderWithoutChargeItem, SlsOrdWthoutChrgSchedLine> = new Link('to_ScheduleLine', SalesOrderWithoutChargeItem, SlsOrdWthoutChrgSchedLine)

Static representation of the one-to-many navigation property toScheduleLine 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<SalesOrderWithoutChargeItem> = new StringField('TransactionCurrency', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> = new StringField('WBSElement', SalesOrderWithoutChargeItem, '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<SalesOrderWithoutChargeItem> | BigNumberField<SalesOrderWithoutChargeItem> | Link<SalesOrderWithoutChargeItem, SlsOrdWthoutChrgItmPartner> | OneToOneLink<SalesOrderWithoutChargeItem, SalesOrderWithoutCharge> | Link<SalesOrderWithoutChargeItem, SlsOrdWthoutChrgSchedLine>> = [SalesOrderWithoutChargeItem.SALES_ORDER_WITHOUT_CHARGE,SalesOrderWithoutChargeItem.SALES_ORDER_WITHOUT_CHARGE_ITEM,SalesOrderWithoutChargeItem.HIGHER_LEVEL_ITEM,SalesOrderWithoutChargeItem.SLS_ORD_WTHOUT_CHRG_ITEM_CATEGORY,SalesOrderWithoutChargeItem.SALES_ORDER_WTHOUT_CHRG_ITEM_TEXT,SalesOrderWithoutChargeItem.PURCHASE_ORDER_BY_CUSTOMER,SalesOrderWithoutChargeItem.MATERIAL,SalesOrderWithoutChargeItem.MATERIAL_BY_CUSTOMER,SalesOrderWithoutChargeItem.REQUESTED_QUANTITY,SalesOrderWithoutChargeItem.REQUESTED_QUANTITY_UNIT,SalesOrderWithoutChargeItem.ITEM_GROSS_WEIGHT,SalesOrderWithoutChargeItem.ITEM_NET_WEIGHT,SalesOrderWithoutChargeItem.ITEM_WEIGHT_UNIT,SalesOrderWithoutChargeItem.ITEM_VOLUME,SalesOrderWithoutChargeItem.ITEM_VOLUME_UNIT,SalesOrderWithoutChargeItem.TRANSACTION_CURRENCY,SalesOrderWithoutChargeItem.NET_AMOUNT,SalesOrderWithoutChargeItem.MATERIAL_GROUP,SalesOrderWithoutChargeItem.MATERIAL_PRICING_GROUP,SalesOrderWithoutChargeItem.BATCH,SalesOrderWithoutChargeItem.PLANT,SalesOrderWithoutChargeItem.STORAGE_LOCATION,SalesOrderWithoutChargeItem.SHIPPING_POINT,SalesOrderWithoutChargeItem.SHIPPING_TYPE,SalesOrderWithoutChargeItem.DELIVERY_PRIORITY,SalesOrderWithoutChargeItem.INCOTERMS_CLASSIFICATION,SalesOrderWithoutChargeItem.INCOTERMS_TRANSFER_LOCATION,SalesOrderWithoutChargeItem.INCOTERMS_LOCATION_1,SalesOrderWithoutChargeItem.INCOTERMS_LOCATION_2,SalesOrderWithoutChargeItem.SALES_DOCUMENT_RJCN_REASON,SalesOrderWithoutChargeItem.WBS_ELEMENT,SalesOrderWithoutChargeItem.PROFIT_CENTER,SalesOrderWithoutChargeItem.REFERENCE_SD_DOCUMENT,SalesOrderWithoutChargeItem.REFERENCE_SD_DOCUMENT_ITEM,SalesOrderWithoutChargeItem.SD_PROCESS_STATUS,SalesOrderWithoutChargeItem.DELIVERY_STATUS,SalesOrderWithoutChargeItem.TO_PARTNER,SalesOrderWithoutChargeItem.TO_SALES_ORDER_WITHOUT_CHARGE,SalesOrderWithoutChargeItem.TO_SCHEDULE_LINE]

All fields of the SalesOrderWithoutChargeItem entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SalesOrderWithoutChargeItem"

Technical entity name for SalesOrderWithoutChargeItem.

Static _keyFields

_keyFields: Array<Selectable<SalesOrderWithoutChargeItem>> = [SalesOrderWithoutChargeItem.SALES_ORDER_WITHOUT_CHARGE, SalesOrderWithoutChargeItem.SALES_ORDER_WITHOUT_CHARGE_ITEM]

All key fields of the SalesOrderWithoutChargeItem entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_SALES_ORDER_WITHOUT_CHARGE_SRV"
deprecated

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

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SalesOrderWithoutChargeItem>

    A builder that constructs instances of entity type SalesOrderWithoutChargeItem.

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 SalesOrderWithoutChargeItem entity type.

    Returns SalesOrderWithoutChargeItemRequestBuilder

    A SalesOrderWithoutChargeItem request builder.