Home Page link  

Sale batch report with the total quantity sold per item

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Sale batch report with the total quantity sold per item Ed 03-13-2009
Posted by Ed on March 13, 2009, 10:26 am
Please log in for more thread options
How i can setup a sale batch report with the total quantity sold per item in
the given batch # range for each item
Example:

Batch :45

Item :464343 Qty 12
Item :678445 Qty 67
etc.



Posted by Matt Hurst on March 14, 2009, 9:15 pm
Please log in for more thread options
here is a query that will give that result for the current day:

select t.storeid, batchnumber, itemlookupcode, sum(e.quantity) qty
from [transaction] t
join transactionentry e on t.storeid=e.storeid
and e.transactionnumber=t.transactionnumber
join item on itemid=item.id where time>convert(char,getdate(),101)
group by t.storeid, batchnumber, itemlookupcode
order by t.storeid, batchnumber, itemlookupcode

Here is the same in an HQ report:

//--- Report Summary --- //

Begin ReportSummary
ReportType = reporttypeItems
ReportTitle = "Batch ILC Qty"
PageOrientation = pageorientationPortrait
WordWrap = False
ShowDateTimePicker = False
OutLineMode = True
Groups = 0
GroupDescription = "Total"
DisplayLogo = True
LogoFileName = "MyLogo.bmp"
ProcedureCall = ""
PreQuery1 = ""
PreQuery2 = ""
TablesQueried = <BEGIN>

from [transaction] t
join transactionentry e on t.storeid=e.storeid
and e.transactionnumber=t.transactionnumber
join item on itemid=item.id

<END>
SelCriteria = ""
GroupBy = "t.storeid, batchnumber, itemlookupcode"
SortOrder = ""
End ReportSummary


//--- Title Rows ---//

Begin TitleRow
Text = "<Store Name>"
Font = "Arial"
FontBold = True
FontSize = 16
Color = "Blue"
End TitleRow

Begin TitleRow
Text = "<Report Title>"
Font = "Arial"
FontBold = True
FontSize = 12
Color = "Black"
End TitleRow

Begin TitleRow
Text = "As Of: <Report Date>"
Font = "Arial"
FontBold = True
FontSize = 10
Color = "Black"
End TitleRow


//--- Filters ---//


Begin Filter
FieldName = "t.time"
FilterOp = reportfilteropBetween
FilterLoLim = <Today>
FilterHilim = <Today>
FilterNegated = False
FilterConnector = reportfilterbooleanconAND
End Filter

//--- Columns ---//

Begin Column
FieldName = "t.StoreID"
DrillDownFieldName = ""
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "StoreID"
VBDataType = vbInteger
Formula = ""
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 1395
GroupMethod = groupmethodNone
ColFormat = ""
End Column

Begin Column
FieldName = "t.batchnumber"
DrillDownFieldName = ""
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "Batch"
VBDataType = vbString
Formula = ""
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 1605
GroupMethod = groupmethodNone
ColFormat = ""
End Column

Begin Column
FieldName = "Item.ItemLookUpCode"
DrillDownFieldName = "Item.ItemLookUpCode"
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "LookUp Code"
VBDataType = vbString
Formula = ""
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 1245
GroupMethod = groupmethodCount
ColFormat = ""
End Column

Begin Column
FieldName = "qty"
DrillDownFieldName = ""
DrillDownReportName = ""
StoreIDFieldName = ""
Title = "Quantity"
VBDataType = vbInteger
Formula = "sum(e.quantity)"
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 870
GroupMethod = groupmethodSum
ColFormat = ""
End Column

Begin Column
FieldName = "t.time"
DrillDownFieldName = ""
DrillDownReportName = ""
Title = "Date"
VBDataType = vbDate
Formula = ""
ColHidden = True
ColNotDisplayable = True
FilterDisabled = False
ColWidth = 1250
GroupMethod = groupmethodnone
ColFormat = ""
End Column

"Ed" wrote:

> How i can setup a sale batch report with the total quantity sold per item in
> the given batch # range for each item
> Example:
>
> Batch :45
>
> Item :464343 Qty 12
> Item :678445 Qty 67
> etc.
>
>
>

Similar ThreadsPosted
Sale Report - for each Batch -Grouping items with total qty sold March 13, 2009, 10:09 am
quantity on hand & quantity sold in one report? January 30, 2007, 9:46 am
Custom Report With Zero Quantity Sold June 10, 2008, 3:48 pm
z report show quantity sold on departments November 27, 2007, 9:25 pm
How to display Total Item Quantity on receipt and Status bar February 18, 2009, 11:10 pm
reports by total sale qty of item and on hand qty with specific s November 18, 2005, 9:45 pm
customer report with daily total sale December 23, 2008, 6:46 pm
Report for Zero Item Movement - What *hasn't* sold February 28, 2006, 1:05 pm
Report for Zero Item Movement - What *hasn't* sold August 24, 2007, 4:32 pm
Report for Zero Item Movement - What *hasn't* sold July 1, 2009, 10:29 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap