on 10-11-2007 2:54 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.