Hi Everyone,
I am very new to this community. thank you very much in advance if you can enlighten me with your knowledge.
My boss asks me to create a Margin report for each product ( ITEMID). my thinking was to get invoice value from SALESLINE table then get cost from INVENTTRANS table, in which case I could calculate margin. I took one of the sales orders as an example trying to work out how to get Invoice amount (LINEAMOUNT) as well as cost (COSTAMOUNTSETTLED). It turns out multiple sales line and cost line. does anyone know how to combine multiple lines into one?
*This post is locked for comments