on 06-04-2012 1:32 PM
Hi all
i have created a store procedure to block Delivery from creating Qty more than SO Qty.
But i want that to make a query which i can apply in approval procedure.
If i have created a SO with qty 10
And delivery is prepared for 11 , then it should ask for approval of higher management.
For that we have to use Query in approval procedure , can experts please guide me.
Regards
Vamsi krishna
Hi Vamsi,
Approval can only apply to header level. Line level is not accessible to Approval except the first line.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vamsi,
With the help of base entry field of DLN1 table you can make out the SO against which DC is getting punched.
Then you have to compare delivered quantity and or balance quantity fields from RDR1 table against quantity field from DLN1 table.
In this way loop through all the lines of items delivered.
Hope this logic will help you write your SPTN.
Revert back if not clear.
thanking you
Malhaar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vamsi,
What if there are multiple deliveries againse same SO ?
Best Regards,
Samir Gandhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
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.