Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_DebitMemoReqPrcgElmnt" of service "API_DEBIT_MEMO_REQUEST_SRV". This service is part of the following communication scenarios: Debit Memo Request Integration (SAP_COM_0159). See https://api.sap.com/api/API_DEBIT_MEMO_REQUEST_SRV for more information.

Hierarchy

  • Entity
    • DebitMemoReqPrcgElmnt

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 accessNumberOfAccessSequence

accessNumberOfAccessSequence: undefined | string

Access sequence - Access number. Indicates the number of the access within the access sequence. Maximum length: 3.

nullable

Optional cndnIsRelevantForIntcoBilling

cndnIsRelevantForIntcoBilling: undefined | false | true

Condition for Intercompany Billing. A condition (KFKIV) that is relevant for intercompany billing.

nullable

Optional cndnIsRelevantForInvoiceList

cndnIsRelevantForInvoiceList: undefined | string

Condition for Invoice List. Indicates that the condition type is relevant for internal costing. Maximum length: 1.

nullable

Optional cndnRoundingOffDiffAmount

cndnRoundingOffDiffAmount: BigNumber

Rounding-Off Difference of the Condition.

nullable

Optional conditionAlternativeCurrency

conditionAlternativeCurrency: undefined | string

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

nullable

Optional conditionAmount

conditionAmount: BigNumber

Condition Value. The value, resulting from pricing, for a particular condition, total, or subtotal in a document. This value is used as a total for the condition in the pricing procedure.

nullable

Optional conditionAmountInLocalCrcy

conditionAmountInLocalCrcy: BigNumber

Condition Value. The value, resulting from pricing, for a particular condition, total, or subtotal in a document. This value is used as a total for the condition in the pricing procedure.

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 conditionBaseValue

conditionBaseValue: BigNumber

Condition Basis Value. The base value that the system uses to calculate pricing for the condition. The condition base value can be one of the following:QuantityWeightVolumeThe system multiplies the condition base value by the rate to produce the total amount for the condition. The total amount appears in the pricing procedure of a sales document.If, for example, you have a condition base value of 100 bottles and a rate of $10 per bottle, the amount for the pricing condition is $1000.

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

nullable

Optional conditionCategory

conditionCategory: undefined | string

Condition Category (Examples: Tax, Freight, Price, Cost). A classification of conditions according to pre-defined categories (for example, all conditions that relate to freight costs). Maximum length: 1.

nullable

Optional conditionClass

conditionClass: undefined | string

Condition Class. Preliminary structuring of condition types, for example, in surcharges and discounts or prices. Allows standardized processing of individual condition classes within the system. Maximum length: 1.

nullable

Optional conditionControl

conditionControl: undefined | string

Condition Control. Indicates whether the prices or values in a condition are fixed or whether and in what way they changed. The indicator shows, for example, if the prices generated by a condition have been changed manually during processing. Maximum length: 1.

nullable

Optional conditionCurrency

conditionCurrency: undefined | string

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

nullable

Optional conditionInactiveReason

conditionInactiveReason: undefined | string

Condition is Inactive. Indicates if the condition is active. A condition can be inactive due to the following reasons:Condition is excludedSubsequent price deactivates conditionFormula deactivates conditionError during pricing. Maximum length: 1.

nullable

Optional conditionIsForConfiguration

conditionIsForConfiguration: undefined | false | true

Condition Used for Variant Configuration. A condition that is relevant for variant configuration.

nullable

Optional conditionIsForStatistics

conditionIsForStatistics: undefined | false | true

Condition is used for statistics. This indicator causes a surcharge or discount to be set in the document statistically (that is, without altering the value).

nullable

Optional conditionIsManuallyChanged

conditionIsManuallyChanged: undefined | false | true

Condition Changed Manually. If this flag is set, the condition has been manually or automatically changed or created (by entry in the condition screen).

nullable

Optional conditionOrigin

conditionOrigin: undefined | string

Origin of the Condition. Indicates where the condition originated (for example, whether you entered the condition manually or whether the system determined it automatically). Maximum length: 1.

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 in the Document. Quantity unit, to which the condition amount or percentage refers. Maximum length: 3.

