Hi,
I am trying to create a report to view all of my stock. I wanted to see the following:
Department
Category
Supplier
Brand (Item.SubDescription1)
Description
Cost
Price
Profit
Profit Margin
If the item has tax of not.
I have been able to get the report to show all but the last two items (Profit Margin and if the item is taxable). Below is the code that I am trying to use to show the profit margin field but I have no idea how to grab the info to see if the item is taxable or not.
Begin Column
FieldName = "ProfitMargin"
DrillDownFieldName = ""
DrillDownReportName = ""
Title = "Profit Margin"
VBDataType = vbDouble
Formula = "[(Item.Price - Item.Cost) / Item.Price]"
ColHidden = True
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 900
GroupMethod = groupmethodAverage
ColFormat = "0.00%"
End Column
Can anyone help?
*This post is locked for comments
I have the same question (0)