Wrong Invoice number Printing

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
Jaz
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Nov 05, 2008 4:04 am
Location: Torrance, CA
Contact:

Wrong Invoice number Printing

Post by Jaz » Mon Feb 01, 2010 7:41 pm

I don;t know if this is an OrederID vs OrderNumber problem or not.

Then I try to print an invoice, it print an invoice 3 orders older. For example, I try to print invoice 2204, 2201 shows up on the screen. The invoice is correct, but for the wrong order. My packing ships print correctly.

Thanks,
David Jasiewicz
President
Trick Concepts - Metal Fab. Engineering and Product Design
http://www.trickconcepts.com-- If you are an ASP or PHP programmer or CSS web specialist I will gladly trade for graphic design, mechanical engineering or metal fabrication service! --

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Wrong Invoice number Printing

Post by mazhar » Tue Feb 02, 2010 12:56 pm

What is your AbleCommerce versoin?

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Wrong Invoice number Printing

Post by igavemybest » Tue Feb 02, 2010 1:37 pm

Juat look at the code. If it says OrderID then change it see if that is the issue.

User avatar
Jaz
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Nov 05, 2008 4:04 am
Location: Torrance, CA
Contact:

Re: Wrong Invoice number Printing

Post by Jaz » Wed Feb 10, 2010 2:02 pm

I am on 7.03. I guess I have to change all the OrderId to OrderNumber in the email templates. Will this fix the Order Manager, so it finds the right order. Maybe this is a dumb question, but where are the files for the email templates. I can't find them.
David Jasiewicz
President
Trick Concepts - Metal Fab. Engineering and Product Design
http://www.trickconcepts.com-- If you are an ASP or PHP programmer or CSS web specialist I will gladly trade for graphic design, mechanical engineering or metal fabrication service! --

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Wrong Invoice number Printing

Post by mazhar » Thu Feb 11, 2010 7:29 am

You need to have a look under Website\App_Data\EmailTemplates\1 folder

User avatar
Jaz
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Nov 05, 2008 4:04 am
Location: Torrance, CA
Contact:

Re: Wrong Invoice number Printing

Post by Jaz » Wed Feb 17, 2010 8:59 pm

Thanks. I got all my Email template corrected, but the subject for all the emails is still showing the OrderId, not the OrderNumber. Is the subject set somewhere else?

Also, I can't get the batch processing features to work. They are all trying to pull from the orderId, which gives me the wrong order. Where are the files that control the batch processing?

Is there any type if reference that tells what files serve what function? I am sure it is obvious to someone that works on it every day, but I only modify the site when there is a problem, or I need to add a function. It may be several months between when I do one task and another task.

Thanks,
David Jasiewicz
President
Trick Concepts - Metal Fab. Engineering and Product Design
http://www.trickconcepts.com-- If you are an ASP or PHP programmer or CSS web specialist I will gladly trade for graphic design, mechanical engineering or metal fabrication service! --

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Wrong Invoice number Printing

Post by mazhar » Thu Feb 18, 2010 8:18 am

What are you using in subject field of Email template $order.OrderNumber or $order.OrderId. Did you updated that part as well.
Batch operation files for orders are in different folders under Website/Admin/Orders folder. Create some demo orders and then trigger the batch operation upon them, each batch operation will take you to appropriate file and you can watch his full location from the browser URL.

User avatar
triplw
Commander (CMDR)
Commander (CMDR)
Posts: 144
Joined: Sat Jan 12, 2008 5:34 pm
Contact:

Re: Wrong Invoice number Printing

Post by triplw » Sun Feb 28, 2010 7:10 pm

I have the same issue. Packing slips print correctly but the numbers are off on the invoices.
I have looked at the files "/Admin/Orders/Print/PackSlips.aspx.cs" and "/Admin/Orders/Print/Invoices.aspx.cs".
I can't see what's different about them. Can you please tell me exactly what lines of code need to be changed.

User avatar
triplw
Commander (CMDR)
Commander (CMDR)
Posts: 144
Joined: Sat Jan 12, 2008 5:34 pm
Contact:

Re: Wrong Invoice number Printing

Post by triplw » Mon Mar 01, 2010 9:27 pm


User avatar
Jaz
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Nov 05, 2008 4:04 am
Location: Torrance, CA
Contact:

Re: Wrong Invoice number Printing

Post by Jaz » Mon Mar 22, 2010 3:20 am

Is the subject field located in the email templatre, or somewhere else?
David Jasiewicz
President
Trick Concepts - Metal Fab. Engineering and Product Design
http://www.trickconcepts.com-- If you are an ASP or PHP programmer or CSS web specialist I will gladly trade for graphic design, mechanical engineering or metal fabrication service! --

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

Re: Wrong Invoice number Printing

Post by jmestep » Mon Mar 22, 2010 7:10 am

Subject field is in the admin where you click to edit a template.
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

User avatar
Jaz
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Nov 05, 2008 4:04 am
Location: Torrance, CA
Contact:

Re: Wrong Invoice number Printing

Post by Jaz » Mon Mar 22, 2010 3:03 pm

Thanks. I was editing the via FTP. Is this admin feature new?
David Jasiewicz
President
Trick Concepts - Metal Fab. Engineering and Product Design
http://www.trickconcepts.com-- If you are an ASP or PHP programmer or CSS web specialist I will gladly trade for graphic design, mechanical engineering or metal fabrication service! --

Post Reply