on 05-02-2012 11:01 PM
We have created a condition type ZPR0 as a Group Condition using the Group Condition Routine '3'.
ZPR0 has the Calculation Type set to Quantity.
The ZPR0 condition records include scale pricing for some products.
Products with the Material Pricing Group set (the mvke-kondm field has a value), are qualitying for the group condition for the combined quantity of products in that group as they should.
ISSUE: Products that are NOT assigned to a Material Pricing Group (the mvke-kondm field is blank), ARE QUALIFYING for the group condition and should NOT be.
Resolution: We copied the group condition routine '3', creating a new group condition routine. In the new routine, we changed the code as follows:
if komp-kondm is initial.
' No group condition is set for this material
exit.
else.
' A group condition has been found.
xvakey = '003'.
xvakey+3(2) = komp-kondm.
endif.
Configuration for the pricing condition ZPR0 was then changed to use this new group condition routine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.