Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SlsPrcgCndnRecdSuplmnt" of service "API_SLSPRICINGCONDITIONRECORD_SRV". This service is part of the following communication scenarios: Pricing Data Integration (SAP_COM_0294). See https://api.sap.com/api/API_SLSPRICINGCONDITIONRECORD_SRV for more information.

Hierarchy

  • Entity
    • SlsPrcgCndnRecdSuplmnt

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 additionalValueDays

additionalValueDays: 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: 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: 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: string

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

nullable

Optional conditionApplication

conditionApplication: 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: 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: 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: boolean

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

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

nullable

conditionSequentialNumber

conditionSequentialNumber: 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.

Optional conditionTable

conditionTable: string

Condition Table. Maximum length: 3.

nullable

Optional conditionTextId

conditionTextId: 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: 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: string

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

nullable

Optional creationDate

creationDate: Moment

Date on Which Record Was Created.

nullable

Optional eTag

eTag: string

E Tag. Maximum length: 40.

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

Scale number for pricing. Maximum length: 4.

nullable

Optional pricingScaleType

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

toSlsPrcgCndnRecdValidity

toSlsPrcgCndnRecdValidity: SlsPrcgCndnRecdValidity[]

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

toSlsPrcgCndnRecordScale

toSlsPrcgCndnRecordScale: SlsPrcgCndnRecordScale[]

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

toSlsPrcgConditionRecord

toSlsPrcgConditionRecord: SlsPrcgConditionRecord

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

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

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

Static ADDITIONAL_VALUE_DAYS