nullable

Optional conditionRateValue

conditionRateValue: BigNumber

Rate (Amount or Percentage). Determines how the system calculates pricing using this condition. Depending on the condition type, the rate can be an 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 conditionRecord

conditionRecord: undefined | 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.

nullable

Optional conditionScaleBasisCurrency

conditionScaleBasisCurrency: 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 conditionScaleBasisUnit

conditionScaleBasisUnit: undefined | string

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

nullable

Optional conditionScaleBasisValue

conditionScaleBasisValue: BigNumber

Scale Basis Value. The level of the pricing scale that applies to the item. You create a pricing condition based on a simple quantity scale:Quantity Price per unit10 $12100 $111000 $10A sales order item for 150 units qualifies for the $11 price. In this case, the scale base value that determines the price is 100.

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

nullable

Optional conditionToBaseQtyDnmntr

conditionToBaseQtyDnmntr: BigNumber

Denominator for Converting to Base UoM. 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 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 conditionToBaseQtyNmrtr

conditionToBaseQtyNmrtr: BigNumber

Numerator for Converting to Base UoM. 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 cumulatedConditionBasisValue

cumulatedConditionBasisValue: BigNumber

Condition Basis Value. The base value that the system uses to calculate pricing for the condition. The condition base value can be one of the following:QuantityWeightVolumeThe system multiplies the condition base value by the rate to produce the total amount for the condition. The total amount appears in the pricing procedure of a sales document.If, for example, you have a condition base value of 100 bottles and a rate of $10 per bottle, the amount for the pricing condition is $1000.

nullable

debitMemoRequest

debitMemoRequest: string

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

Optional factorForConditionBasisValue

factorForConditionBasisValue: undefined | number

Factor for Condition Base Value.

nullable

Optional isGroupCondition

isGroupCondition: undefined | string

Group Condition. Indicates whether the system calculates the scale base value or the condition value taking all related items of the business document into account. For a group condition to be effective, the items must belong to a group. You can freely define the group to meet the needs of your own organization. The items can, for example, all belong to the same material group.A sales order contains two items. Both items belong to the material group 01.Material Quantity Material groupA 150 01B 100 01The group condition indicator is set in the definition of the condition type for material group discounts. The condition record for material group 01 includes the following pricing scale:Scale quantity Discountfrom 1 pc -1%from 200 pc -2%Neither item alone qualifies for the 2% discount. However, when the items are combined as part of a group condition, the combined quantity creates a basis of 250 pieces. This basis then exceeds the scale value of 200 pieces, which is necessary to qualify for the higher discount. Maximum length: 1.

nullable

Optional isRelevantForAccrual

isRelevantForAccrual: undefined | false | true

Condition is Relevant for Accrual (e.g. Freight). Indicates that the system posts the amounts resulting from this condition to financial accounting as accruals. If you mark this indicator, the condition appears in the document as a statistical condition.

nullable

Optional periodFactorForCndnBasisValue

periodFactorForCndnBasisValue: undefined | number

Factor for Condition Basis (Period).

nullable

Optional prcgProcedureCounterForHeader

prcgProcedureCounterForHeader: undefined | string

Condition Counter (Header). Maximum length: 3.

nullable

Optional pricingDateTime

pricingDateTime: undefined | string

Timestamp for Pricing. Maximum length: 14.

nullable

pricingProcedureCounter

pricingProcedureCounter: string

Condition Counter. Access number of the conditions within a step in the pricing procedure. During automatic pricing, the system takes into account the sequence specified by the counter. Maximum length: 3.

pricingProcedureStep

pricingProcedureStep: string

Step Number. Number that determines the sequence of the condition within a procedure. Maximum length: 3.

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

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

Optional structureCondition

structureCondition: undefined | string

Structure Condition. Controls whether the condition type is a duplicated condition or a cumulated condition. This control is only helpful when you use bill of materials or configurable materials:' ' - None'A' - Duplication Condition: A duplicated condition is duplicated into all assigned items.'B' - Cumulation Condition: A cumulated condition contains the net value of all assigned items. Maximum length: 1.

