on 2023 May 30 10:28 AM
Hi
I have a requirement, whereby, when a field user performs a survey they determine a 'loading' on the network, which is any value (including decimals) between 1 & 20.
This will be entered as a characteristic within the quotation to work out a particular charge.
It's a simple calculation of CHARACTERISTIC X CONDITION BASE VALUE, exmaple:
Loading = 2.4 X CBV = £100 = £240 total
The loading is fixed and is based on a survey, so is dynamic for each survey. Seems a simple syntax using PRICING_FACTOR, but lord knows can I not work it out! Don't want to use a custom routine.
What would the syntax be in this dynamic PRICING_FACTOR scenario?
Any help would be greatly appreciated.
Many thanks
Request clarification before answering.
Hi prob441.
Let's say you have defined variant condition key CBV with transaction VK30 or PMEVC and you have maintained a surcharge of £100 for that key through tx. VK11 e.g. for condition type VA00 in ERP or 0VA0 in S/4.
You have a multi-value reference cstic CH_SDCOM_VKOND that points to structure SDCOM-VKOND.
You have a single-value numeric cstic CH_PRICE_FACTOR with some pricing factor between 1 and 20, e.g. 2.4, that you want to apply.
Then, the following should do the job in a VC procedure:
$self.CH_SDCOM_VKOND = 'CBV',
$SET_PRICING_FACTOR($SELF, CH_SDCOM_VKOND,'CBV',$self.CH_PRICE_FACTOR)
Configurator then returns the variant condition key with the factor in configuration results and pricing will apply the factor when finding the condition record of £100.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yoganandamuthaiah
Thanks for the above.
Couple of questions:
1. How does one add a characteristic into a pricing procedure? It's expecting a condition type, not a characteristic.
2. What would syntax be between the condition type and characterstic?
3. What do you mean 'Dynamic Pricing Factor'? do you mean $set_pricing_factor? or is there something different called 'Dynamic Pricing Factor'?
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.