Hi all,
I have the following thing…
I have an invoicing app and the workflow for my invoices are quote -- invoiced -- paid. Well my invoices need a unique number and I started to use a UID field (viewtopic.php?f=8&t=11372&p=30049#p30049) in my invoices template for that.
I basically have folder for the stage of the invoice so unpaid invoices are in the folder invoiced and paid are in the folder paid and so on.
Now most invoices start with a quote but it should not have that uid … because invoices should be in a running number e.g 1,2,3 .. some quotes never become a real invoice so they should not have that uid otherwise the required running numbers of the invoices aren't there . Normally I use a separate field for that but i like to know if its possible to use the uid feature.. So is it possible to generate the uid only if the invoice page are getting moved to the invoiced folder?
I have the following thing…
I have an invoicing app and the workflow for my invoices are quote -- invoiced -- paid. Well my invoices need a unique number and I started to use a UID field (viewtopic.php?f=8&t=11372&p=30049#p30049) in my invoices template for that.
- Code: Select all
<cms:editable
type='uid'
name='invoice_number'
label='Invoice Number'
desc='will be generated automatically'
search_type='integer'
begin_from='1'
min_length='7'
prefix='In-'
suffix='-[DD][MM][YYYY]'
/>
I basically have folder for the stage of the invoice so unpaid invoices are in the folder invoiced and paid are in the folder paid and so on.
Now most invoices start with a quote but it should not have that uid … because invoices should be in a running number e.g 1,2,3 .. some quotes never become a real invoice so they should not have that uid otherwise the required running numbers of the invoices aren't there . Normally I use a separate field for that but i like to know if its possible to use the uid feature.. So is it possible to generate the uid only if the invoice page are getting moved to the invoiced folder?