on 2024 Mar 10 10:22 AM
Hi
I have an approval , if the document has been approved user is still able to resend again for approval. We want to block it. How it can be done through Stored Procedure or some other way.
Regards
Request clarification before answering.
Hi @ramco1917 ,
What do you mean by able to resend? From where the user is capable of re-raise the same document for approval? Could you please provide more details or screenshots to demonstrate?
Thanks,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try object type nº 140 (Payment Draft). The main table is OPDF, and PDF2 represent the lines (documents to be paid).
Put some validation to catch drafts from the same object (46) and same DocNum. Below you can find a simple join that might give you a clue about what to validate on your SP.
SELECT
opdf.DocNum
FROM OPDF
INNER JOIN PDF2
ON opdf.DocEntry = pdf2.DocNum
WHERE opdf.ObjType = 46
Hope it makes sense.
Felipe
User | Count |
---|---|
41 | |
15 | |
11 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.