Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PurInfoRecdPrcgCndn" 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
    • PurInfoRecdPrcgCndn

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Returns PurInfoRecdPrcgCndn

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 additionalValueDays

additionalValueDays: undefined | string

Additional Value Days. The number of days between the billing date and the date on which the terms of payment for the sales document become effective. If you enter a value in this field, you cannot enter a date in the fixed value date field. Maximum length: 2.

nullable

Optional baseUnit

baseUnit: undefined | string

Base Unit of Measure. Unit of measure in which stocks of the material are managed. The system converts all the quantities you enter in other units of measure (alternative units of measure) to the base unit of measure. You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified. Maximum length: 3.

nullable

Optional cndnMaxNumberOfSalesOrders

cndnMaxNumberOfSalesOrders: undefined | string

Maximum number of sales orders per condition record. Specifies - up to a maximum of three - the number of sales orders that can benefit from this condition record. You introduce a new product for which you offer an introductory discount. The customer gets this discount only on the first two orders - the initial order and the first replenishment order. Thereafter, the discount is inactive. In this case, you enter '2' in this field.To see how many orders have already benefitted from a particular condition record, you select Details -> Cumulative values in the overview screen of the condition record. Maximum length: 2.

nullable

Optional conditionAlternativeCurrency

conditionAlternativeCurrency: undefined | string

Condition Currency (for Cumulation Fields). Maximum length: 5.

nullable

Optional conditionApplication

conditionApplication: undefined | string

Application. Subdivides the usage of a condition (for example, pricing) for use in different application areas (for example, sales & distribution or purchasing). Maximum length: 2.

nullable

Optional conditionCalculationType

conditionCalculationType: undefined | string

Calculation Type for Condition. Determines how the system calculates prices, discounts, or surcharges in a condition. For example, the system can calculate a price as a fixed amount or as a percentage based on quantity, volume, or weight. The calculation type can be set when generating new condition records. If this does not happen, the calculation type maintained here is valid for the condition record. Maximum length: 1.

nullable

Optional conditionExclusion

conditionExclusion: undefined | string

Condition exclusion indicator. Indicates whether the system automatically excludes the discounts that are proposed during pricing. You can set this indicator in two ways:For a particular condition record (the field appears on the Details screen)For all records of a particular condition type (the field appears on the screen where you define the condition type)If you set the indicator to exclude conditions, there are several things to consider:The system will still take into account any condition supplements that are part of the condition record for the price (condition type PR00, for example)You can allow for exceptions where you want to include discounts in spite of the condition exclusion indicator (for a particular discount condition you can specify a requirement that applies the discount ONLY when the indicator is set). Maximum length: 1.

nullable

Optional conditionIsDeleted

conditionIsDeleted: undefined | false | true

Deletion Indicator for Condition Record. Indicates whether the condition is no longer taken into account during document processing. The condition is deleted during the next reorganization run.

nullable

Optional conditionLowerLimit

conditionLowerLimit: BigNumber

Lower limit of the condition rate/amount. Indicates whether, during document processing, the system checks if manual changes fall short of the lower limit allowed for the corresponding condition record. When you maintain the scales in a condition record, the system checks whether the scale value falls below the lower limit.

nullable

Optional conditionQuantity

conditionQuantity: BigNumber

Condition Pricing Unit. The quantity on which the amount or percentage is based. The quantity is expressed in sales units (for example, bottles). You want to create a condition record for a material price of US$8 for 1 piece. You enter "8" in the Rate field, "USD" in the Unit field, and "1" as the condition pricing unit in this field.You create a condition record that gives a fixed discount of $10 to a customer who buys 1000 bottles. In this case, the condition pricing unit is 1000.

nullable

Optional conditionQuantityUnit

conditionQuantityUnit: undefined | string

Condition Unit. Quantity unit to which the condition amount refers. Maximum length: 3.

nullable

Optional conditionRateValue

conditionRateValue: BigNumber

