public static final class BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder extends Object
@Nonnull public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder billingDocument(BillingDocument value)
value
- The BillingDocument to build this BillingDocumentPrcgElmnt with.@Nonnull public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder billingDocument(String value)
Original property name from the Odata EDM: BillingDocument
value
- The billingDocument to build this BillingDocumentPrcgElmnt with.public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder pricingProcedureStep(@Nullable String pricingProcedureStep)
Original property name from the Odata EDM: PricingProcedureStep
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder pricingProcedureCounter(@Nullable String pricingProcedureCounter)
Original property name from the Odata EDM: PricingProcedureCounter
During automatic pricing, the system takes into account the sequence specified by the counter.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionType(@Nullable String conditionType)
Original property name from the Odata EDM: ConditionType
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.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder pricingDateTime(@Nullable String pricingDateTime)
Original property name from the Odata EDM: PricingDateTime
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionCalculationType(@Nullable String conditionCalculationType)
Original property name from the Odata EDM: ConditionCalculationType
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.
system can calculate a price as a fixed amount or as a percentage based on quantity, volume, or weight.public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionBaseValue(@Nullable BigDecimal conditionBaseValue)
Original property name from the Odata EDM: ConditionBaseValue
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.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionRateValue(@Nullable BigDecimal conditionRateValue)
Original property name from the Odata EDM: ConditionRateValue
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.
rate can be an amount or a percentage. If the condition includes a pricing scale, the rate displays the first line of the scale.public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionCurrency(@Nullable String conditionCurrency)
Original property name from the Odata EDM: ConditionCurrency
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionQuantity(@Nullable BigDecimal conditionQuantity)
Original property name from the Odata EDM: ConditionQuantity
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.
example, bottles).public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionQuantityUnit(@Nullable String conditionQuantityUnit)
Original property name from the Odata EDM: ConditionQuantityUnit
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionCategory(@Nullable String conditionCategory)
Original property name from the Odata EDM: ConditionCategory
relate to freight costs).public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionIsForStatistics(@Nullable Boolean conditionIsForStatistics)
Original property name from the Odata EDM: ConditionIsForStatistics
altering the value).public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder pricingScaleType(@Nullable String pricingScaleType)
Original property name from the Odata EDM: PricingScaleType
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.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionOrigin(@Nullable String conditionOrigin)
Original property name from the Odata EDM: ConditionOrigin
whether the system determined it automatically).public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder isGroupCondition(@Nullable String isGroupCondition)
Original property name from the Odata EDM: IsGroupCondition
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.
items of the business document into account.public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionRecord(@Nullable String conditionRecord)
Original property name from the Odata EDM: ConditionRecord
The system uses the condition record number to store and retrieve information during processing (pricing, for example).
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionSequentialNumber(@Nullable String conditionSequentialNumber)
Original property name from the Odata EDM: ConditionSequentialNumber
If you have assigned a condition supplement to the condition, the system automatically assigns the number.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder taxCode(@Nullable String taxCode)
Original property name from the Odata EDM: TaxCode
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.
the tax authorities.public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder withholdingTaxCode(@Nullable String withholdingTaxCode)
Original property name from the Odata EDM: WithholdingTaxCode
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.
codes determine is the various percentage rates for the withholding tax type.public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder cndnRoundingOffDiffAmount(@Nullable BigDecimal cndnRoundingOffDiffAmount)
Original property name from the Odata EDM: CndnRoundingOffDiffAmount
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionAmount(@Nullable BigDecimal conditionAmount)
Original property name from the Odata EDM: ConditionAmount
This value is used as a total for the condition in the pricing procedure.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder transactionCurrency(@Nullable String transactionCurrency)
Original property name from the Odata EDM: TransactionCurrency
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.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionControl(@Nullable String conditionControl)
Original property name from the Odata EDM: ConditionControl
The indicator shows, for example, if the prices generated by a condition have been changed manually during processing.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionInactiveReason(@Nullable String conditionInactiveReason)
Original property name from the Odata EDM: ConditionInactiveReason
A condition can be inactive due to the following reasons:Condition is excludedSubsequent price deactivates conditionFormula deactivates conditionError during pricing
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionClass(@Nullable String conditionClass)
Original property name from the Odata EDM: ConditionClass
Allows standardized processing of individual condition classes within the system.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder prcgProcedureCounterForHeader(@Nullable String prcgProcedureCounterForHeader)
Original property name from the Odata EDM: PrcgProcedureCounterForHeader
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder factorForConditionBasisValue(@Nullable Double factorForConditionBasisValue)
Original property name from the Odata EDM: FactorForConditionBasisValue
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder structureCondition(@Nullable String structureCondition)
Original property name from the Odata EDM: StructureCondition
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.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder periodFactorForCndnBasisValue(@Nullable Double periodFactorForCndnBasisValue)
Original property name from the Odata EDM: PeriodFactorForCndnBasisValue
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder pricingScaleBasis(@Nullable String pricingScaleBasis)
Original property name from the Odata EDM: PricingScaleBasis
on quantity, weight, or volume.public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionScaleBasisValue(@Nullable BigDecimal conditionScaleBasisValue)
Original property name from the Odata EDM: ConditionScaleBasisValue
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.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionScaleBasisUnit(@Nullable String conditionScaleBasisUnit)
Original property name from the Odata EDM: ConditionScaleBasisUnit
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionScaleBasisCurrency(@Nullable String conditionScaleBasisCurrency)
Original property name from the Odata EDM: ConditionScaleBasisCurrency
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.
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder cndnIsRelevantForIntcoBilling(@Nullable Boolean cndnIsRelevantForIntcoBilling)
Original property name from the Odata EDM: CndnIsRelevantForIntcoBilling
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionIsManuallyChanged(@Nullable Boolean conditionIsManuallyChanged)
Original property name from the Odata EDM: ConditionIsManuallyChanged
condition screen).public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder conditionIsForConfiguration(@Nullable Boolean conditionIsForConfiguration)
Original property name from the Odata EDM: ConditionIsForConfiguration
public BillingDocumentPrcgElmnt.BillingDocumentPrcgElmntBuilder variantCondition(@Nullable String variantCondition)
Original property name from the Odata EDM: VariantCondition
To model the price for a variant of a configurable material, you typically use a larger number of variant condition keys.In a business document, the price for a selected variant is realized as surcharges and discounts specific for this variant: The sales price of a bike depends on the material that is used to produce the frame. You define a characteristic FRAME_MATERIAL that can have the values steel, aluminum, and carbon with the following surcharges:Steel: 0.0 USD per pieceAluminum: + 300 USD per pieceCarbon: + 1000 USD per pieceYou define three different variant condition keys FRAME_STEEL, FRAME_ALU, and FRAME_CARBON and maintain the above-mentioned surcharges as condition records. During order creation, you select the variant of the bike with the carbon frame. This will lead to a surcharge of 1000 USD that corresponds to the variant condition key FRAME_CARBON.
public BillingDocumentPrcgElmnt build()
Copyright © 2019 SAP SE. All rights reserved.