on 05-04-2011 3:44 AM
Hi, is there a way to find out which PLD is tied to which BP code?
Maybe in the DB table that stores the PLD?
Thanks.
Hi Joyce,
Try this query
Select
T1.Name [Document],
T2.DocName [Layout],
Case
When T0.CardCode in (Select CardCode from OCRD)
Then T0.CardCode
Else ''/* will be blank when not assign to a specific BP*/
End [Business Partner],
Case
When USERID in (Select Internal_K from OUSR)
Then (Select U_Name FROM OUSR Where Internal_K = T0.UserId)
Else ''/* Will be blank when not assign to a specific user*/
End [User]
from
RDFL T0
inner Join
RTYP T1 on
DoumntDode = Code
inner join
RDOC T2 on
T2.DocCode = T0.DfltReport
Regards,
Bala
Edited by: Balakumar Viswanathan on May 4, 2011 8:27 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That will do. Bala, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
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.