on ‎2018 Jul 20 5:00 PM
Hi Experts,
I am trying to implement a business case where price rows for a product are fetched on the basis of an enum called pricingCode that is added to the PriceRow itemtype as an attribute. I looked through some solutions and the general consensus is to implement the PDTRowsQueryBuilder interface, and then use it in a class that extends Europe1PriceFactory. The issue here is that the pricingCode is not set in a session; it is received through a CSV via Hot folder, so I do not see the purpose of using a custom Europe1PriceFactory. Is there another way to achieve this? If no, then what steps do I need to follow to set up this custom pricing implementation?
Thanks and Regards,
Request clarification before answering.
nothing limits you to either change the query build or implement the same filtering as in https://answers.sap.com/comments/12830682/view.html in the custom price engine. I assume priceCode filtering criteria will be part of context execution (you can always make it). Customizing the price engine is logical for this requirement, as you do it in one place instead of checking all places where prices might be fetched .
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 | |
| 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.