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

Re: Query Normas de reparto

$
0
0

Creo que la relacion asi te podria llevar a ver el factor por cada centro de costo de una norma de reparto y poder realizar tus reportes.

 

SELECT T0.[TransId], T0.[RefDate], T0.[Ref1], T1.[Account], T1.[Debit], T1.[Credit], T2.[OcrCode], T3.[PrcCode], T3.[OcrTotal]

FROM OJDT T0 

INNER JOIN JDT1 T1 ON T0.[TransId] = T1.[TransId]

INNER JOIN OOCR T2 ON T1.[ProfitCode] = T2.[OcrCode]

INNER JOIN OCR1 T3 ON T2.[OcrCode] = T3.[OcrCode]


Viewing all articles
Browse latest Browse all 8526

Trending Articles



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