on 04-24-2013 10:28 AM
Hi,
Already replied to you...please check your previous post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DECLARE @DOCNUM AS INT
SET @DOCNUM=(SELECT $[OJDT.NUMBER.INT])
SELECT DISTINCT T2.[lastName]+' '+T2.[firstName] AS 'NAME' FROM OJDT T0 INNER JOIN OPCH T1 ON T0.TransId = T1.TransId INNER JOIN OHEM T2 ON T1.OwnerCode = T2.empID WHERE @DOCNUM= T1.[DocNum]
it gives me a owner name but asking update on JE. and that i dont want
Hi VINAYAK CHAVAN ..
If you write Fms In journal also you required to update manually as the journal is posted automatic ...
If you want the owner code information in the journal level try this try to save the owner code in the journal remarks which will automatically post in journal while you post ap invoice..
Try with FMS query and auto refresh with doc total field...
DECLARE @DOCNUM AS INT
SET @DOCNUM=(SELECT $[OPCH.DocNum.INT])
SELECT DISTINCT T2.[lastName]+' '+T2.[firstName] AS 'NAME' FROM OJDT T0 INNER JOIN OPCH T1 ON T0.TransId = T1.TransId INNER JOIN OHEM T2 ON T1.OwnerCode = T2.empID WHERE @DOCNUM= T1.[DocNum]
Hope Helpful
Regards
Kennedy
Hi,
If you got the answer, please close the thread by marking correct/helpful answer.
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.