• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

sternyy
#1 Posted : Monday, January 19, 2015 12:04:52 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
Does the top products report show products from orders that are marked as complete, or all products regardless of order status?
Aaron
#2 Posted : Monday, January 19, 2015 1:01:32 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,381
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: sternyy Go to Quoted Post
Does the top products report show products from orders that are marked as complete, or all products regardless of order status?

All products regardless of order status.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
sternyy
#3 Posted : Monday, January 19, 2015 3:50:29 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
Is that the same for the sales reports (By Manufacturer, Date, Coupon, Product Type).
Steve95
#4 Posted : Thursday, February 19, 2015 4:22:23 AM(UTC)
Steve95

Rank: Member

Joined: 4/29/2010(UTC)
Posts: 253

Thanks: 4 times
Was thanked: 11 time(s) in 10 post(s)
The sales reports also report orders regardless of status.
 1 user thanked Steve95 for this useful post.
sternyy
#5 Posted : Thursday, February 19, 2015 11:41:49 AM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
Yup I found that in the stored procedures. Thinking about updating it with a checkbox for orders marked as paid and all orders.
Steve95
#6 Posted : Friday, February 20, 2015 5:27:37 AM(UTC)
Steve95

Rank: Member

Joined: 4/29/2010(UTC)
Posts: 253

Thanks: 4 times
Was thanked: 11 time(s) in 10 post(s)
Just be careful about changing the bvc_Order_ByCriteria_s stored procedure this is used elsewhere and will cause issues within the store/admin section.

Instead add the highlighted code to the Daily Sales Report FillList function, or alternatively populate a drop downlist with Orders.OrderPaymentStatus options and use it’s selected index

Sub FillList(ByVal d As Date)

msg.ClearMessage()

Try

TotalSub = 0
TotalShip = 0
TotalHandling = 0
TotalTax = 0
TotalGrand = 0

Dim c As New Orders.OrderSearchCriteria
c.StartDate = Me.DatePicker.SelectedDate
c.EndDate = Me.DatePicker.SelectedDate.AddDays(1)
c.PaymentStatus = Orders.OrderPaymentStatus.Paid
Dim dtOrders As Collection(Of Orders.Order) = Orders.Order.FindByCriteria(c)

dgList.DataSource = dtOrders
dgList.DataBind()
lblResponse.Text = dtOrders.Count & " Orders Found"

Catch Ex As Exception
msg.ShowException(Ex)
End Try

End Sub
Aaron
#7 Posted : Friday, February 20, 2015 9:40:50 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,381
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: Steve95 Go to Quoted Post
c.PaymentStatus = Orders.OrderPaymentStatus.Paid


This line of code is already there; it's just commented out. All you need to do is remove the comment.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
sternyy
#8 Posted : Friday, February 20, 2015 10:23:49 AM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
Yup. The only one I touch is in the Manufacturer_TopSellers SP. Comment and remove the comment when needed.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012