[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customer number / sequence default



Hello all,

In SL 2.6.22, I was using the following entry in the defaults screen
for Customer Number:

<% name 1 2 %>01

This would create my invoice numbers based on the customer name, using
the first letter of the first word and the first letter of the second
word in the customer name to generate the customer number.

I also used the following to generate the GL Reference Number:

20<% yy %>-000001

These both worked just fine in SQL-Ledger, but I cannot seem to make
them work in LedgerSMB 1.2.11. I've tried the following:

<?lsmb name 1 2 ?>01  - for Customer Number
20<?lsmb yy ?>-000001  - for GL Reference Number

Any help would be greatly appreciated.

Regards,
Angus Jordan