bug? invoice overview with billing account and term days

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

bug? invoice overview with billing account and term days

Robert Gan
hey guys,

think I found a bug.

within the invoice overview screen I get an error caused by the getDayEnd method --> Invoice terms and items are not shown.

The value of invoiceTerm.termDays is empty in service getInvoicePaymentInfoList.

When I create a billing account and add a term with i.ex. 30 days than the service fills the "termValue" and not the "termDays" field in Entity InvoiceTerm, thats why it is empty.

Within the service "getInvoicePaymentInfoList" the termDays are expected.

So its eather good to change the setting of the terms or (what i did, to avoid other conflicts) the getInvoicePaymentInfoList. Cause the termValue is Bigdecimal and the termDays is Long the UtilDateTime.Java class hast to be adjusted.

greetings
Reply | Threaded
Open this post in threaded view
|

Re: bug? invoice overview with billing account and term days

Jacques Le Roux
Administrator
In such cases if you have a doubt, it's easier to create a Jira, explain there, attach a patch and wait for comments.
It's easier for us to review a patch than having to search in code and UI by ourselves...

Jacques

----- Original Message -----
From: "Robert G." <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, July 16, 2013 7:47 PM
Subject: bug? invoice overview with billing account and term days


> hey guys,
>
> think I found a bug.
>
> within the invoice overview screen I get an error caused by the getDayEnd
> method --> Invoice terms and items are not shown.
>
> The value of invoiceTerm.termDays is empty in service
> getInvoicePaymentInfoList.
>
> When I create a billing account and add a term with i.ex. 30 days than the
> service fills the "termValue" and not the "termDays" field in Entity
> InvoiceTerm, thats why it is empty.
>
> Within the service "getInvoicePaymentInfoList" the termDays are expected.
>
> So its eather good to change the setting of the terms or (what i did, to
> avoid other conflicts) the getInvoicePaymentInfoList. Cause the termValue is
> Bigdecimal and the termDays is Long the UtilDateTime.Java class hast to be
> adjusted.
>
> greetings
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/bug-invoice-overview-with-billing-account-and-term-days-tp4642842.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.