PDA

View Full Version : Order Numbers


Freeze
23-Jun-2003, 09:08 AM
Hi ya

My client uses the ordernumber generated in an offline database to cross reference orders / purchasing and support.

Is the order number generated by Actinic or by the PSP (Protx) ??

If it is generated by Actinc can I control the format it takes??

Cheers

G

Jan
23-Jun-2003, 12:20 PM
The order number is generated by Actinic but I don't think that other than changing the 'next' number suffix you can control the format of it.

zmagyar
24-Jun-2003, 12:10 AM
The order number is generated by OrderScript.pl. There is the code fragment $::s_sOrderNumber = $sInitials . $sPostCode . substr($$::g_pSetupBlob{CGI_ID}, -1) .
substr("0000000" . $nCounter, -7);which assembles the final number. You can alter this line if you have some perl knowledge. But you must be very carefull here (and note that Actinic doesn't support any script customisation).

I hope this helps.

Freeze
24-Jun-2003, 11:01 AM
Spot on Zoltan -- now to try a few variants

jxm28788
29-Sep-2003, 12:27 PM
I'm quite happy with the order reference format, but as I'm just starting out I would prefer not to give away to my customers that they are the first few by giving them order numbers of 000001, 000002 etc...

Is it possible to manually increase the variable "$nCounter" to a more respectable level?

:)

Jan
29-Sep-2003, 12:49 PM
You can do this in help / troubleshooting.

Regards,

Ben
29-Sep-2003, 12:53 PM
Hi John

Yes, you can do this in Help | Troubleshooting. Enter the starting number you want and click 'Update Order Number'.

Ben

jxm28788
02-Oct-2003, 09:30 AM
:cool:

Cool, thanks. Just what I was looking for.