crystalpro
Technical User
crystalpro (TechnicalUser) 20 Jun 05 18:38
How do you get the cost for an item sold in Crystal Reports v9?
I have tried:
if {jrnlrow.rowtype} = 1 then GetPeachRowAmountv2
but it only returns 0.00's for every item sold.
I have a record selection:
{jrnlrow.journal} = 3
3 = the sales journal
columns on my report include:
customer
invoice #
date
item
sales amount
cost of goods sold
gross profit
I am using the following tables:
company
chart
customers
jrnlhdr
jrnlrow
lineitem
How do you get the cost for an item sold in Crystal Reports v9?
I have tried:
if {jrnlrow.rowtype} = 1 then GetPeachRowAmountv2
but it only returns 0.00's for every item sold.
I have a record selection:
{jrnlrow.journal} = 3
3 = the sales journal
columns on my report include:
customer
invoice #
date
item
sales amount
cost of goods sold
gross profit
I am using the following tables:
company
chart
customers
jrnlhdr
jrnlrow
lineitem