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

Notification

Icon
Error

TKatch
#1 Posted : Tuesday, August 11, 2015 10:41:54 AM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
Upon editing an older order the amounts update to the latest price for that product. Then the order status is set to partially paid instead of paid. This is causing problems. Is there a way to keep old orders fixed with the price at which it was purchased? Old order data should not fluctuate with new product pricing.
Aaron
#2 Posted : Thursday, August 13, 2015 3:14:15 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)
This was a bug in BVC 2013 that was fixed in the 2015 release. Note that if you edit an order and click the "Recalculate Product Prices" button it will recalculate using the current prices.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
TKatch
#3 Posted : Wednesday, August 26, 2015 11:40:20 AM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
I'm now trying to link some orders to a wholesale customer's account. By adding the customer's Username and saving, it changes to wholesale price and shows the order as partially paid instead of paid. Can this be corrected so that I don't have calculate and reset all of the prices after associating an order?
Aaron
#4 Posted : Sunday, August 30, 2015 8:48:13 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: TKatch Go to Quoted Post
I'm now trying to link some orders to a wholesale customer's account. By adding the customer's Username and saving, it changes to wholesale price and shows the order as partially paid instead of paid. Can this be corrected so that I don't have calculate and reset all of the prices after associating an order?


To be fair, changing the user account after an order is placed isn't a typical use-case. Are you sure that the reason that the price is changing is because of the user account having a price group associated with it and not that the price of the product(s) in the order has increased? The reason I say that is that if price group pricing was applied the order total would be reduced, causing the order to be overpaid. Since you said that the order was showing as partially paid I'm guessing that at least one product increased in price which caused the order total to increase.

Anyway, to change this behavior I believe you need to alter the UserPicker1_UserSelected method in the EditOrder.aspx.vb file like this:

Code:
    Protected Sub UserPicker1_UserSelected(ByVal args As BVSoftware.Bvc5.Core.Controls.UserSelectedEventArgs) Handles UserPicker1.UserSelected
        Me.UserEmailField.Text = args.UserAccount.Email

        ShippingAddressBook.UserID = args.UserAccount.Bvin
        BillingAddressBook.UserID = args.UserAccount.Bvin
        ShippingAddressBook.BindAddresses()
        BillingAddressBook.BindAddresses()

        Dim o As Orders.Order = Orders.Order.FindByBvin(Me.BvinField.Value)
        If Not o.IsPlaced Then
            RecalculateProductPrices_Click(Nothing, Nothing) ' needed to recalculate product prices
        End If
    End Sub
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
TKatch
#5 Posted : Tuesday, September 15, 2015 11:37:07 AM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
I'm getting a Compilation Error with this (see attached).

Edited by user Tuesday, September 15, 2015 5:21:04 PM(UTC)  | Reason: Not specified

TKatch attached the following image(s):
Untitled-1.gif (122kb) downloaded 4 time(s).

You cannot view/download attachments. Try to login or register.
Aaron
#6 Posted : Tuesday, September 15, 2015 11:44:38 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: TKatch Go to Quoted Post
I'm getting a Compilation Error with this (see attached).


Did you forget to attach the screenshot?
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
TKatch
#7 Posted : Tuesday, September 15, 2015 5:23:51 PM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
Sorry, I must have tried to upload a .pdf and it didn't go. I updated the post with attachment.
Aaron
#8 Posted : Wednesday, September 16, 2015 8:41:39 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)
It sounds like your site wasn't updated properly or that this page has been customized.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
TKatch
#9 Posted : Wednesday, September 16, 2015 9:34:25 AM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
What else is new...
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