Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PurgInfoRecdOrgPlantData" of service "API_INFORECORD_PROCESS_SRV". This service is part of the following communication scenarios: Purchasing Info Record Integration (SAP_COM_0145). See https://api.sap.com/api/API_INFORECORD_PROCESS_SRV for more information.

Hierarchy

  • Entity
    • PurgInfoRecdOrgPlantData

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 createdByUser

createdByUser: string

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

nullable

Optional currency

currency: string

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

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

invoiceIsGoodsReceiptBased: boolean

Indicator: GR-Based Invoice Verification. Indicator specifying that provision has been made for goods-receipt-based invoice verification for a purchase order item or invoice item.

nullable

Optional isCashDiscountGranted

isCashDiscountGranted: boolean

Item Does Not Qualify for Cash Discount. Indicates whether cash (prompt payment) discount is granted with regard to the item. Set the indicator if no cash discount is granted for the item.

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 isEvaluatedRcptSettlmtAllowed

isEvaluatedRcptSettlmtAllowed: boolean

No Evaluated Receipt Settlement (ERS). Indicator specifying that evaluated receipt settlement (ERS) is not possible for deliveries of this material.

nullable

Optional isMarkedForDeletion

isMarkedForDeletion: boolean

Purch. info: Purch. organization data flagged for deletion. Indicates whether the purchasing organization data of the info record is to be deleted. If the indicator has been set, the data will be deleted in the course of the next reorganization run.

nullable

Optional isOrderAcknRqd

isOrderAcknRqd: boolean

Order Acknowledgment Requirement. Determines whether the purchasing document (purchase order, outline purchase agreement, etc.) is to be acknowledged by the supplier.

nullable

Optional isPurOrderAllwdForInbDeliv

isPurOrderAllwdForInbDeliv: boolean

Create Purchase Order for Delivery Without Reference. Allows the creation of a new purchase order for an incoming inbound delivery if the reference is missing for an item. The purchase order will be created automatically while processing the inbound delivery and before saving it. Only for inbound delivery items that belong to the combination of this inforecord, new reference documents can be created automatically.

nullable

Optional isRelevantForAutomSrcg

isRelevantForAutomSrcg: string

Relevant for Automatic Sourcing. If you are maintaining a purchasing info record and you select this checkbox in the info record details, the system takes this info record into consideration when creating purchase requisitions during the planning run. Maximum length: 1.

nullable

Optional isRetMatlAuthznRqdBySupplier

isRetMatlAuthznRqdBySupplier: string

Supplier RMA Number Required. Specifies whether the supplier requires a return material authorization (RMA) number. The information whether the RMA number is required by the supplier can be found in the Purchasing Info Record. You can select:No Supplier RMA RequiredSupplier RMA RequiredAdopt from Supplier Master Record. Maximum length: 1.

nullable

Optional lastReferencingPurOrderItem

lastReferencingPurOrderItem: string

Item Number of Purchasing Document. Specifies the number that uniquely identifies an item in . Maximum length: 5.

nullable

Optional lastReferencingPurchaseOrder

lastReferencingPurchaseOrder: string

Purchasing Document Number. Alphanumeric key uniquely identifying the document. Maximum length: 10.

nullable

Optional material

material: string

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

nullable

Optional materialConditionGroup

materialConditionGroup: string

Condition Group with Supplier. Condition group to which the material belongs with the supplier. The condition group of the supplier is entered in the purchasing info record.Using the condition group, you can create conditions relating to a certain material and a certain supplier. Conditions defined for a condition group are taken into account in computing the effective price of the purchase order item.Enter the description of the condition group for which you want to define conditions. Your input can be alphanumeric. Maximum length: 4.

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 materialPlannedDeliveryDurn

materialPlannedDeliveryDurn: BigNumber

Planned Delivery Time in Days. Number of calendar days needed to obtain the material or service if it is procured externally. If you have different vendors for a material, you must specify an average value. The same applies if you order the material from a fixed vendor that has varying delivery times.If you use the SAP Retail System, the planned delivery time can be suggested from the vendor sub-range in the vendor master record.

nullable

Optional materialPriceUnitQty

materialPriceUnitQty: BigNumber

