from where i can find activity name

 2 Replies
 0 Subscribed to this topic
 22 Subscribed to this forum
Sort:
Author
Messages
vijay
New Member Send Private Message
Posts: 0
New Member
i am using table mmdist table for details.But as it having only activity code and accounting_category code.,But i also wants activity name and accounting category name also in my report.
Inwhich table i canget them and how i can relate them to mmdist
Keri White
Basic Member Send Private Message
Posts: 6
Basic Member
You can use the ACACTIVITY and ACACCTCAT tables to get the descriptions. Relate on ACTIVITY and ACCT-CATEGORY respectively.
John Henley
Send Private Message
Posts: 3355
In (Oracle) SQL, it would look something like this:
SELECT
MMD.ACTIVITY,
ACV.DESCRIPTION,
MMD.ACCT_CATEGORY,
AAX.DESCRIPTION
FROM
MMDIST MMD,
ACACTIVITY ACV,
ACACCTCAT AAX
WHERE
MMD.ACTIVITY=ACV.ACTIVITY(+)
AND
MMD.ACCT_CATEGORY=AAX.ACCT_CATEGORY(+)
Thanks for using the LawsonGuru.com forums!
John