[jira] [Created] (OFBIZ-12239) Quote and Invoice with null value on refresh base

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-12239) Quote and Invoice with null value on refresh base

Nicolas Malin (Jira)
Nicolas Malin created OFBIZ-12239:
-------------------------------------

             Summary: Quote and Invoice with null value on refresh base
                 Key: OFBIZ-12239
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12239
             Project: OFBiz
          Issue Type: Bug
          Components: accounting, order
    Affects Versions: Trunk
            Reporter: Nicolas Malin


After a fresh data base init with only seed, if you create your company without invoice or quote prefix, your sequence will be generate with 'null' string where the invoice or quote prefix should be have :

> null10001, null10002, ...

This come from the groovy migration of service 'getNextInvoiceId' and 'getNextQuoteId' where partyAcctgPreference.invoiceIdPrefix and partyAcctgPreference.quoteIdPrefix is loaded on the sequence without control if is empty or not



--
This message was sent by Atlassian Jira
(v8.3.4#803005)