Condition amount or percentage where no scale exists. The rate that determines how the system calculates pricing using this condition. Depending on the condition type, the rate can be a fixed amount or a percentage. If the condition includes a pricing scale, the rate displays the first line of the scale. The following examples illustrate how you can use the rate in different condition types:If you create a condition that includes prices (for example, prices for a material), you enter an amount.If you are creating a condition based on percentage discounts or surcharges (for example, a customer-specific discount), you enter the value of a percentage. If the condition is a discount, the system automatically enters a minus sign behind the amount and a percent sign in the Rate unit field.

nullable

Optional conditionRateValueUnit

conditionRateValueUnit: undefined | string

Condition Unit (Currency or Percentage). The unit that determines whether the condition for a material is based on a percentage or on an amount in a particular currency. The use of the condition unit depends on the condition type (for example, whether the condition is a material price or a customer discount). The following examples illustrate what you can do when using different condition types.If you create a condition that includes prices (for example, prices for a material), you enter the currency that applies to the condition (for example, "USD" for US dollars)If you are creating a condition based on percentage discounts or surcharges (for example, a customer-specific discount), you cannot enter a value in the Condition unit field. Instead, the system automatically enters a percent sign as the condition unit when you enter a value in the Condition Amount field. Maximum length: 5.

nullable

conditionRecord

conditionRecord: string

Number of the Condition Record. Number that uniquely identifies a condition record. The system uses the condition record number to store and retrieve information during processing (pricing, for example). Maximum length: 10.

Optional conditionReleaseStatus

conditionReleaseStatus: undefined | string

Release status. The release status controls in which scenarios the condition records are found. If the status is set at 'B', for example, then the corresponding records are taken into account during a pricing simulation, but are not used in current documents.The release status can only be maintained directly for agreements (sales deals). For condition records, this is done via the processing status for conditions. Maximum length: 1.

nullable

Optional conditionScaleAmount

conditionScaleAmount: BigNumber

Scale value. A value that is part of a pricing scale. The value is an amount in a particular currency.

nullable

Optional conditionScaleAmountCurrency

conditionScaleAmountCurrency: undefined | string

Scale Currency. Specifies a currency for a pricing scale in a condition record. If a pricing scale is based on a value instead of a quantity, you can specify a currency for the value. In the standard version of the SAP System, this field is only relevant in condition records for the following discounts:Price groupPrice group/Material pricing groupYou apply a price group discount to customers in a particular foreign country. When you create a condition record for this discount and enter values in the pricing scale, you can also enter the corresponding foreign currency. During pricing, the system then calculates discounts based on scale values in the foreign currency. The discount amount is then converted into the currency you are using in the sales document.After you enter a currency in this field and save the condition record, you cannot change the currency without deleting the record and creating it again. Maximum length: 5.

nullable

Optional conditionScaleQuantity

conditionScaleQuantity: BigNumber

Condition scale quantity. Scale quantity (for example, number of pieces) to which a scale refers.

nullable

Optional conditionScaleQuantityUnit

conditionScaleQuantityUnit: undefined | string

Condition Scale Unit of Measure. Unit of measure to which the quantity scale refers. Maximum length: 3.

nullable

Optional conditionSequentialNumber

conditionSequentialNumber: undefined | string

Sequential number of the condition. The sequential number that uniquely identifies the condition if a condition supplement exists. If you have assigned a condition supplement to the condition, the system automatically assigns the number. Maximum length: 2.

nullable

Optional conditionTextId

conditionTextId: undefined | string

Number of texts. Maximum length: 10.

nullable

Optional conditionToBaseQtyDnmntr

conditionToBaseQtyDnmntr: BigNumber

Denominator for converting condition units to base units. The denominator of the conversion factor that the system uses to convert condition units into base units of measure. Many material processing functions, such as the creation of production requirements, may require that sales units are converted into base units of measure.You produce a soft-drink in gallons, but sell it in 1 pint bottles. The conversion factor looks like this:8 Pt <=> 1 GThe first number (the denominator) represents the sales units, in this case, pints. The second number (the numerator) represents the equivalent quantity of base units of measure, in this case, gallons.

nullable

