on ‎2013 Jul 29 1:21 PM
Request clarification before answering.
Hi Richard Gabaldon...
You can pull the information from OJDT & JDT1 for all the financial transaction.
Link for Sales order to CN
OINV II inner join INV1 I On I.DocEntry=II.DocEntry
left outer join DLN1 D on I.BaseEntry=D.DocEntry and I.BaseType=15 and I.BaseLine=D.LineNum
left outer join ODLN DD on DD.DocEntry=D.DocEntry
left outer join RDR1 O on (I.BaseEntry=O.DocEntry and I.BaseType=17 and I.BaseLine=O.LineNum)
or (D.BaseEntry=O.DocEntry and D.BaseType=17 and D.BaseLine=O.LineNum)
left outer join ORDR OO on OO.DocEntry=O.DocEntry
Same way using the Union all function you have to link the purchase
Regards
Kennedy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 9 | |
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.