ADDITIONAL_VALUE_DAYS: StringField<SlsPrcgCndnRecdSuplmnt> = new StringField('AdditionalValueDays', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new AllFields('*', SlsPrcgCndnRecdSuplmnt)

All fields selector.

Static BASE_UNIT

BASE_UNIT: StringField<SlsPrcgCndnRecdSuplmnt> = new StringField('BaseUnit', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('CndnMaxNumberOfSalesOrders', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionAlternativeCurrency', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionApplication', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionCalculationType', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionExclusion', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BooleanField('ConditionIsDeleted', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionLowerLimit', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionQuantity', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionQuantityUnit', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionRateValue', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionRateValueUnit', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionRecord', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionReleaseStatus', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionScaleAmount', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionScaleAmountCurrency', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionScaleQuantity', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionScaleQuantityUnit', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionSequentialNumber', SlsPrcgCndnRecdSuplmnt, '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_TABLE

CONDITION_TABLE: StringField<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionTable', SlsPrcgCndnRecdSuplmnt, 'Edm.String')

Static representation of the conditionTable 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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionTextID', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionToBaseQtyDnmntr', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionToBaseQtyNmrtr', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('ConditionType', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('ConditionUpperLimit', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new DateField('ConditionValidityEndDate', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new DateField('ConditionValidityStartDate', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('CreatedByUser', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new DateField('CreationDate', SlsPrcgCndnRecdSuplmnt, '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 E_TAG

E_TAG: StringField<SlsPrcgCndnRecdSuplmnt> = new StringField('ETag', SlsPrcgCndnRecdSuplmnt, 'Edm.String')

Static representation of the eTag 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<SlsPrcgCndnRecdSuplmnt> = new DateField('FixedValueDate', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('IncrementalScale', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('MaximumConditionAmount', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('MaximumConditionBasisValue', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new BigNumberField('MinimumConditionBasisValue', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('PaymentTerms', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('PricingScaleBasis', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('PricingScaleLine', SlsPrcgCndnRecdSuplmnt, '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<SlsPrcgCndnRecdSuplmnt> = new StringField('PricingScaleType', SlsPrcgCndnRecdSuplmnt, '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_SLS_PRCG_CNDN_RECD_VALIDITY

TO_SLS_PRCG_CNDN_RECD_VALIDITY: Link<SlsPrcgCndnRecdSuplmnt, SlsPrcgCndnRecdValidity> = new Link('to_SlsPrcgCndnRecdValidity', SlsPrcgCndnRecdSuplmnt, SlsPrcgCndnRecdValidity)

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

Static TO_SLS_PRCG_CNDN_RECORD_SCALE

TO_SLS_PRCG_CNDN_RECORD_SCALE: Link<SlsPrcgCndnRecdSuplmnt, SlsPrcgCndnRecordScale> = new Link('to_SlsPrcgCndnRecordScale', SlsPrcgCndnRecdSuplmnt, SlsPrcgCndnRecordScale)

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

Static TO_SLS_PRCG_CONDITION_RECORD

TO_SLS_PRCG_CONDITION_RECORD: OneToOneLink<SlsPrcgCndnRecdSuplmnt, SlsPrcgConditionRecord> = new OneToOneLink('to_SlsPrcgConditionRecord', SlsPrcgCndnRecdSuplmnt, SlsPrcgConditionRecord)

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

Static _allFields

_allFields: Array<StringField<SlsPrcgCndnRecdSuplmnt> | DateField<SlsPrcgCndnRecdSuplmnt> | BigNumberField<SlsPrcgCndnRecdSuplmnt> | BooleanField<SlsPrcgCndnRecdSuplmnt> | Link<SlsPrcgCndnRecdSuplmnt, SlsPrcgCndnRecdValidity> | Link<SlsPrcgCndnRecdSuplmnt, SlsPrcgCndnRecordScale> | OneToOneLink<SlsPrcgCndnRecdSuplmnt, SlsPrcgConditionRecord>> = [SlsPrcgCndnRecdSuplmnt.CONDITION_RECORD,SlsPrcgCndnRecdSuplmnt.CONDITION_SEQUENTIAL_NUMBER,SlsPrcgCndnRecdSuplmnt.CONDITION_TABLE,SlsPrcgCndnRecdSuplmnt.CONDITION_APPLICATION,SlsPrcgCndnRecdSuplmnt.CONDITION_TYPE,SlsPrcgCndnRecdSuplmnt.CONDITION_VALIDITY_END_DATE,SlsPrcgCndnRecdSuplmnt.CONDITION_VALIDITY_START_DATE,SlsPrcgCndnRecdSuplmnt.CREATED_BY_USER,SlsPrcgCndnRecdSuplmnt.CREATION_DATE,SlsPrcgCndnRecdSuplmnt.CONDITION_TEXT_ID,SlsPrcgCndnRecdSuplmnt.PRICING_SCALE_TYPE,SlsPrcgCndnRecdSuplmnt.PRICING_SCALE_BASIS,SlsPrcgCndnRecdSuplmnt.CONDITION_SCALE_QUANTITY,SlsPrcgCndnRecdSuplmnt.CONDITION_SCALE_QUANTITY_UNIT,SlsPrcgCndnRecdSuplmnt.CONDITION_SCALE_AMOUNT,SlsPrcgCndnRecdSuplmnt.CONDITION_SCALE_AMOUNT_CURRENCY,SlsPrcgCndnRecdSuplmnt.CONDITION_CALCULATION_TYPE,SlsPrcgCndnRecdSuplmnt.CONDITION_RATE_VALUE,SlsPrcgCndnRecdSuplmnt.CONDITION_RATE_VALUE_UNIT,SlsPrcgCndnRecdSuplmnt.CONDITION_QUANTITY,SlsPrcgCndnRecdSuplmnt.CONDITION_QUANTITY_UNIT,SlsPrcgCndnRecdSuplmnt.CONDITION_TO_BASE_QTY_NMRTR,SlsPrcgCndnRecdSuplmnt.CONDITION_TO_BASE_QTY_DNMNTR,SlsPrcgCndnRecdSuplmnt.BASE_UNIT,SlsPrcgCndnRecdSuplmnt.CONDITION_LOWER_LIMIT,SlsPrcgCndnRecdSuplmnt.CONDITION_UPPER_LIMIT,SlsPrcgCndnRecdSuplmnt.CONDITION_ALTERNATIVE_CURRENCY,SlsPrcgCndnRecdSuplmnt.CONDITION_EXCLUSION,SlsPrcgCndnRecdSuplmnt.CONDITION_IS_DELETED,SlsPrcgCndnRecdSuplmnt.ADDITIONAL_VALUE_DAYS,SlsPrcgCndnRecdSuplmnt.FIXED_VALUE_DATE,SlsPrcgCndnRecdSuplmnt.PAYMENT_TERMS,SlsPrcgCndnRecdSuplmnt.CNDN_MAX_NUMBER_OF_SALES_ORDERS,SlsPrcgCndnRecdSuplmnt.MINIMUM_CONDITION_BASIS_VALUE,SlsPrcgCndnRecdSuplmnt.MAXIMUM_CONDITION_BASIS_VALUE,SlsPrcgCndnRecdSuplmnt.MAXIMUM_CONDITION_AMOUNT,SlsPrcgCndnRecdSuplmnt.INCREMENTAL_SCALE,SlsPrcgCndnRecdSuplmnt.PRICING_SCALE_LINE,SlsPrcgCndnRecdSuplmnt.CONDITION_RELEASE_STATUS,SlsPrcgCndnRecdSuplmnt.E_TAG,SlsPrcgCndnRecdSuplmnt.TO_SLS_PRCG_CNDN_RECD_VALIDITY,SlsPrcgCndnRecdSuplmnt.TO_SLS_PRCG_CNDN_RECORD_SCALE,SlsPrcgCndnRecdSuplmnt.TO_SLS_PRCG_CONDITION_RECORD]

All fields of the SlsPrcgCndnRecdSuplmnt entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SlsPrcgCndnRecdSuplmnt"

Technical entity name for SlsPrcgCndnRecdSuplmnt.

Static _keyFields

_keyFields: Array<Selectable<SlsPrcgCndnRecdSuplmnt>> = [SlsPrcgCndnRecdSuplmnt.CONDITION_RECORD, SlsPrcgCndnRecdSuplmnt.CONDITION_SEQUENTIAL_NUMBER]

All key fields of the SlsPrcgCndnRecdSuplmnt entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_SLSPRICINGCONDITIONRECORD_SRV"
deprecated

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

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SlsPrcgCndnRecdSuplmnt>

    A builder that constructs instances of entity type SlsPrcgCndnRecdSuplmnt.

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

    Returns SlsPrcgCndnRecdSuplmntRequestBuilder

    A SlsPrcgCndnRecdSuplmnt request builder.