Optional conditionToBaseQtyNmrtr

conditionToBaseQtyNmrtr: BigNumber

Numerator for converting condition units to base units. The numerator of the conversion factor that the system uses to convert condition units into base units of measure. Many material processing functions, such as creating production requirements, may require that sales units are converted into base units.You store a soft drink in gallons, but sell it in 1 pint bottles. The conversion factor looks like this:8 Pt <=> 1 GThe first number (the denominator) represents the sales units, in this case, pints. The second number (the numerator) represents the equivalent quantity of base units, in this case, gallons.

nullable

Optional conditionType

conditionType: undefined | string

Condition Type. The key that uniquely identifies the condition. The condition type indicates, for example, whether, during pricing, the system applies a price, a discount, a surcharge, or other pricing elements, such as freight costs and sales taxes. For each of these pricing elements, there is a condition type defined in the system. Maximum length: 4.

nullable

Optional conditionUpperLimit

conditionUpperLimit: BigNumber

Upper limit for the condition rate. Indicates, during document processing, whether a manually entered price exceeds the upper limit allowed for the corresponding condition record and/or the condition type. When you maintain a condition record, the system checks automatically whether the scale value exceeds the upper limit.

nullable

Optional conditionValidityEndDate

conditionValidityEndDate: Moment

Valid To Date. Date indicating up to when an entry is valid.

nullable

Optional conditionValidityStartDate

conditionValidityStartDate: Moment

Valid-From Date. Date indicating as of when an entry is valid.

nullable

Optional createdByUser

createdByUser: undefined | string

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

nullable

Optional creationDate

creationDate: Moment

Date on Which Record Was Created.

nullable

Optional fixedValueDate

fixedValueDate: Moment

Fixed Value Date. The date on which the terms of payment related to the sales document become effective. If you enter a date in this field, you cannot enter a value in the additional value days field.

nullable

Optional incrementalScale

incrementalScale: undefined | string

Number of incremental scale. Maximum length: 4.

nullable

Optional maximumConditionAmount

maximumConditionAmount: BigNumber

Maximum condition value. Specifies the maximum condition value for this condition record. You use this field to limit the use of a particular condition record to a specified total value.You offer a customer a special discount on a certain product but want to limit this discount to a specified total amount. You enter the maximum amount (for example, 1000 USD) in this field. As you process orders that use this condition record, the system updates the cumulative value. When the maximum value is reached, the system automatically deactivates the condition record in subsequent orders.To see the current cumulative value for a particular condition record, you select Details -> Cumulative values in the overview screen of the condition record.

nullable

Optional maximumConditionBasisValue

maximumConditionBasisValue: BigNumber

Maximum condition base value. Specifies the maximum condition base value for this condition record. You use this field to specify a maximum cumulative quantity, weight, or volume for a condition record.You offer a customer a special discount on a certain product but want to limit this discount to a specified total number of cases. You enter the maximum number of cases in this field. As you process orders that use this condition record, the system updates the cumulative quantity. When the maximum quantity is reached, the system automatically deactivates the condition record in subsequent orders.To see the current cumulative condition base value for a particular condition record, you select Extras -> Cumulative values in the overview screen of the condition record.

nullable

Optional minimumConditionBasisValue

minimumConditionBasisValue: BigNumber

Minimum condition base value.

nullable

Optional paymentTerms

paymentTerms: undefined | 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 pricingScaleBasis

pricingScaleBasis: undefined | string

Scale Basis Indicator. Determines how the system interprets a pricing scale in a condition. For example, the scale can be based on quantity, weight, or volume. Maximum length: 1.

nullable

Optional pricingScaleLine

pricingScaleLine: undefined | string

Scale number for pricing. Maximum length: 4.

nullable

Optional pricingScaleType

pricingScaleType: undefined | string

Scale Type. Indicator that controls the validity of the scale value or percentage: From a certain quantity or value (base scale)Up to a certain quantity or value (to-scale)Alternatively, it is possible to work with interval scales. Interval scales must be stored in the condition type, that is, the scale type "interval scale" cannot be changed in the condition record. The reason for this is technical restrictions resulting from the programming within pricing. Maximum length: 1.

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

