on 04-28-2011 12:07 AM
Hi Guys,
I have requirment as below
If GR is completed against PO then should nto allow to change price
For this requirment I am checking, EKBE, if latest movement type is 102, then should not allow user to change PO price. Which was working fine
But, we also have requirment, if Partial GR is done for PO, then should not allow user to change price.
Example
PO QTY = 3
EKBE TABLE
Purchasing Doc. Movement Type Quantity
4XXXXXXXXX 101 1.000
4XXXXXXXXX 101 2.000
4XXXXXXXXX 102 1.000
4XXXXXXXXX 102 2.000
4XXXXXXXXX 101 1.000
4XXXXXXXXX 101 2.000
4XXXXXXXXX 102 2.000
In this case, we have done GR for 1 qty and now user should not able to change PO price for line item.
How to find out whether the PO is having partial GR or not
Hi,
If EKBE-BEWTP is "E" GR and "D" service entry is done partial or full
Thanks
Diwakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
solved on own
logic:
sum quantity for all movement types 101 and 102
Calculation = Subtract 101 - 102 quantities
If calculation = 0 (zero) then allow to change NETWR else not
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.