nullable

Optional taxCode

taxCode: undefined | 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

toDebitMemoRequest

toDebitMemoRequest: DebitMemoRequest

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

Optional transactionCurrency

transactionCurrency: undefined | string

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

nullable

Optional variantCondition

variantCondition: undefined | string

Variant Condition. Maximum length: 26.

nullable

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

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

Optional withholdingTaxCode

withholdingTaxCode: undefined | string

Withholding Tax Code. One or more "withholding tax codes" are assigned to each withholding tax type. One of the things these codes determine is the various percentage rates for the withholding tax type. Note that when processing a business transaction, no more than one withholding tax code can be assigned per withholding tax type. If the business transaction is subject to more than one withholding taxes, these must be represented in the system by defining various withholding tax types. Maximum length: 2.

nullable

Static ACCESS_NUMBER_OF_ACCESS_SEQUENCE

ACCESS_NUMBER_OF_ACCESS_SEQUENCE: StringField<DebitMemoReqPrcgElmnt> = new StringField('AccessNumberOfAccessSequence', DebitMemoReqPrcgElmnt, 'Edm.String')

Static representation of the accessNumberOfAccessSequence 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<DebitMemoReqPrcgElmnt> = new AllFields('*', DebitMemoReqPrcgElmnt)

All fields selector.

Static CNDN_IS_RELEVANT_FOR_INTCO_BILLING

CNDN_IS_RELEVANT_FOR_INTCO_BILLING: BooleanField<DebitMemoReqPrcgElmnt> = new BooleanField('CndnIsRelevantForIntcoBilling', DebitMemoReqPrcgElmnt, 'Edm.Boolean')

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

Static CNDN_IS_RELEVANT_FOR_INVOICE_LIST