toPurInfoRecdPrcgCndnValidity

toPurInfoRecdPrcgCndnValidity: PurInfoRecdPrcgCndnValidity[]

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

toPurInfoRecdSuplmntPrcgCndn

toPurInfoRecdSuplmntPrcgCndn: PurInfoRecdSuplmntPrcgCndn[]

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

Static ADDITIONAL_VALUE_DAYS

ADDITIONAL_VALUE_DAYS: StringField<PurInfoRecdPrcgCndn> = new StringField('AdditionalValueDays', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static ALL_FIELDS

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

All fields selector.

Static BASE_UNIT

BASE_UNIT: StringField<PurInfoRecdPrcgCndn> = new StringField('BaseUnit', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CNDN_MAX_NUMBER_OF_SALES_ORDERS

CNDN_MAX_NUMBER_OF_SALES_ORDERS: StringField<PurInfoRecdPrcgCndn> = new StringField('CndnMaxNumberOfSalesOrders', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_ALTERNATIVE_CURRENCY

CONDITION_ALTERNATIVE_CURRENCY: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionAlternativeCurrency', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_APPLICATION

CONDITION_APPLICATION: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionApplication', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_CALCULATION_TYPE

CONDITION_CALCULATION_TYPE: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionCalculationType', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_EXCLUSION

CONDITION_EXCLUSION: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionExclusion', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_IS_DELETED

CONDITION_IS_DELETED: BooleanField<PurInfoRecdPrcgCndn> = new BooleanField('ConditionIsDeleted', PurInfoRecdPrcgCndn, 'Edm.Boolean')

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

Static CONDITION_LOWER_LIMIT

CONDITION_LOWER_LIMIT: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionLowerLimit', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_QUANTITY

CONDITION_QUANTITY: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionQuantity', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_QUANTITY_UNIT

CONDITION_QUANTITY_UNIT: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionQuantityUnit', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_RATE_VALUE

CONDITION_RATE_VALUE: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionRateValue', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_RATE_VALUE_UNIT

CONDITION_RATE_VALUE_UNIT: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionRateValueUnit', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_RECORD

CONDITION_RECORD: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionRecord', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_RELEASE_STATUS

CONDITION_RELEASE_STATUS: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionReleaseStatus', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_SCALE_AMOUNT

CONDITION_SCALE_AMOUNT: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionScaleAmount', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_SCALE_AMOUNT_CURRENCY

CONDITION_SCALE_AMOUNT_CURRENCY: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionScaleAmountCurrency', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_SCALE_QUANTITY

CONDITION_SCALE_QUANTITY: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionScaleQuantity', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_SCALE_QUANTITY_UNIT

CONDITION_SCALE_QUANTITY_UNIT: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionScaleQuantityUnit', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_SEQUENTIAL_NUMBER

CONDITION_SEQUENTIAL_NUMBER: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionSequentialNumber', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_TEXT_ID

CONDITION_TEXT_ID: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionTextID', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_TO_BASE_QTY_DNMNTR

CONDITION_TO_BASE_QTY_DNMNTR: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionToBaseQtyDnmntr', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_TO_BASE_QTY_NMRTR

CONDITION_TO_BASE_QTY_NMRTR: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionToBaseQtyNmrtr', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_TYPE

CONDITION_TYPE: StringField<PurInfoRecdPrcgCndn> = new StringField('ConditionType', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static CONDITION_UPPER_LIMIT

CONDITION_UPPER_LIMIT: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('ConditionUpperLimit', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static CONDITION_VALIDITY_END_DATE

CONDITION_VALIDITY_END_DATE: DateField<PurInfoRecdPrcgCndn> = new DateField('ConditionValidityEndDate', PurInfoRecdPrcgCndn, 'Edm.DateTime')

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

Static CONDITION_VALIDITY_START_DATE

CONDITION_VALIDITY_START_DATE: DateField<PurInfoRecdPrcgCndn> = new DateField('ConditionValidityStartDate', PurInfoRecdPrcgCndn, 'Edm.DateTime')

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

Static CREATED_BY_USER

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

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

Static CREATION_DATE

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

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

Static FIXED_VALUE_DATE

FIXED_VALUE_DATE: DateField<PurInfoRecdPrcgCndn> = new DateField('FixedValueDate', PurInfoRecdPrcgCndn, 'Edm.DateTime')

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

Static INCREMENTAL_SCALE

INCREMENTAL_SCALE: StringField<PurInfoRecdPrcgCndn> = new StringField('IncrementalScale', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static MAXIMUM_CONDITION_AMOUNT

MAXIMUM_CONDITION_AMOUNT: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('MaximumConditionAmount', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static MAXIMUM_CONDITION_BASIS_VALUE

MAXIMUM_CONDITION_BASIS_VALUE: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('MaximumConditionBasisValue', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static MINIMUM_CONDITION_BASIS_VALUE

MINIMUM_CONDITION_BASIS_VALUE: BigNumberField<PurInfoRecdPrcgCndn> = new BigNumberField('MinimumConditionBasisValue', PurInfoRecdPrcgCndn, 'Edm.Decimal')

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

Static PAYMENT_TERMS

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

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

Static PRICING_SCALE_BASIS

PRICING_SCALE_BASIS: StringField<PurInfoRecdPrcgCndn> = new StringField('PricingScaleBasis', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static PRICING_SCALE_LINE

PRICING_SCALE_LINE: StringField<PurInfoRecdPrcgCndn> = new StringField('PricingScaleLine', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static PRICING_SCALE_TYPE

PRICING_SCALE_TYPE: StringField<PurInfoRecdPrcgCndn> = new StringField('PricingScaleType', PurInfoRecdPrcgCndn, 'Edm.String')

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

Static TO_PUR_INFO_RECD_PRCG_CNDN_VALIDITY

TO_PUR_INFO_RECD_PRCG_CNDN_VALIDITY: Link<PurInfoRecdPrcgCndn, PurInfoRecdPrcgCndnValidity> = new Link('to_PurInfoRecdPrcgCndnValidity', PurInfoRecdPrcgCndn, PurInfoRecdPrcgCndnValidity)

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

Static TO_PUR_INFO_RECD_SUPLMNT_PRCG_CNDN

TO_PUR_INFO_RECD_SUPLMNT_PRCG_CNDN: Link<PurInfoRecdPrcgCndn, PurInfoRecdSuplmntPrcgCndn> = new Link('to_PurInfoRecdSuplmntPrcgCndn', PurInfoRecdPrcgCndn, PurInfoRecdSuplmntPrcgCndn)

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

Static _allFields

_allFields: Array<StringField<PurInfoRecdPrcgCndn> | DateField<PurInfoRecdPrcgCndn> | BigNumberField<PurInfoRecdPrcgCndn> | BooleanField<PurInfoRecdPrcgCndn> | Link<PurInfoRecdPrcgCndn, PurInfoRecdPrcgCndnValidity> | Link<PurInfoRecdPrcgCndn, PurInfoRecdSuplmntPrcgCndn>> = [PurInfoRecdPrcgCndn.CONDITION_RECORD,PurInfoRecdPrcgCndn.CONDITION_SEQUENTIAL_NUMBER,PurInfoRecdPrcgCndn.CONDITION_APPLICATION,PurInfoRecdPrcgCndn.CONDITION_TYPE,PurInfoRecdPrcgCndn.CONDITION_VALIDITY_END_DATE,PurInfoRecdPrcgCndn.CONDITION_VALIDITY_START_DATE,PurInfoRecdPrcgCndn.CREATED_BY_USER,PurInfoRecdPrcgCndn.CREATION_DATE,PurInfoRecdPrcgCndn.CONDITION_TEXT_ID,PurInfoRecdPrcgCndn.PRICING_SCALE_TYPE,PurInfoRecdPrcgCndn.PRICING_SCALE_BASIS,PurInfoRecdPrcgCndn.CONDITION_SCALE_QUANTITY,PurInfoRecdPrcgCndn.CONDITION_SCALE_QUANTITY_UNIT,PurInfoRecdPrcgCndn.CONDITION_SCALE_AMOUNT,PurInfoRecdPrcgCndn.CONDITION_SCALE_AMOUNT_CURRENCY,PurInfoRecdPrcgCndn.CONDITION_CALCULATION_TYPE,PurInfoRecdPrcgCndn.CONDITION_RATE_VALUE,PurInfoRecdPrcgCndn.CONDITION_RATE_VALUE_UNIT,PurInfoRecdPrcgCndn.CONDITION_QUANTITY,PurInfoRecdPrcgCndn.CONDITION_QUANTITY_UNIT,PurInfoRecdPrcgCndn.CONDITION_TO_BASE_QTY_NMRTR,PurInfoRecdPrcgCndn.CONDITION_TO_BASE_QTY_DNMNTR,PurInfoRecdPrcgCndn.BASE_UNIT,PurInfoRecdPrcgCndn.CONDITION_LOWER_LIMIT,PurInfoRecdPrcgCndn.CONDITION_UPPER_LIMIT,PurInfoRecdPrcgCndn.CONDITION_ALTERNATIVE_CURRENCY,PurInfoRecdPrcgCndn.CONDITION_EXCLUSION,PurInfoRecdPrcgCndn.CONDITION_IS_DELETED,PurInfoRecdPrcgCndn.ADDITIONAL_VALUE_DAYS,PurInfoRecdPrcgCndn.FIXED_VALUE_DATE,PurInfoRecdPrcgCndn.PAYMENT_TERMS,PurInfoRecdPrcgCndn.CNDN_MAX_NUMBER_OF_SALES_ORDERS,PurInfoRecdPrcgCndn.MINIMUM_CONDITION_BASIS_VALUE,PurInfoRecdPrcgCndn.MAXIMUM_CONDITION_BASIS_VALUE,PurInfoRecdPrcgCndn.MAXIMUM_CONDITION_AMOUNT,PurInfoRecdPrcgCndn.INCREMENTAL_SCALE,PurInfoRecdPrcgCndn.PRICING_SCALE_LINE,PurInfoRecdPrcgCndn.CONDITION_RELEASE_STATUS,PurInfoRecdPrcgCndn.TO_PUR_INFO_RECD_PRCG_CNDN_VALIDITY,PurInfoRecdPrcgCndn.TO_PUR_INFO_RECD_SUPLMNT_PRCG_CNDN]

All fields of the PurInfoRecdPrcgCndn 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_PurInfoRecdPrcgCndn"

Technical entity name for PurInfoRecdPrcgCndn.

Static _keyFields

_keyFields: Array<Selectable<PurInfoRecdPrcgCndn>> = [PurInfoRecdPrcgCndn.CONDITION_RECORD]

All key fields of the PurInfoRecdPrcgCndn entity.

Static _keys

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

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

Type declaration

Static _serviceName

_serviceName: string = "API_INFORECORD_PROCESS_SRV"
deprecated

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

Accessors

versionIdentifier

  • get versionIdentifier(): string
  • ETag version identifier accessor.

    Returns string

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

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.

    deprecated

    Since 1.12.0. Will be removed in version 2.0.

    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 | undefined): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string | undefined

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PurInfoRecdPrcgCndn>

    A builder that constructs instances of entity type PurInfoRecdPrcgCndn.

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, EntityTypeForceMandatoryT>(entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>): EntityBuilderType<EntityT, EntityTypeForceMandatoryT>
  • Type parameters

    • EntityT: Entity

    • EntityTypeForceMandatoryT

    Parameters

    • entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>

    Returns EntityBuilderType<EntityT, EntityTypeForceMandatoryT>

Static requestBuilder

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

    Returns PurInfoRecdPrcgCndnRequestBuilder

    A PurInfoRecdPrcgCndn request builder.