on 06-16-2009 12:06 PM
Hi All,
I am having a little problem with two documents that have been approved. I have a query that picks up open documents that have already been approved. I am getting two entries in my query and when I open one which is a AP Credit Memo it says in brackets at the top approved and when I try and add it I am getting this error. "This document was already added after it was approved"
Could somebody please tell me what is going on and how I will be able to solve this problem.
We are running SAP Business One PL 30.
Thanks
Quinn
The where clause should be T0.[WddStatus\] NOT IN ('W','Y')
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it seems like the document has been added already. Are you sure the query is correct? Can you paste it here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is ur approval process ?
Post ur query here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the query that is being used.
SELECT T0.[DocNum] AS Doc, T0.[DocType] AS Type, T0.[DocStatus] AS Status, T0.[DocDate], DATEDIFF(Day, CURRENT_TIMESTAMP, DocDate) AS Overdue, T0.[UserSign] AS 'User', T0.[WddStatus] AS 'Auth. Status' FROM [dbo].[ODRF] T0 WHERE T0.[DocStatus] = 'O' AND DATEDIFF(Day, CURRENT_TIMESTAMP, DocDate) < 0 AND T0.[WddStatus] IN ('W','Y')
ORDER BY DATEDIFF(Day, CURRENT_TIMESTAMP, DocDate)
The approval only needs to be approved by one person and he has done so but there is still this problem.
It seems the document is a approved order that already exists.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
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.