CNDN_IS_RELEVANT_FOR_INVOICE_LIST: StringField<DebitMemoReqPrcgElmnt> = new StringField('CndnIsRelevantForInvoiceList', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CNDN_ROUNDING_OFF_DIFF_AMOUNT

CNDN_ROUNDING_OFF_DIFF_AMOUNT: BigNumberField<DebitMemoReqPrcgElmnt> = new BigNumberField('CndnRoundingOffDiffAmount', DebitMemoReqPrcgElmnt, 'Edm.Decimal')

Static representation of the cndnRoundingOffDiffAmount 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<DebitMemoReqPrcgElmnt> = new StringField('ConditionAlternativeCurrency', DebitMemoReqPrcgElmnt, '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_AMOUNT

CONDITION_AMOUNT: BigNumberField<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionAmount', DebitMemoReqPrcgElmnt, 'Edm.Decimal')

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

Static CONDITION_AMOUNT_IN_LOCAL_CRCY

CONDITION_AMOUNT_IN_LOCAL_CRCY: BigNumberField<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionAmountInLocalCrcy', DebitMemoReqPrcgElmnt, 'Edm.Decimal')

Static representation of the conditionAmountInLocalCrcy 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<DebitMemoReqPrcgElmnt> = new StringField('ConditionApplication', DebitMemoReqPrcgElmnt, '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_BASE_VALUE

CONDITION_BASE_VALUE: BigNumberField<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionBaseValue', DebitMemoReqPrcgElmnt, 'Edm.Decimal')

Static representation of the conditionBaseValue 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<DebitMemoReqPrcgElmnt> = new StringField('ConditionCalculationType', DebitMemoReqPrcgElmnt, '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_CATEGORY

CONDITION_CATEGORY: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionCategory', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CONDITION_CLASS

CONDITION_CLASS: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionClass', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CONDITION_CONTROL

CONDITION_CONTROL: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionControl', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CONDITION_CURRENCY

CONDITION_CURRENCY: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionCurrency', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CONDITION_INACTIVE_REASON

CONDITION_INACTIVE_REASON: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionInactiveReason', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CONDITION_IS_FOR_CONFIGURATION

CONDITION_IS_FOR_CONFIGURATION: BooleanField<DebitMemoReqPrcgElmnt> = new BooleanField('ConditionIsForConfiguration', DebitMemoReqPrcgElmnt, 'Edm.Boolean')

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

Static CONDITION_IS_FOR_STATISTICS

CONDITION_IS_FOR_STATISTICS: BooleanField<DebitMemoReqPrcgElmnt> = new BooleanField('ConditionIsForStatistics', DebitMemoReqPrcgElmnt, 'Edm.Boolean')

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

Static CONDITION_IS_MANUALLY_CHANGED

CONDITION_IS_MANUALLY_CHANGED: BooleanField<DebitMemoReqPrcgElmnt> = new BooleanField('ConditionIsManuallyChanged', DebitMemoReqPrcgElmnt, 'Edm.Boolean')

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

Static CONDITION_ORIGIN

CONDITION_ORIGIN: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionOrigin', DebitMemoReqPrcgElmnt, 'Edm.String')

Static representation of the conditionOrigin 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<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionQuantity', DebitMemoReqPrcgElmnt, '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<DebitMemoReqPrcgElmnt> = new StringField('ConditionQuantityUnit', DebitMemoReqPrcgElmnt, '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<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionRateValue', DebitMemoReqPrcgElmnt, '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_RECORD

CONDITION_RECORD: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionRecord', DebitMemoReqPrcgElmnt, '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_SCALE_BASIS_CURRENCY

CONDITION_SCALE_BASIS_CURRENCY: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionScaleBasisCurrency', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CONDITION_SCALE_BASIS_UNIT

CONDITION_SCALE_BASIS_UNIT: StringField<DebitMemoReqPrcgElmnt> = new StringField('ConditionScaleBasisUnit', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static CONDITION_SCALE_BASIS_VALUE

CONDITION_SCALE_BASIS_VALUE: BigNumberField<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionScaleBasisValue', DebitMemoReqPrcgElmnt, 'Edm.Decimal')

Static representation of the conditionScaleBasisValue 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<DebitMemoReqPrcgElmnt> = new StringField('ConditionSequentialNumber', DebitMemoReqPrcgElmnt, '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_TO_BASE_QTY_DNMNTR

CONDITION_TO_BASE_QTY_DNMNTR: BigNumberField<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionToBaseQtyDnmntr', DebitMemoReqPrcgElmnt, '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<DebitMemoReqPrcgElmnt> = new BigNumberField('ConditionToBaseQtyNmrtr', DebitMemoReqPrcgElmnt, '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<DebitMemoReqPrcgElmnt> = new StringField('ConditionType', DebitMemoReqPrcgElmnt, '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 CUMULATED_CONDITION_BASIS_VALUE

CUMULATED_CONDITION_BASIS_VALUE: BigNumberField<DebitMemoReqPrcgElmnt> = new BigNumberField('CumulatedConditionBasisValue', DebitMemoReqPrcgElmnt, 'Edm.Decimal')

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

Static DEBIT_MEMO_REQUEST

DEBIT_MEMO_REQUEST: StringField<DebitMemoReqPrcgElmnt> = new StringField('DebitMemoRequest', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static FACTOR_FOR_CONDITION_BASIS_VALUE

FACTOR_FOR_CONDITION_BASIS_VALUE: NumberField<DebitMemoReqPrcgElmnt> = new NumberField('FactorForConditionBasisValue', DebitMemoReqPrcgElmnt, 'Edm.Double')

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

Static IS_GROUP_CONDITION

IS_GROUP_CONDITION: StringField<DebitMemoReqPrcgElmnt> = new StringField('IsGroupCondition', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static IS_RELEVANT_FOR_ACCRUAL

IS_RELEVANT_FOR_ACCRUAL: BooleanField<DebitMemoReqPrcgElmnt> = new BooleanField('IsRelevantForAccrual', DebitMemoReqPrcgElmnt, 'Edm.Boolean')

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

Static PERIOD_FACTOR_FOR_CNDN_BASIS_VALUE

PERIOD_FACTOR_FOR_CNDN_BASIS_VALUE: NumberField<DebitMemoReqPrcgElmnt> = new NumberField('PeriodFactorForCndnBasisValue', DebitMemoReqPrcgElmnt, 'Edm.Double')

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

Static PRCG_PROCEDURE_COUNTER_FOR_HEADER

PRCG_PROCEDURE_COUNTER_FOR_HEADER: StringField<DebitMemoReqPrcgElmnt> = new StringField('PrcgProcedureCounterForHeader', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static PRICING_DATE_TIME

PRICING_DATE_TIME: StringField<DebitMemoReqPrcgElmnt> = new StringField('PricingDateTime', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static PRICING_PROCEDURE_COUNTER

PRICING_PROCEDURE_COUNTER: StringField<DebitMemoReqPrcgElmnt> = new StringField('PricingProcedureCounter', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static PRICING_PROCEDURE_STEP

PRICING_PROCEDURE_STEP: StringField<DebitMemoReqPrcgElmnt> = new StringField('PricingProcedureStep', DebitMemoReqPrcgElmnt, 'Edm.String')

Static representation of the pricingProcedureStep 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<DebitMemoReqPrcgElmnt> = new StringField('PricingScaleBasis', DebitMemoReqPrcgElmnt, '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_TYPE

PRICING_SCALE_TYPE: StringField<DebitMemoReqPrcgElmnt> = new StringField('PricingScaleType', DebitMemoReqPrcgElmnt, '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 STRUCTURE_CONDITION

STRUCTURE_CONDITION: StringField<DebitMemoReqPrcgElmnt> = new StringField('StructureCondition', DebitMemoReqPrcgElmnt, 'Edm.String')

Static representation of the structureCondition 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<DebitMemoReqPrcgElmnt> = new StringField('TaxCode', DebitMemoReqPrcgElmnt, '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_DEBIT_MEMO_REQUEST

TO_DEBIT_MEMO_REQUEST: OneToOneLink<DebitMemoReqPrcgElmnt, DebitMemoRequest> = new OneToOneLink('to_DebitMemoRequest', DebitMemoReqPrcgElmnt, DebitMemoRequest)

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

Static TRANSACTION_CURRENCY

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

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

Static VARIANT_CONDITION

VARIANT_CONDITION: StringField<DebitMemoReqPrcgElmnt> = new StringField('VariantCondition', DebitMemoReqPrcgElmnt, 'Edm.String')

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

Static WITHHOLDING_TAX_CODE

WITHHOLDING_TAX_CODE: StringField<DebitMemoReqPrcgElmnt> = new StringField('WithholdingTaxCode', DebitMemoReqPrcgElmnt, 'Edm.String')

Static representation of the withholdingTaxCode 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<DebitMemoReqPrcgElmnt> | BigNumberField<DebitMemoReqPrcgElmnt> | BooleanField<DebitMemoReqPrcgElmnt> | NumberField<DebitMemoReqPrcgElmnt> | OneToOneLink<DebitMemoReqPrcgElmnt, DebitMemoRequest>> = [DebitMemoReqPrcgElmnt.DEBIT_MEMO_REQUEST,DebitMemoReqPrcgElmnt.PRICING_PROCEDURE_STEP,DebitMemoReqPrcgElmnt.PRICING_PROCEDURE_COUNTER,DebitMemoReqPrcgElmnt.CONDITION_APPLICATION,DebitMemoReqPrcgElmnt.CONDITION_TYPE,DebitMemoReqPrcgElmnt.PRICING_DATE_TIME,DebitMemoReqPrcgElmnt.CONDITION_CALCULATION_TYPE,DebitMemoReqPrcgElmnt.CONDITION_BASE_VALUE,DebitMemoReqPrcgElmnt.CONDITION_RATE_VALUE,DebitMemoReqPrcgElmnt.CONDITION_CURRENCY,DebitMemoReqPrcgElmnt.CONDITION_QUANTITY,DebitMemoReqPrcgElmnt.CONDITION_QUANTITY_UNIT,DebitMemoReqPrcgElmnt.CONDITION_TO_BASE_QTY_NMRTR,DebitMemoReqPrcgElmnt.CONDITION_TO_BASE_QTY_DNMNTR,DebitMemoReqPrcgElmnt.CONDITION_CATEGORY,DebitMemoReqPrcgElmnt.CONDITION_IS_FOR_STATISTICS,DebitMemoReqPrcgElmnt.PRICING_SCALE_TYPE,DebitMemoReqPrcgElmnt.IS_RELEVANT_FOR_ACCRUAL,DebitMemoReqPrcgElmnt.CNDN_IS_RELEVANT_FOR_INVOICE_LIST,DebitMemoReqPrcgElmnt.CONDITION_ORIGIN,DebitMemoReqPrcgElmnt.IS_GROUP_CONDITION,DebitMemoReqPrcgElmnt.ACCESS_NUMBER_OF_ACCESS_SEQUENCE,DebitMemoReqPrcgElmnt.CONDITION_RECORD,DebitMemoReqPrcgElmnt.CONDITION_SEQUENTIAL_NUMBER,DebitMemoReqPrcgElmnt.TAX_CODE,DebitMemoReqPrcgElmnt.WITHHOLDING_TAX_CODE,DebitMemoReqPrcgElmnt.CNDN_ROUNDING_OFF_DIFF_AMOUNT,DebitMemoReqPrcgElmnt.CONDITION_AMOUNT,DebitMemoReqPrcgElmnt.TRANSACTION_CURRENCY,DebitMemoReqPrcgElmnt.CONDITION_CONTROL,DebitMemoReqPrcgElmnt.CONDITION_INACTIVE_REASON,DebitMemoReqPrcgElmnt.CONDITION_CLASS,DebitMemoReqPrcgElmnt.PRCG_PROCEDURE_COUNTER_FOR_HEADER,DebitMemoReqPrcgElmnt.FACTOR_FOR_CONDITION_BASIS_VALUE,DebitMemoReqPrcgElmnt.STRUCTURE_CONDITION,DebitMemoReqPrcgElmnt.PERIOD_FACTOR_FOR_CNDN_BASIS_VALUE,DebitMemoReqPrcgElmnt.PRICING_SCALE_BASIS,DebitMemoReqPrcgElmnt.CONDITION_SCALE_BASIS_VALUE,DebitMemoReqPrcgElmnt.CONDITION_SCALE_BASIS_UNIT,DebitMemoReqPrcgElmnt.CONDITION_SCALE_BASIS_CURRENCY,DebitMemoReqPrcgElmnt.CONDITION_ALTERNATIVE_CURRENCY,DebitMemoReqPrcgElmnt.CONDITION_AMOUNT_IN_LOCAL_CRCY,DebitMemoReqPrcgElmnt.CNDN_IS_RELEVANT_FOR_INTCO_BILLING,DebitMemoReqPrcgElmnt.CONDITION_IS_MANUALLY_CHANGED,DebitMemoReqPrcgElmnt.CUMULATED_CONDITION_BASIS_VALUE,DebitMemoReqPrcgElmnt.CONDITION_IS_FOR_CONFIGURATION,DebitMemoReqPrcgElmnt.VARIANT_CONDITION,DebitMemoReqPrcgElmnt.TO_DEBIT_MEMO_REQUEST]

All fields of the DebitMemoReqPrcgElmnt entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_DebitMemoReqPrcgElmnt"

Technical entity name for DebitMemoReqPrcgElmnt.

Static _keyFields

_keyFields: Array<Selectable<DebitMemoReqPrcgElmnt>> = [DebitMemoReqPrcgElmnt.DEBIT_MEMO_REQUEST, DebitMemoReqPrcgElmnt.PRICING_PROCEDURE_STEP, DebitMemoReqPrcgElmnt.PRICING_PROCEDURE_COUNTER]

All key fields of the DebitMemoReqPrcgElmnt entity.

Static _keys

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

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

Type declaration

Static _serviceName

_serviceName: string = "API_DEBIT_MEMO_REQUEST_SRV"
deprecated

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

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<DebitMemoReqPrcgElmnt>

    A builder that constructs instances of entity type DebitMemoReqPrcgElmnt.

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

    Returns DebitMemoReqPrcgElmntRequestBuilder

    A DebitMemoReqPrcgElmnt request builder.