• Welcome to KonaKart Community Forum. Please login or sign up.
 

What is `Order #' in Admin App?

Started by ady1981, June 20, 2010, 10:39:11 am

Previous topic - Next topic

ady1981

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

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

Quote from: trevor on June 20, 2010, 11: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

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?