Price Unit. Specifies how many units of the purchase order price unit the price is valid for. Invoices are created using price units and purchase order price units which constitute the basis for value postings.They can be stored in the purchasing info record.A material or commodity (for example, oil) can be ordered by the liter, but the supplier's invoice shows a price of 2 dollars per kilogram.You enter 10 l as the order quantity and order unit, but specify 2 dollars per kg as purchase order price and purchase order price unit.In addition, you enter the conversion factor "order unit -> purchase order price unit" (for example 2 l per 1 kg) in the "details" data of the purchase order item.

nullable

Optional maximumOrderQuantity

maximumOrderQuantity: BigNumber

Maximum Purchase Order Quantity. Maximum quantity of the material that may be ordered. The order quantity in each PO item per material and supplier in the purchasing info record may not exceed the maximum order quantity defined in the purchasing info record.

nullable

Optional minRemainingShelfLife

minRemainingShelfLife: BigNumber

Minimum Remaining Shelf Life. Minimum amount of time for which the material must keep upon goods receipt for the goods receipt to be accepted by the system. The period (day, week, month, year) depends on the entry in the Period indicator field.

nullable

Optional minimumPurchaseOrderQuantity

minimumPurchaseOrderQuantity: BigNumber

Minimum Purchase Order Quantity. Smallest quantity of the material that can be ordered. The order quantity in each purchase order item relating to the material and supplier of the purchasing info record may not be less than the minimum order quantity specified in the purchasing info record.

nullable

Optional netPriceQuantityUnit

netPriceQuantityUnit: string

Net Price Quantity Unit. Maximum length: 50.

nullable

Optional overdelivTolrtdLmtRatioInPct

overdelivTolrtdLmtRatioInPct: BigNumber

Overdelivery Tolerance Limit. Percentage (based on the order quantity) up to which an overdelivery of this item will be accepted. If you have set the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed), this takes priority. It makes no sense to define a tolerance limit for overdelivery in such case.

nullable

plant

plant: string

Plant. Specifies the key for a production facility or branch office within the company (that is, the company code). You use the plant key to determine, for instance, which plant is to receive ordered goods. Maximum length: 4.

Optional priceValidityEndDate

priceValidityEndDate: Moment

Price Valid Until. Date until which the price shown in the info record is valid. If there is no price that is valid on the current date, the last-valid price is displayed and the date field contains the day before the start of the next validity period (this may be 12.31.9999 if there is no further validity date). If all validit periods lie beyond the current date, the price of the next period is displayed. The date field then contains the end date of this period.

nullable

Optional purchaseOrderPriceUnit

purchaseOrderPriceUnit: string

Order Price Unit (Purchasing). Indicates the unit of measurement to which the purchase order price relates. Invoices are created using price units and purchase order price units which constitute the basis for value postings.They can be stored in the purchasing info record.A material or commodity (for example, oil) can be ordered by the liter, but the supplier's invoice shows a price of 2 dollars per kilogram.You enter 10 l as the order quantity and order unit, but specify 2 dollars per kg as purchase order price and purchase order price unit.In addition, you enter the conversion factor "order unit -> purchase order price unit" (for example 2 l per 1 kg) in the "details" data of the purchase order item. Maximum length: 3.

nullable

Optional purchasingDocumentDate

purchasingDocumentDate: Moment

Date of Last PO or Sched. Agreement Document in Info Record. Date on which the last purchase order or scheduling agreement was created.

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

purchasingInfoRecord

purchasingInfoRecord: string

Number of Purchasing Info Record. Specifies the number that uniquely identifies a purchasing info record. Maximum length: 10.

purchasingInfoRecordCategory

purchasingInfoRecordCategory: string

Purchasing info record category. The info record category enables you to create different info records for different document types. You can create purchasing info records for:Normal procurementSubcontractingPipelineConsignment. Maximum length: 1.

purchasingOrganization

purchasingOrganization: string

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

Optional purgDocOrderQuantityUnit

purgDocOrderQuantityUnit: string

Purchase Order Unit of Measure. Specifies the unit of measure in which the material is ordered. Maximum length: 3.

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 shelfLifeExpirationDatePeriod

shelfLifeExpirationDatePeriod: string

Period Indicator for Shelf Life Expiration Date. The period indicator specifies the unit of measurement for a period of time. Maintain period indicator. Maximum length: 1.

nullable

Optional standardPurchaseOrderQuantity

standardPurchaseOrderQuantity: BigNumber

