Home Page link  

Top selling items report including non-selling items

 

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
Top selling items report including non-selling items Gerd 09-09-2007
Posted by Akber Alwani on September 14, 2007, 2:08 pm
Please log in for more thread options
hi I haven't receivend any email. send again.

"Gerd" wrote:

> Hi Akber,
>
> I have sent you a private e-mail with the latest version of the report and
> some issues I still have with the report.
>
> Could you confirm when you have received my e-mail?
>
> Thanks
>
> > HI Gred, its hard to do it from newsgroup send me email at alwani89
> > hotmail.com and also don't forget to rate once your problem solved by us.
> > because I wanted to become this year the MVP and only your guys rating
> > will
> > make it.
> >
> > "Gerd" wrote:
> >
> >> Thanks for your suggestion, Akber. Without date selection I now see all
> >> my
> >> products, including the ones that never sold. However, I still have 3
> >> issues:
> >>
> >> 1) the description field does not "chop off" the last 4 characters, the
> >> complete description is still displayed. i use the following formula
> >> Formula =
> >> "MAX(substring(Item.Description,1,datalength(item.Description) -4))"
> >> 2) the grouping by the first 7 characters of item.itemlookupcode works if
> >> i
> >> have transactionentry record. for all not-sold items the report shows me
> >> the
> >> item number (first 7 character) for each item in the item table
> >> i tried it with having the item.itemlookupcode in the Group By field and
> >> with ItemLookupCode, which is the field name I assigned to the grouping
> >> of
> >> the itemlookupcode.
> >> 3) i still would like to use some date selection if possible. if i enter
> >> a
> >> date range i only get records with a transactionentry record (makes
> >> sense)
> >> but for all the ones without a transaction record is there a way to set
> >> the
> >> date selection to NULL or 0, or whatever the SQL statement would need? I
> >> thought about a filter like
> >> Begin Filter
> >> FieldName = "Department.Name"
> >> FilterOp = reportfilteropEqual
> >> FilterLoLim = "Loose Tea"
> >> FilterHilim = "Loose Tea"
> >> FilterNegated = False
> >> FilterConnector = reportfilterbooleanconAND
> >> End Filter
> >>
> >> Begin Filter
> >> FieldName = "[Transaction].Time"
> >> FilterOp = reportfilteropBetween
> >> FilterLoLim = "<YearStart>"
> >> FilterHilim = "<Today>"
> >> FilterConnector = reportfilterbooleanconOR
> >> End Filter
> >>
> >> Begin Filter
> >> FieldName = "[Transaction].Time"
> >> FilterOp = reportfilteropBetween
> >> FilterLoLim = "NULL"
> >> FilterHilim = "NULL"
> >> End Filter
> >>
> >>
> >> > Hi Gerd, I am not sure but I already last 2 days given the solution
> >> > what
> >> > you
> >> > said regarding the trasnaction about bringing the items on sale:
> >> >
> >> > I know that you use the LEFT function and still only data for the
> >> > transaction is coming use the below cluase for Transaction and
> >> > TransactionEntry tables also Not inner but LEFT join too for these
> >> > tables:
> >> > LEFT JOIN TransactionEntry WITH(NOLOCK) ON TransactionEntry.ItemID =
> >> > Item.ID
> >> > LEFT JOIN [Transaction] WITH(NOLOCK) ON
> >> > TransactionEntry.TransactionNumber
> >> > =
> >> > [Transaction].TransactionNumber
> >> >
> >> > Regarding grouping it is okay you can use the LEFT function also and
> >> > make
> >> > sure to group by substring or LEFT function same way as you are
> >> > presenting
> >> > the data.
> >> >
> >> > Regarding the Description you have given wrong formula, here is correct
> >> > formula:
> >> > substring(Item.Description,1,datalength(item.description) -4)
> >> >
> >> > you specified substring(item.itemlookupcode and then in the data length
> >> > you
> >> > specify the description which I belive you did by mistake.
> >> >
> >> > If things works please rate.
> >> >
> >> > "Gerd" wrote:
> >> >
> >> >> In RMS Store Operations 2.0 I copied the top selling items report and
> >> >> changed the table sequence to use the item table as my first table
> >> >> with a
> >> >> left join on the transactionentry table (see attached report).
> >> >> The idea was that if there is no transactionentry record the item
> >> >> record
> >> >> would still show on the report. But this is not the case and i am
> >> >> trying
> >> >> to
> >> >> figure out where my report is wrong.
> >> >>
> >> >> I don't use a date filter (ultimately I want to), assuming that if no
> >> >> transactionentry record exists the transaction date would be NULL.
> >> >>
> >> >> Running the report only shows items with a transactionentry records. I
> >> >> verified that with various SQL statements and some items that are
> >> >> active
> >> >> in
> >> >> the items table are not on the report.
> >> >>
> >> >> Further I would like to group the items by using the first 7
> >> >> characters
> >> >> of
> >> >> the item.itemlookup code. I think i figured that out by using Formula
> >> >> =
> >> >> "substring(Item.ItemLookupCode,1,7)". It seems to work but I would
> >> >> want
> >> >> to
> >> >> be sure that it also works with the non-selling items.
> >> >>
> >> >> And last, because I group by the first 7 character of the itemlookup
> >> >> code
> >> >> I
> >> >> would want to trim the last 4 characters of the item.description
> >> >> field.
> >> >> Because the description can have different number of characters I
> >> >> can't
> >> >> use
> >> >> a fixed length. I tried different formulas, like Formula =
> >> >> "substring(Item.ItemLookupCode,1,datalength((item.description) -4))"
> >> >> and
> >> >> different variations of it but I always end up getting syntax errors.
> >> >>
> >> >> I would appreciate if somebody could check my report and point me into
> >> >> the
> >> >> right directions.
> >> >>
> >> >> Thanks
> >> >>
> >>
>

Posted by Danny on September 21, 2007, 1:49 pm
Please log in for more thread options
Please post final report - so we can all learn.

Thanks
Danny
> hi I haven't receivend any email. send again.
>
> "Gerd" wrote:
>
>> Hi Akber,
>>
>> I have sent you a private e-mail with the latest version of the report
>> and
>> some issues I still have with the report.
>>
>> Could you confirm when you have received my e-mail?
>>
>> Thanks
>>
>> > HI Gred, its hard to do it from newsgroup send me email at alwani89
>> > hotmail.com and also don't forget to rate once your problem solved by
>> > us.
>> > because I wanted to become this year the MVP and only your guys rating
>> > will
>> > make it.
>> >
>> > "Gerd" wrote:
>> >
>> >> Thanks for your suggestion, Akber. Without date selection I now see
>> >> all
>> >> my
>> >> products, including the ones that never sold. However, I still have 3
>> >> issues:
>> >>
>> >> 1) the description field does not "chop off" the last 4 characters,
>> >> the
>> >> complete description is still displayed. i use the following formula
>> >> Formula =
>> >> "MAX(substring(Item.Description,1,datalength(item.Description) -4))"
>> >> 2) the grouping by the first 7 characters of item.itemlookupcode works
>> >> if
>> >> i
>> >> have transactionentry record. for all not-sold items the report shows
>> >> me
>> >> the
>> >> item number (first 7 character) for each item in the item table
>> >> i tried it with having the item.itemlookupcode in the Group By field
>> >> and
>> >> with ItemLookupCode, which is the field name I assigned to the
>> >> grouping
>> >> of
>> >> the itemlookupcode.
>> >> 3) i still would like to use some date selection if possible. if i
>> >> enter
>> >> a
>> >> date range i only get records with a transactionentry record (makes
>> >> sense)
>> >> but for all the ones without a transaction record is there a way to
>> >> set
>> >> the
>> >> date selection to NULL or 0, or whatever the SQL statement would need?
>> >> I
>> >> thought about a filter like
>> >> Begin Filter
>> >> FieldName = "Department.Name"
>> >> FilterOp = reportfilteropEqual
>> >> FilterLoLim = "Loose Tea"
>> >> FilterHilim = "Loose Tea"
>> >> FilterNegated = False
>> >> FilterConnector = reportfilterbooleanconAND
>> >> End Filter
>> >>
>> >> Begin Filter
>> >> FieldName = "[Transaction].Time"
>> >> FilterOp = reportfilteropBetween
>> >> FilterLoLim = "<YearStart>"
>> >> FilterHilim = "<Today>"
>> >> FilterConnector = reportfilterbooleanconOR
>> >> End Filter
>> >>
>> >> Begin Filter
>> >> FieldName = "[Transaction].Time"
>> >> FilterOp = reportfilteropBetween
>> >> FilterLoLim = "NULL"
>> >> FilterHilim = "NULL"
>> >> End Filter
>> >>
>> >>
>> >> message
>> >> > Hi Gerd, I am not sure but I already last 2 days given the solution
>> >> > what
>> >> > you
>> >> > said regarding the trasnaction about bringing the items on sale:
>> >> >
>> >> > I know that you use the LEFT function and still only data for the
>> >> > transaction is coming use the below cluase for Transaction and
>> >> > TransactionEntry tables also Not inner but LEFT join too for these
>> >> > tables:
>> >> > LEFT JOIN TransactionEntry WITH(NOLOCK) ON TransactionEntry.ItemID =
>> >> > Item.ID
>> >> > LEFT JOIN [Transaction] WITH(NOLOCK) ON
>> >> > TransactionEntry.TransactionNumber
>> >> > =
>> >> > [Transaction].TransactionNumber
>> >> >
>> >> > Regarding grouping it is okay you can use the LEFT function also and
>> >> > make
>> >> > sure to group by substring or LEFT function same way as you are
>> >> > presenting
>> >> > the data.
>> >> >
>> >> > Regarding the Description you have given wrong formula, here is
>> >> > correct
>> >> > formula:
>> >> > substring(Item.Description,1,datalength(item.description) -4)
>> >> >
>> >> > you specified substring(item.itemlookupcode and then in the data
>> >> > length
>> >> > you
>> >> > specify the description which I belive you did by mistake.
>> >> >
>> >> > If things works please rate.
>> >> >
>> >> > "Gerd" wrote:
>> >> >
>> >> >> In RMS Store Operations 2.0 I copied the top selling items report
>> >> >> and
>> >> >> changed the table sequence to use the item table as my first table
>> >> >> with a
>> >> >> left join on the transactionentry table (see attached report).
>> >> >> The idea was that if there is no transactionentry record the item
>> >> >> record
>> >> >> would still show on the report. But this is not the case and i am
>> >> >> trying
>> >> >> to
>> >> >> figure out where my report is wrong.
>> >> >>
>> >> >> I don't use a date filter (ultimately I want to), assuming that if
>> >> >> no
>> >> >> transactionentry record exists the transaction date would be NULL.
>> >> >>
>> >> >> Running the report only shows items with a transactionentry
>> >> >> records. I
>> >> >> verified that with various SQL statements and some items that are
>> >> >> active
>> >> >> in
>> >> >> the items table are not on the report.
>> >> >>
>> >> >> Further I would like to group the items by using the first 7
>> >> >> characters
>> >> >> of
>> >> >> the item.itemlookup code. I think i figured that out by using
>> >> >> Formula
>> >> >> =
>> >> >> "substring(Item.ItemLookupCode,1,7)". It seems to work but I would
>> >> >> want
>> >> >> to
>> >> >> be sure that it also works with the non-selling items.
>> >> >>
>> >> >> And last, because I group by the first 7 character of the
>> >> >> itemlookup
>> >> >> code
>> >> >> I
>> >> >> would want to trim the last 4 characters of the item.description
>> >> >> field.
>> >> >> Because the description can have different number of characters I
>> >> >> can't
>> >> >> use
>> >> >> a fixed length. I tried different formulas, like Formula =
>> >> >> "substring(Item.ItemLookupCode,1,datalength((item.description) -4))"
>> >> >> and
>> >> >> different variations of it but I always end up getting syntax
>> >> >> errors.
>> >> >>
>> >> >> I would appreciate if somebody could check my report and point me
>> >> >> into
>> >> >> the
>> >> >> right directions.
>> >> >>
>> >> >> Thanks
>> >> >>
>> >>
>>



Posted by Craig on September 21, 2007, 6:03 pm
Please log in for more thread options
I agree. The report would be useful to me also. Please attach to newsgroup
Akber.
Craig

> Please post final report - so we can all learn.
>
> Thanks
> Danny
>> hi I haven't receivend any email. send again.
>>
>> "Gerd" wrote:
>>
>>> Hi Akber,
>>>
>>> I have sent you a private e-mail with the latest version of the report
>>> and
>>> some issues I still have with the report.
>>>
>>> Could you confirm when you have received my e-mail?
>>>
>>> Thanks
>>>
>>> > HI Gred, its hard to do it from newsgroup send me email at alwani89
>>> > hotmail.com and also don't forget to rate once your problem solved by
>>> > us.
>>> > because I wanted to become this year the MVP and only your guys rating
>>> > will
>>> > make it.
>>> >
>>> > "Gerd" wrote:
>>> >
>>> >> Thanks for your suggestion, Akber. Without date selection I now see
>>> >> all
>>> >> my
>>> >> products, including the ones that never sold. However, I still have 3
>>> >> issues:
>>> >>
>>> >> 1) the description field does not "chop off" the last 4 characters,
>>> >> the
>>> >> complete description is still displayed. i use the following formula
>>> >> Formula =
>>> >> "MAX(substring(Item.Description,1,datalength(item.Description) -4))"
>>> >> 2) the grouping by the first 7 characters of item.itemlookupcode
>>> >> works if
>>> >> i
>>> >> have transactionentry record. for all not-sold items the report shows
>>> >> me
>>> >> the
>>> >> item number (first 7 character) for each item in the item table
>>> >> i tried it with having the item.itemlookupcode in the Group By field
>>> >> and
>>> >> with ItemLookupCode, which is the field name I assigned to the
>>> >> grouping
>>> >> of
>>> >> the itemlookupcode.
>>> >> 3) i still would like to use some date selection if possible. if i
>>> >> enter
>>> >> a
>>> >> date range i only get records with a transactionentry record (makes
>>> >> sense)
>>> >> but for all the ones without a transaction record is there a way to
>>> >> set
>>> >> the
>>> >> date selection to NULL or 0, or whatever the SQL statement would
>>> >> need? I
>>> >> thought about a filter like
>>> >> Begin Filter
>>> >> FieldName = "Department.Name"
>>> >> FilterOp = reportfilteropEqual
>>> >> FilterLoLim = "Loose Tea"
>>> >> FilterHilim = "Loose Tea"
>>> >> FilterNegated = False
>>> >> FilterConnector = reportfilterbooleanconAND
>>> >> End Filter
>>> >>
>>> >> Begin Filter
>>> >> FieldName = "[Transaction].Time"
>>> >> FilterOp = reportfilteropBetween
>>> >> FilterLoLim = "<YearStart>"
>>> >> FilterHilim = "<Today>"
>>> >> FilterConnector = reportfilterbooleanconOR
>>> >> End Filter
>>> >>
>>> >> Begin Filter
>>> >> FieldName = "[Transaction].Time"
>>> >> FilterOp = reportfilteropBetween
>>> >> FilterLoLim = "NULL"
>>> >> FilterHilim = "NULL"
>>> >> End Filter
>>> >>
>>> >>
>>> >> message
>>> >> > Hi Gerd, I am not sure but I already last 2 days given the solution
>>> >> > what
>>> >> > you
>>> >> > said regarding the trasnaction about bringing the items on sale:
>>> >> >
>>> >> > I know that you use the LEFT function and still only data for the
>>> >> > transaction is coming use the below cluase for Transaction and
>>> >> > TransactionEntry tables also Not inner but LEFT join too for these
>>> >> > tables:
>>> >> > LEFT JOIN TransactionEntry WITH(NOLOCK) ON TransactionEntry.ItemID
>>> >> > =
>>> >> > Item.ID
>>> >> > LEFT JOIN [Transaction] WITH(NOLOCK) ON
>>> >> > TransactionEntry.TransactionNumber
>>> >> > =
>>> >> > [Transaction].TransactionNumber
>>> >> >
>>> >> > Regarding grouping it is okay you can use the LEFT function also
>>> >> > and
>>> >> > make
>>> >> > sure to group by substring or LEFT function same way as you are
>>> >> > presenting
>>> >> > the data.
>>> >> >
>>> >> > Regarding the Description you have given wrong formula, here is
>>> >> > correct
>>> >> > formula:
>>> >> > substring(Item.Description,1,datalength(item.description) -4)
>>> >> >
>>> >> > you specified substring(item.itemlookupcode and then in the data
>>> >> > length
>>> >> > you
>>> >> > specify the description which I belive you did by mistake.
>>> >> >
>>> >> > If things works please rate.
>>> >> >
>>> >> > "Gerd" wrote:
>>> >> >
>>> >> >> In RMS Store Operations 2.0 I copied the top selling items report
>>> >> >> and
>>> >> >> changed the table sequence to use the item table as my first table
>>> >> >> with a
>>> >> >> left join on the transactionentry table (see attached report).
>>> >> >> The idea was that if there is no transactionentry record the item
>>> >> >> record
>>> >> >> would still show on the report. But this is not the case and i am
>>> >> >> trying
>>> >> >> to
>>> >> >> figure out where my report is wrong.
>>> >> >>
>>> >> >> I don't use a date filter (ultimately I want to), assuming that if
>>> >> >> no
>>> >> >> transactionentry record exists the transaction date would be NULL.
>>> >> >>
>>> >> >> Running the report only shows items with a transactionentry
>>> >> >> records. I
>>> >> >> verified that with various SQL statements and some items that are
>>> >> >> active
>>> >> >> in
>>> >> >> the items table are not on the report.
>>> >> >>
>>> >> >> Further I would like to group the items by using the first 7
>>> >> >> characters
>>> >> >> of
>>> >> >> the item.itemlookup code. I think i figured that out by using
>>> >> >> Formula
>>> >> >> =
>>> >> >> "substring(Item.ItemLookupCode,1,7)". It seems to work but I would
>>> >> >> want
>>> >> >> to
>>> >> >> be sure that it also works with the non-selling items.
>>> >> >>
>>> >> >> And last, because I group by the first 7 character of the
>>> >> >> itemlookup
>>> >> >> code
>>> >> >> I
>>> >> >> would want to trim the last 4 characters of the item.description
>>> >> >> field.
>>> >> >> Because the description can have different number of characters I
>>> >> >> can't
>>> >> >> use
>>> >> >> a fixed length. I tried different formulas, like Formula =
>>> >> >> "substring(Item.ItemLookupCode,1,datalength((item.description) -4))"
>>> >> >> and
>>> >> >> different variations of it but I always end up getting syntax
>>> >> >> errors.
>>> >> >>
>>> >> >> I would appreciate if somebody could check my report and point me
>>> >> >> into
>>> >> >> the
>>> >> >> right directions.
>>> >> >>
>>> >> >> Thanks
>>> >> >>
>>> >>
>>>
>
>


Similar ThreadsPosted
Top Selling Items Report February 23, 2007, 4:12 pm
Top Selling Items report, by Departmentt January 3, 2007, 10:23 pm
Buying and selling used items at the POS February 11, 2008, 2:42 pm
Selling items that don't exist in the database yet. December 31, 2006, 7:21 am
Need help in customizing a sales report including December 6, 2005, 12:17 pm
Dairy activity report including layaways November 5, 2007, 5:07 am
scanned items from register adds items to inventory transfer scree December 19, 2007, 2:19 pm
Kit Items Report January 7, 2008, 6:10 am
BUG? HQ Items Reports returning duplicate items March 8, 2006, 7:42 pm
help needed - Standard items vs Matrix items April 14, 2006, 10:50 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