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

Re: How to JOIN OVPM (Outgoing Payment) with OACT and RCT4 in Query

$
0
0

Hi Mr. Kennedy,

 

Thanks for your help

 

But there's another problem when i try to get Doc. Remarks ( Descrip, From RCT4) for the query.

It should be like this:

Capture.PNG

 

But the result of query is:

Capture2.PNG

 

As you can see, the "Doc. Remarks" on Pic No. 1. and "Details" on Pic No. 2 didn't match.

Here's the query that i use:

 

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 t1.acctcode = t2.AcctCode
INNER JOIN RCT4 T3 ON T2.[AcctCode] = T3.[AcctCode]

Where T0.[TransId] = 35752

 

 

Thanks,

Irwan


Viewing all articles
Browse latest Browse all 1065

Trending Articles



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