Dear Irwan
Can you give the case that outgoing payment link with incoming payment? if not, is the query all linked with outgoing payment?
SELECT T0.[DocNum],
T0.[DocDate],
T0.[TransId],
T2.[FormatCode], T3.[Descrip],
T0.[Comments]
FROM OVPM T0
INNER JOIN VPM4 T1 ON T0.docnum = T1.DocNum
inner join oact T2 on T2.acctname=T1.acctname
INNER JOIN VPM4 T3 ON T2.[AcctCode] = T3.[AcctCode]
where T0.transid=35752
Regards
Edmund