Order Numbering

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
bhill
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 84
Joined: Mon Oct 31, 2005 5:06 pm
Location: Institute

Order Numbering

Post by bhill » Mon Nov 28, 2016 11:30 am

While testing I accidentally changed our next order number to a very high number (10000000) on our live site. I would like to change this back to much smaller number closer to where we were (413772) but Able will not allow a number lower than the last order number that came through. Anyone know a work around? I don't see us ever getting to 10000000 so it shouldn't be a concern to switch back to 420000 should it?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Order Numbering

Post by jmestep » Mon Nov 28, 2016 11:31 pm

If you have access to the database directly, you could try changing the order numbers in the 100... range in the ac_orders table to something lower, then resetting your next order number to something higher than that. Your customers might notice that their order number has been changed, though.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

bhill
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 84
Joined: Mon Oct 31, 2005 5:06 pm
Location: Institute

Re: Order Numbering

Post by bhill » Tue Nov 29, 2016 4:42 am

Thanks for the suggestion, since our Able is connected to a 3PL fulfillment software the order numbers need to match so that really isn't an option. Would it be possible to alter the code for: Admin/Store/StoreSettings.aspx.cs and change the logic to allow a order number lower than the current highest?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Order Numbering

Post by jmestep » Wed Nov 30, 2016 12:15 am

I'm not sure what would happen, but you can experiment. The code that gets the next order number is in AC source code and I don't know if it looks in the order table in addition to getting the next order number from the setting for the next number or not.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply