cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing with quantity dependency and variant configuration ?

Former Member
0 Kudos

Hi all,

For some options (characteristic value) of my configuration I have to specify a quantity (let's say for example 1, 2, 3 or 4). In this case I create a copy of the characteristic just for quantity.

Characteristic: 'A' (char, single value)

Characteristic value 'a1', 'a2'

Characteristic: 'A_QTY'

Characteristic value: (num, additional value)

I have one variant condition for each option in vk30 ('vc-a1' and 'vc-a2'), I maintain the price of the option with quantity 1 in vk12 ('vc-a1' = 100 and 'vc-a2' = 200).

using a procedure and the object characteristic SDCOM_VKOND I can link the variant condition and the option which don't have a quantity dependency. But what about the option with a quantity such as 'a1' and 'a2' ?

I tried to use $set_pricing_factor but without success

I used the following coding:

$SET_PRICING_FACTOR ($SELF, SDCOM_VKOND, 'vc-a1', A_QTY) IF SPECIFIED A

Any idea ?

Thank you for your help

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Carsten

Have u maintained for eg. like this:

$self.Z_price='comp1'

Check it. Even if u have given any same space it willnot accept.

Regards

Message was edited by:

narendran vajravelu

Former Member
0 Kudos

Hi,

thank you for your post. What is $self.Z_price='comp1' refering to ? what is the characteristic Z_price ?

Regards,

Former Member
0 Kudos

for usual options without a quantity the code I wrote looks like this:

$self.SDCOM_VKOND = 'vc-a1' IF $self.A = 'a1'

Former Member
0 Kudos

Hi

For the Characteristic pricing Table name:SDCOM and field name VKOND the values are updated.You need write code E.g.,

$self.Z_pricing = 'A_1' if $self. Z_finish = 'A_1

Here Z_pricing is the characteristics maintained for pricing

Z_finish is the characterstics where the components A_1 is maintained

Hope this will get some picture

Regards

Ramesh

Former Member
0 Kudos

Hi,

thanks for your answer but I think that s already what I m doing (see my previous post with the usual coding I use).

I have no problem to configure and get the price for option without a quantity to specify. My problem is with the quantity : how to take into account the quantity, chosen during the configuration, in the process of calculating the price.

Thank you.