Reply from sridharan_rajagopalan on Jan 5 at 8:40 AM Hi, To keep count of the sales order and apply discount based on the no of sales orders, you have to create a routine in VOFM.The routine should be assigned to the condition type in the requirements column of the particular pricing procedure. This routine should refer to the table VBAK for the sales orders for the corresponding customer. The logic should be that the routine should count the no.of sales orders within a specified date range giving the customer number as input to the VBAK table. With the result of table the logic should compare it with the scale hard coded in your logic and accordingly the discount should be applied in the pricing procedure. Hope this will meet your business requirement.Looking forward for any better suggestions. Sridharan
| | | ---------------Original Message--------------- From: ramana reddy Sent: Thursday, January 05, 2012 7:21 AM Subject: Maintain Orders with Discounts In condition record you can maintain this, there is a scake button is there in that you can maintain like for 101 to 200 5% and above 200 for 10% discount | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |