[ic] Customize the Order/Invoice number
Murray Gibbins
Murray@scotweb.ltd.uk
Tue, 21 Nov 2000 09:01:32 +0000
Choong Liew wrote:
>
> Hi,
> Do you know how to customize the order number like from the
> order #00001 ( which is set by the interchange program)
>
> to like
> order #abcde00001
>
> ?
> Thanks
> Choong
try something like this
order =~ s/(\#)(\d+)/$1abcde$2/;
in a perl/scatch variable thing.
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04