Author Topic: What is `Order #' in Admin App?  (Read 720 times)

ady1981

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
What is `Order #' in Admin App?
« on: June 20, 2010, 04:39:11 AM »
Hello,

How could I figure out what is `Order #' in Admin App?

In the order list I can see the info like this:

Order # : 1277026213617
   
Customer Name : ...
   
Order Total: ...
   
Date Purchased: 20/06/2010
   
Status: ...

But the `Order #' is 28 indeed (as I could see via `Edit' button).


Regards,

-Andrey

trevor

  • Administrator
  • Hero Member
  • *****
  • Posts: 495
    • View Profile
    • KonaKart
Re: What is `Order #' in Admin App?
« Reply #1 on: June 20, 2010, 05:26:34 AM »
The order number can be used to contain an identifier that you may want to give to the order (i.e. 2010/18763-a) . It can be set using custom code in the OrderIntegrationMgr. http://www.konakart.com/docs/OrderStatusChangeActions.html

ady1981

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
Re: What is `Order #' in Admin App?
« Reply #2 on: August 08, 2010, 06:29:06 AM »
The order number can be used to contain an identifier that you may want to give to the order (i.e. 2010/18763-a) . It can be set using custom code in the OrderIntegrationMgr. http://www.konakart.com/docs/OrderStatusChangeActions.html
Thank You for the answer. It looks like that order number can be used for such purposes.

So, as I understand, we need to rewrite the createOrderNumber method:

    public String createOrderNumber(OrderIf order) throws Exception
    {
        // Example implementation
        return Long.toString(System.currentTimeMillis());
    }

But when the method is called order.getOrderNumber() is not settled yet.

It looks like there is another solution: is it possible to display the sequential order number in KonaKart Admin app?