on 2024 Jan 31 4:38 AM
There is a condition parameter (impurities count per 500 g) based on that parameter price has to be reduced as per the below.
If Parmenter is less than 1500 : no deduction
If parameter is between 1500 and 1600 : deduct .10 USD from the price
If parameter is between 1600 and 1700 deduct .20 USD from the price
can some one help on the solution please?
Thanks.
Request clarification before answering.
Are your client receiving a PO or generating a PO on a vendor ? If it is for vendor, then, I believe, you will come to know the extent of impurities, only after GR is made. Only during MIRO, the amount can be deducted if required. Having said that, validating at PO level may not be possible. Nevertheless, instead of hard-coding the logic, it is better to maintain those values in tvarvc table and compare at transaction level when the payment is made. This logic can be applied either in a routine or user exit and the advantage of going with tvarvc table is at a later date, if there is a change in Business requirement and if 1000 to 1500 also to be added, you just need to the values in this table, so that the coding logic will take care. On the other hand, if you hard-code, each and every time, you need to touch the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
39 | |
5 | |
5 | |
5 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.