//--- Report Summary --- // Begin ReportSummary ReportType = reporttypeSales ReportTitle = "Created by Vitet Consulting Group Ltd. - www.vitet.com - Call Us: 646-706-7600" PageOrientation = pageorientationPortrait WordWrap = False ShowDateTimePicker = True OutLineMode = True Groups = 1 GroupDescription = "" DisplayLogo = False LogoFileName = "http://www.vitet.com/vitetlogo.jpg" ProcedureCall = "" PreQuery1 = "" PreQuery2 = "" TablesQueried = "FROM TransactionEntry WITH(NOLOCK) INNER JOIN [Transaction] WITH(NOLOCK) ON TransactionEntry.TransactionNumber = [Transaction].TransactionNumber LEFT JOIN Item WITH (NOLOCK) On TransactionEntry.ItemID = Item.ID LEFT JOIN Department WITH(NOLOCK) ON Item.DepartmentID = Department.ID LEFT JOIN Supplier WITH(NOLOCK) on Item.SupplierID = Supplier.ID LEFT JOIN SupplierList WITH(NOLOCK) on Item.Id = SupplierList.ItemID" SelCriteria = "" GroupBy = "Item.ItemLookupCode,Department.name" SortOrder = "Sales DESC" End ReportSummary //--- Title Rows ---// Begin TitleRow Text = " Order Report" Font = "Arial" FontBold = True FontSize = 14 Color = "Blue" End TitleRow Begin TitleRow Text = "" Font = "Arial Bold" FontBold = True FontSize = 10 Color = "Black" End TitleRow Begin TitleRow Text = "Generated On " Font = "Arial" FontBold = True FontSize = 10 Color = "Black" End TitleRow //--- Filters ---// Begin Filter FieldName = "[Transaction].Time" FilterOp = reportfilteropBetween FilterLoLim = FilterHilim = FilterNegated = False FilterConnector = reportfilterbooleanconAND End Filter //--- Columns ---// Begin Column FieldName = "Department.Name" DrillDownFieldName = "Department.Name" DrillDownReportName = "" StoreIDFieldName = "" Title = "Department" VBDataType = vbString Formula = "" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 1785 GroupMethod = groupmethodNone ColFormat = "" ColAlignment = flexAlignLeftCenter End Column Begin Column FieldName = "ItemLookupCode" DrillDownFieldName = "Item.Itemlookupcode" DrillDownReportName = "" StoreIDFieldName = "" Title = "Lookup Code" VBDataType = vbString Formula = "MAX(Item.ItemLookupcode)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 1755 GroupMethod = groupmethodNone ColFormat = "" End Column Begin Column FieldName = "ItemDescription" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Item Name" VBDataType = vbString Formula = "MAX(Item.Description)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 2055 GroupMethod = groupmethodNone ColFormat = "" End Column Begin Column FieldName = "ItemQuantity" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "QTY OH" VBDataType = vbString Formula = "MAX(Item.Quantity)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 750 GroupMethod = groupmethodNone ColFormat = "" End Column Begin Column FieldName = "QtySold" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Qty Sold" VBDataType = vbDouble Formula = "SUM(TransactionEntry.Quantity)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 1005 GroupMethod = groupmethodSum ColFormat = "#.##" End Column Begin Column FieldName = "Sales" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Sales" VBDataType = vbCurrency Formula = "SUM(TransactionEntry.Price * TransactionEntry.Quantity)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 1500 GroupMethod = groupmethodSum ColFormat = "" End Column Begin Column FieldName = "Supplier.SupplierName" DrillDownFieldName = "Supplier.SupplierName" DrillDownReportName = "" StoreIDFieldName = "" Title = "Supplier" VBDataType = vbString Formula = "MAX(Supplier.SupplierName)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 2055 GroupMethod = groupmethodNone ColFormat = "" End Column Begin Column FieldName = "SupplierListReorderNumber" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Supplier#" VBDataType = vbString Formula = "MAX(SupplierList.ReorderNumber)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 1000 GroupMethod = groupmethodNone ColFormat = "" End Column Begin Column FieldName = "SupplierListMPQ" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Pack QTY" VBDataType = vbString Formula = "MAX(SupplierList.MasterPackQuantity)" ColHidden = False ColNotDisplayable = False FilterDisabled = False ColWidth = 800 GroupMethod = groupmethodNone ColFormat = "" End Column Begin Column FieldName = "Profit" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Profit" VBDataType = vbCurrency Formula = "SUM((TransactionEntry.Price - TransactionEntry.Cost) * TransactionEntry.Quantity)" ColHidden = False ColNotDisplayable = True FilterDisabled = False ColWidth = 1815 GroupMethod = groupmethodSum ColFormat = "" End Column Begin Column FieldName = "DepartmentCode" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Dept. Code" VBDataType = vbString Formula = "MAX(Department.Code)" ColHidden = True ColNotDisplayable = False FilterDisabled = True ColWidth = 2055 GroupMethod = groupmethodNone ColFormat = "" End Column Begin Column FieldName = "[Transaction].Time" DrillDownFieldName = "" DrillDownReportName = "" StoreIDFieldName = "" Title = "Date Sold" VBDataType = vbDate Formula = "" ColHidden = True ColNotDisplayable = True FilterDisabled = False ColWidth = 1035 GroupMethod = groupmethodNone ColFormat = "" End Column