[ 
https://issues.apache.org/jira/browse/OFBIZ-12239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344685#comment-17344685
 ] 

ASF subversion and git services commented on OFBIZ-12239:
---------------------------------------------------------

Commit b8f67d2e70627dbab647ab6df8572a7fe648b739 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=b8f67d2 ]

Fixed: Quote and Invoice with null value on refresh base
(OFBIZ-12239)

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, ...


> 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
>            Assignee: Nicolas Malin
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> 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)

Reply via email to