You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2021/03/07 17:13:27 UTC

Re: Can't have same invoiceID for invoices created in different years

Hi Eugen,

Do you mean a sequence by 3rd parties and not only by (OOTB) "company" ?

BTW did you read: https://cwiki.apache.org/confluence/display/OFBENDUSER/12.1.1+Accounting+Preferences ?

Also AFAIK there is no suffix available, but is that really needed when you have a prefix?

Jacques

Le 22/02/2021 à 23:11, Eugen Stan a écrit :
> Hi,
>
> On 22.02.2021 14:40, Suraj Khurana wrote:
>> Hi Andrie,
>>
>> You can also use prefix in invoice id's to always make them unique, if you
>> want to generate the sequence every year then the current year can be made
>> as InvoiceIdPrefix in PartyAcctgPreference entity.
>
> Interesting.
>
> Does this mean that there is only one document series per party?
>
> Does OFBIZ support a concept of document series?
> A document series is similar to a database sequence + prefix and suffix and it is used to assign the next id for a document type (invoice, cotract, 
> order, etc).
>
>
> Regards,
> Eugen


Re: Can't have same invoiceID for invoices created in different years

Posted by Eugen Stan <eu...@netdava.com>.
Hi Jacques,

Thanks for the link.
I've read the documentation and found the entries in ofbiz demo instance.

I managed to change the prefix for the invoices.

I used to be more creative with invoice series.
Now with migration to OFBiz in the works I've channeled my creativity to 
other fields... .

I'll talk to my accountant to see how often is to have multiple document 
series (invoice, orders, proforma invoice, quotes, etc) per organization.

Until then, I think we are set.

All the best,
Eugen

On 07.03.2021 19:13, Jacques Le Roux wrote:
> Hi Eugen,
> 
> Do you mean a sequence by 3rd parties and not only by (OOTB) "company" ?
> 
> BTW did you read: 
> https://cwiki.apache.org/confluence/display/OFBENDUSER/12.1.1+Accounting+Preferences 
> ?
> 
> Also AFAIK there is no suffix available, but is that really needed when 
> you have a prefix?
> 
> Jacques


-- 
Eugen Stan
+40720 898 747 / netdava.com