Standard Purchase Order Quantity. Quantity of the material that is normally ordered from this supplier. The standard purchase order quantity serves as a basisfor computing the effective prices in supplier evaluation.for determining the price if a price/quantity scale appliesExample: standard quantity 100 pcs.Scale prices: 1-100 pcs. $10.00/ 101-200 pcs. $8.00Price determined on basis of standard quantity: $10.00The standard quantity may not be less than the minimum order quantity.

nullable

Optional supplier

supplier: string

Vendor Account Number. Alphanumeric key uniquely identifying the document. With the supplier number, information from the supplier master record (such as the supplier's address and bank details) is copied into a purchasing document (such as a request for quotation or a purchase order).You can use the supplier number to keep track of requests for quotation, purchase orders and outline agreements. Maximum length: 10.

nullable

Optional supplierQuotation

supplierQuotation: string

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

nullable

Optional supplierQuotationDate

supplierQuotationDate: Moment

Quotation Validity Date. Date of supplier's quotation, on the basis of which the purchasing info record was created. The quotation is valid from this date onwards.

nullable

Optional taxCode

taxCode: string

Tax on Sales/Purchases Code. The tax code represents a tax category which must be taken into consideration when making a tax return to the tax authorities. Tax codes are unique per country. The tax rate calculation rules and further features are stored in a table for each tax code.For tax-exempt or non-taxable transactions, you should use tax codes with a 0 percentage rate if the corresponding transactions are to be displayed in the tax returns.You must define new tax codes if tax rates are changed by the state. The old codes with the old tax rates must remain in the system until no more open items which use this tax code exist. Maximum length: 2.

nullable

toPurgInfoRecd

toPurgInfoRecd: PurchasingInfoRecord

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

Optional underdelivTolrtdLmtRatioInPct

underdelivTolrtdLmtRatioInPct: BigNumber

Underdelivery Tolerance Limit. Percentage (based on the order quantity) up to which an underdelivery of this item will be accepted.

nullable

Optional unlimitedOverdeliveryIsAllowed

unlimitedOverdeliveryIsAllowed: boolean

Indicator: Unlimited Overdelivery Allowed. Indicator that specifies whether unlimited overdelivery can be accepted for the item.

nullable

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<PurgInfoRecdOrgPlantData> = new AllFields('*', PurgInfoRecdOrgPlantData)

All fields selector.

Static CREATED_BY_USER

CREATED_BY_USER: StringField<PurgInfoRecdOrgPlantData> = new StringField('CreatedByUser', PurgInfoRecdOrgPlantData, '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 CURRENCY

CURRENCY: StringField<PurgInfoRecdOrgPlantData> = new StringField('Currency', PurgInfoRecdOrgPlantData, 'Edm.String')

Static representation of the currency 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<PurgInfoRecdOrgPlantData> = new StringField('IncotermsClassification', PurgInfoRecdOrgPlantData, '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<PurgInfoRecdOrgPlantData> = new StringField('IncotermsLocation1', PurgInfoRecdOrgPlantData, '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_TRANSFER_LOCATION

INCOTERMS_TRANSFER_LOCATION: StringField<PurgInfoRecdOrgPlantData> = new StringField('IncotermsTransferLocation', PurgInfoRecdOrgPlantData, '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 INVOICE_IS_GOODS_RECEIPT_BASED

INVOICE_IS_GOODS_RECEIPT_BASED: BooleanField<PurgInfoRecdOrgPlantData> = new BooleanField('InvoiceIsGoodsReceiptBased', PurgInfoRecdOrgPlantData, 'Edm.Boolean')

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

Static IS_CASH_DISCOUNT_GRANTED

IS_CASH_DISCOUNT_GRANTED: BooleanField<PurgInfoRecdOrgPlantData> = new BooleanField('IsCashDiscountGranted', PurgInfoRecdOrgPlantData, 'Edm.Boolean')

Static representation of the isCashDiscountGranted 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<PurgInfoRecdOrgPlantData> = new StringField('IsEndOfPurposeBlocked', PurgInfoRecdOrgPlantData, '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 IS_EVALUATED_RCPT_SETTLMT_ALLOWED

IS_EVALUATED_RCPT_SETTLMT_ALLOWED: BooleanField<PurgInfoRecdOrgPlantData> = new BooleanField('IsEvaluatedRcptSettlmtAllowed', PurgInfoRecdOrgPlantData, 'Edm.Boolean')

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

Static IS_MARKED_FOR_DELETION

IS_MARKED_FOR_DELETION: BooleanField<PurgInfoRecdOrgPlantData> = new BooleanField('IsMarkedForDeletion', PurgInfoRecdOrgPlantData, 'Edm.Boolean')

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

Static IS_ORDER_ACKN_RQD

IS_ORDER_ACKN_RQD: BooleanField<PurgInfoRecdOrgPlantData> = new BooleanField('IsOrderAcknRqd', PurgInfoRecdOrgPlantData, 'Edm.Boolean')

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

Static IS_PUR_ORDER_ALLWD_FOR_INB_DELIV

IS_PUR_ORDER_ALLWD_FOR_INB_DELIV: BooleanField<PurgInfoRecdOrgPlantData> = new BooleanField('IsPurOrderAllwdForInbDeliv', PurgInfoRecdOrgPlantData, 'Edm.Boolean')

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

Static IS_RELEVANT_FOR_AUTOM_SRCG

IS_RELEVANT_FOR_AUTOM_SRCG: StringField<PurgInfoRecdOrgPlantData> = new StringField('IsRelevantForAutomSrcg', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static IS_RET_MATL_AUTHZN_RQD_BY_SUPPLIER

IS_RET_MATL_AUTHZN_RQD_BY_SUPPLIER: StringField<PurgInfoRecdOrgPlantData> = new StringField('IsRetMatlAuthznRqdBySupplier', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static LAST_REFERENCING_PURCHASE_ORDER

LAST_REFERENCING_PURCHASE_ORDER: StringField<PurgInfoRecdOrgPlantData> = new StringField('LastReferencingPurchaseOrder', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static LAST_REFERENCING_PUR_ORDER_ITEM

LAST_REFERENCING_PUR_ORDER_ITEM: StringField<PurgInfoRecdOrgPlantData> = new StringField('LastReferencingPurOrderItem', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static MATERIAL

MATERIAL: StringField<PurgInfoRecdOrgPlantData> = new StringField('Material', PurgInfoRecdOrgPlantData, '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_CONDITION_GROUP

MATERIAL_CONDITION_GROUP: StringField<PurgInfoRecdOrgPlantData> = new StringField('MaterialConditionGroup', PurgInfoRecdOrgPlantData, 'Edm.String')

Static representation of the materialConditionGroup 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<PurgInfoRecdOrgPlantData> = new StringField('MaterialGroup', PurgInfoRecdOrgPlantData, '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_PLANNED_DELIVERY_DURN

MATERIAL_PLANNED_DELIVERY_DURN: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('MaterialPlannedDeliveryDurn', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static MATERIAL_PRICE_UNIT_QTY

MATERIAL_PRICE_UNIT_QTY: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('MaterialPriceUnitQty', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static MAXIMUM_ORDER_QUANTITY

MAXIMUM_ORDER_QUANTITY: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('MaximumOrderQuantity', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static MINIMUM_PURCHASE_ORDER_QUANTITY

MINIMUM_PURCHASE_ORDER_QUANTITY: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('MinimumPurchaseOrderQuantity', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static MIN_REMAINING_SHELF_LIFE

MIN_REMAINING_SHELF_LIFE: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('MinRemainingShelfLife', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static NET_PRICE_QUANTITY_UNIT

NET_PRICE_QUANTITY_UNIT: StringField<PurgInfoRecdOrgPlantData> = new StringField('NetPriceQuantityUnit', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT

OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('OverdelivTolrtdLmtRatioInPct', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static PLANT

PLANT: StringField<PurgInfoRecdOrgPlantData> = new StringField('Plant', PurgInfoRecdOrgPlantData, '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 PRICE_VALIDITY_END_DATE

PRICE_VALIDITY_END_DATE: DateField<PurgInfoRecdOrgPlantData> = new DateField('PriceValidityEndDate', PurgInfoRecdOrgPlantData, 'Edm.DateTime')

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

Static PURCHASE_ORDER_PRICE_UNIT

PURCHASE_ORDER_PRICE_UNIT: StringField<PurgInfoRecdOrgPlantData> = new StringField('PurchaseOrderPriceUnit', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static PURCHASING_DOCUMENT_DATE

PURCHASING_DOCUMENT_DATE: DateField<PurgInfoRecdOrgPlantData> = new DateField('PurchasingDocumentDate', PurgInfoRecdOrgPlantData, 'Edm.DateTime')

Static representation of the purchasingDocumentDate 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<PurgInfoRecdOrgPlantData> = new StringField('PurchasingGroup', PurgInfoRecdOrgPlantData, '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_INFO_RECORD

PURCHASING_INFO_RECORD: StringField<PurgInfoRecdOrgPlantData> = new StringField('PurchasingInfoRecord', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static PURCHASING_INFO_RECORD_CATEGORY

PURCHASING_INFO_RECORD_CATEGORY: StringField<PurgInfoRecdOrgPlantData> = new StringField('PurchasingInfoRecordCategory', PurgInfoRecdOrgPlantData, 'Edm.String')

Static representation of the purchasingInfoRecordCategory 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<PurgInfoRecdOrgPlantData> = new StringField('PurchasingOrganization', PurgInfoRecdOrgPlantData, '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 PURG_DOC_ORDER_QUANTITY_UNIT

PURG_DOC_ORDER_QUANTITY_UNIT: StringField<PurgInfoRecdOrgPlantData> = new StringField('PurgDocOrderQuantityUnit', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static SHELF_LIFE_EXPIRATION_DATE_PERIOD

SHELF_LIFE_EXPIRATION_DATE_PERIOD: StringField<PurgInfoRecdOrgPlantData> = new StringField('ShelfLifeExpirationDatePeriod', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static STANDARD_PURCHASE_ORDER_QUANTITY

STANDARD_PURCHASE_ORDER_QUANTITY: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('StandardPurchaseOrderQuantity', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static SUPPLIER

SUPPLIER: StringField<PurgInfoRecdOrgPlantData> = new StringField('Supplier', PurgInfoRecdOrgPlantData, '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<PurgInfoRecdOrgPlantData> = new StringField('SupplierQuotation', PurgInfoRecdOrgPlantData, '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_DATE

SUPPLIER_QUOTATION_DATE: DateField<PurgInfoRecdOrgPlantData> = new DateField('SupplierQuotationDate', PurgInfoRecdOrgPlantData, 'Edm.DateTime')

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

Static TAX_CODE

TAX_CODE: StringField<PurgInfoRecdOrgPlantData> = new StringField('TaxCode', PurgInfoRecdOrgPlantData, 'Edm.String')

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

Static TO_PURG_INFO_RECD

TO_PURG_INFO_RECD: OneToOneLink<PurgInfoRecdOrgPlantData, PurchasingInfoRecord> = new OneToOneLink('to_PurgInfoRecd', PurgInfoRecdOrgPlantData, PurchasingInfoRecord)

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

Static UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT

UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT: BigNumberField<PurgInfoRecdOrgPlantData> = new BigNumberField('UnderdelivTolrtdLmtRatioInPct', PurgInfoRecdOrgPlantData, 'Edm.Decimal')

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

Static UNLIMITED_OVERDELIVERY_IS_ALLOWED

UNLIMITED_OVERDELIVERY_IS_ALLOWED: BooleanField<PurgInfoRecdOrgPlantData> = new BooleanField('UnlimitedOverdeliveryIsAllowed', PurgInfoRecdOrgPlantData, 'Edm.Boolean')

Static representation of the unlimitedOverdeliveryIsAllowed 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<PurgInfoRecdOrgPlantData> | BooleanField<PurgInfoRecdOrgPlantData> | BigNumberField<PurgInfoRecdOrgPlantData> | DateField<PurgInfoRecdOrgPlantData> | OneToOneLink<PurgInfoRecdOrgPlantData, PurchasingInfoRecord>> = [PurgInfoRecdOrgPlantData.PURCHASING_INFO_RECORD,PurgInfoRecdOrgPlantData.PURCHASING_INFO_RECORD_CATEGORY,PurgInfoRecdOrgPlantData.PURCHASING_ORGANIZATION,PurgInfoRecdOrgPlantData.PLANT,PurgInfoRecdOrgPlantData.CREATED_BY_USER,PurgInfoRecdOrgPlantData.IS_MARKED_FOR_DELETION,PurgInfoRecdOrgPlantData.PURCHASING_GROUP,PurgInfoRecdOrgPlantData.CURRENCY,PurgInfoRecdOrgPlantData.MINIMUM_PURCHASE_ORDER_QUANTITY,PurgInfoRecdOrgPlantData.STANDARD_PURCHASE_ORDER_QUANTITY,PurgInfoRecdOrgPlantData.MATERIAL_PLANNED_DELIVERY_DURN,PurgInfoRecdOrgPlantData.OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT,PurgInfoRecdOrgPlantData.UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT,PurgInfoRecdOrgPlantData.UNLIMITED_OVERDELIVERY_IS_ALLOWED,PurgInfoRecdOrgPlantData.LAST_REFERENCING_PURCHASE_ORDER,PurgInfoRecdOrgPlantData.LAST_REFERENCING_PUR_ORDER_ITEM,PurgInfoRecdOrgPlantData.MATERIAL,PurgInfoRecdOrgPlantData.SUPPLIER,PurgInfoRecdOrgPlantData.MATERIAL_GROUP,PurgInfoRecdOrgPlantData.PURG_DOC_ORDER_QUANTITY_UNIT,PurgInfoRecdOrgPlantData.NET_PRICE_QUANTITY_UNIT,PurgInfoRecdOrgPlantData.MATERIAL_PRICE_UNIT_QTY,PurgInfoRecdOrgPlantData.PURCHASE_ORDER_PRICE_UNIT,PurgInfoRecdOrgPlantData.PRICE_VALIDITY_END_DATE,PurgInfoRecdOrgPlantData.INVOICE_IS_GOODS_RECEIPT_BASED,PurgInfoRecdOrgPlantData.TAX_CODE,PurgInfoRecdOrgPlantData.INCOTERMS_CLASSIFICATION,PurgInfoRecdOrgPlantData.INCOTERMS_TRANSFER_LOCATION,PurgInfoRecdOrgPlantData.INCOTERMS_LOCATION_1,PurgInfoRecdOrgPlantData.MAXIMUM_ORDER_QUANTITY,PurgInfoRecdOrgPlantData.IS_RELEVANT_FOR_AUTOM_SRCG,PurgInfoRecdOrgPlantData.SUPPLIER_QUOTATION,PurgInfoRecdOrgPlantData.SUPPLIER_QUOTATION_DATE,PurgInfoRecdOrgPlantData.MIN_REMAINING_SHELF_LIFE,PurgInfoRecdOrgPlantData.IS_EVALUATED_RCPT_SETTLMT_ALLOWED,PurgInfoRecdOrgPlantData.IS_PUR_ORDER_ALLWD_FOR_INB_DELIV,PurgInfoRecdOrgPlantData.IS_ORDER_ACKN_RQD,PurgInfoRecdOrgPlantData.IS_RET_MATL_AUTHZN_RQD_BY_SUPPLIER,PurgInfoRecdOrgPlantData.IS_CASH_DISCOUNT_GRANTED,PurgInfoRecdOrgPlantData.MATERIAL_CONDITION_GROUP,PurgInfoRecdOrgPlantData.PURCHASING_DOCUMENT_DATE,PurgInfoRecdOrgPlantData.SHELF_LIFE_EXPIRATION_DATE_PERIOD,PurgInfoRecdOrgPlantData.IS_END_OF_PURPOSE_BLOCKED,PurgInfoRecdOrgPlantData.TO_PURG_INFO_RECD]

All fields of the PurgInfoRecdOrgPlantData entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_PurgInfoRecdOrgPlantData"

Technical entity name for PurgInfoRecdOrgPlantData.

Static _keyFields

_keyFields: Array<Selectable<PurgInfoRecdOrgPlantData>> = [PurgInfoRecdOrgPlantData.PURCHASING_INFO_RECORD, PurgInfoRecdOrgPlantData.PURCHASING_INFO_RECORD_CATEGORY, PurgInfoRecdOrgPlantData.PURCHASING_ORGANIZATION, PurgInfoRecdOrgPlantData.PLANT]

All key fields of the PurgInfoRecdOrgPlantData entity.

Static _keys

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

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

Type declaration

Static _serviceName

_serviceName: string = "API_INFORECORD_PROCESS_SRV"
deprecated

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

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PurgInfoRecdOrgPlantData>

    A builder that constructs instances of entity type PurgInfoRecdOrgPlantData.

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

    Returns PurgInfoRecdOrgPlantDataRequestBuilder

    A PurgInfoRecdOrgPlantData request builder.