News:

Support the VirtueMart project and become a member

Main Menu

order_number used for? Can I use it for something else?

Started by gain, November 12, 2012, 15:44:16 PM

Previous topic - Next topic

gain

Hi,
in VM1 I wrote a script that import orders from another program into VM. I populated the order_number field as custom_<external_id> for keeping track of orders not from VM, and was ok.

Now I need to upgrade to VM2 and I see that order_number is changed.

So I'm wondering if I can use order_number field as I've done since now, or if  it's used for any purpose I dunno...

Thanks in advance, hoping in a reply...

Bye

chetanmadaan

You can.

in VM 1... it was just order number as a primary key used in all tables.

but in VM 2...  we have order id (not in sequence... as 1, 2, 3, 4....) and then we have order_pass.

but good news... you can still use the order number filed as it works the same way in the backend.

gain

Quote from: chetanmadaan on November 22, 2012, 21:32:13 PM
You can.

in VM 1... it was just order number as a primary key used in all tables.

but in VM 2...  we have order id (not in sequence... as 1, 2, 3, 4....) and then we have order_pass.

but good news... you can still use the order number filed as it works the same way in the backend.

Good to know, thank you very much... :)