Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: Change log at SAP Business One

$
0
0

Hi,

 

Run below query to find updated user:

 

 

SELECT
T2.[CardCode], T2.[CardName], T2.[GroupNum] as Newvalue,
T1.[GroupNum] as Oldvalue ,  T3.[U_NAME] as UpdatedUser , T4.[U_NAME]
as CreatedUser FROM ACRD T0 left join ACRD T1 on t0.[CardCode] =
T1.[CardCode] and t0.loginstanc = t1.loginstanc-1  left JOIN OCRD T2
ON T0.cardcode = T2.CardCode left join  OUSR T3 on t3.userid =
t0.usersign2 left JOIN OUSR T4 ON   T4.USERID = T1.userSign  left
JOIN OCTG T5 ON T0.GroupNum = T5.GroupNum WHERE T2.[GroupNum] <>
T1.[GroupNum] and datediff(dd, T1.[updateDate] ,getdate())<=0
GROUP BY T2.[CardCode], T2.[CardName], T2.[GroupNum], T1.[GroupNum] ,
T3.[U_NAME] , T4.[U_NAME]

 

Hope helpful.

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>