Error on Party Fin.History Screen

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

Error on Party Fin.History Screen

Sharan-F
Hi

I've been doing some testing on Billing Accounts on the Hotwax Demo and came across this error on the Fin.History submenu in Party Manager. I've included the steps I went through to get the error below.

ERROR MESSAGE:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: groovy.lang.MissingMethodException: No signature of method: static org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTotalBd() is applicable for argument types: (org.ofbiz.entity.GenericValue, java.lang.Boolean) values: {["invoiceId":"CI3", "invoiceTypeId":"SALES_INVOICE", "partyIdFrom":"Company", "partyId":"DemoCustomer", "roleTypeId":null, "statusId":"INVOICE_READY", "billingAccountId":"9010", "contactMechId":null, "invoiceDate":2009-01-28 16:32:35.101, "dueDate":null, "paidDate":null, "invoiceMessage":null, "referenceNumber":null, "description":null, "currencyUomId":"USD", "recurrenceInfoId":null, "parentTypeId":"SALES_INVOICE", "hasTable":"N"], false} (No signature of method: static org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTotalBd() is applicable for argument types: (org.ofbiz.entity.GenericValue, java.lang.Boolean) values: {["invoiceId":"CI3", "invoiceTypeId":"SALES_INVOICE", "partyIdFrom":"Company", "partyId":"DemoCustomer", "roleTypeId":null, "statusId":"INVOICE_READY", "billingAccountId":"9010", "contactMechId":null, "invoiceDate":2009-01-28 16:32:35.101, "dueDate":null, "paidDate":null, "invoiceMessage":null, "referenceNumber":null, "description":null, "currencyUomId":"USD", "recurrenceInfoId":null, "parentTypeId":"SALES_INVOICE", "hasTable":"N"], false})

These are the steps I followed to get the error.

1. I entered an order in the order entry menu of Order Manager using DemoCustomer (product used was WG-9943-B4)
2. I did a quick finalise order and selected the Billing account 9010 as the payment method and created the order (Order number is WSCO10004)
3. I checked the billing account and the new order appeared under the 'Orders' submenu
4. I then did a Quick Ship Entire Order for the order and generated the invoice (CI3)
5. I checked the billing account again and now the new invoice appeared under the 'Invoices' submenu.
6. I then took a look at the Fin.History menu on Party Manager for DemoCustomer and got the error message.

Note: I've not applied any payments against the invoice yet – as this would be the case in a real life scenario where several invoices could be charged to billing account before any payment is received.

Thanks
Sharan
Reply | Threaded
Open this post in threaded view
|

Re: Error on Party Fin.History Screen

Hans Bakker
Hi Sharan,

thanks for reporting this.

The method: InvoiceWorker.getInvoiceTotalBd() was removed some time in
favor of InvoiceWorker.getInvoiceTotal(

I found some more references and changed them too...

Committed revision 738724.

if this does not solve your problem, let us know.

Regards,
Hans

On Wed, 2009-01-28 at 15:02 -0800, Sharan-F wrote:

> Hi
>
> I've been doing some testing on Billing Accounts on the Hotwax Demo and came
> across this error on the Fin.History submenu in Party Manager. I've included
> the steps I went through to get the error below.
>
> ERROR MESSAGE:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> groovy.lang.MissingMethodException: No signature of method: static
> org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTotalBd() is applicable
> for argument types: (org.ofbiz.entity.GenericValue, java.lang.Boolean)
> values: {["invoiceId":"CI3", "invoiceTypeId":"SALES_INVOICE",
> "partyIdFrom":"Company", "partyId":"DemoCustomer", "roleTypeId":null,
> "statusId":"INVOICE_READY", "billingAccountId":"9010", "contactMechId":null,
> "invoiceDate":2009-01-28 16:32:35.101, "dueDate":null, "paidDate":null,
> "invoiceMessage":null, "referenceNumber":null, "description":null,
> "currencyUomId":"USD", "recurrenceInfoId":null,
> "parentTypeId":"SALES_INVOICE", "hasTable":"N"], false} (No signature of
> method: static
> org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTotalBd() is applicable
> for argument types: (org.ofbiz.entity.GenericValue, java.lang.Boolean)
> values: {["invoiceId":"CI3", "invoiceTypeId":"SALES_INVOICE",
> "partyIdFrom":"Company", "partyId":"DemoCustomer", "roleTypeId":null,
> "statusId":"INVOICE_READY", "billingAccountId":"9010", "contactMechId":null,
> "invoiceDate":2009-01-28 16:32:35.101, "dueDate":null, "paidDate":null,
> "invoiceMessage":null, "referenceNumber":null, "description":null,
> "currencyUomId":"USD", "recurrenceInfoId":null,
> "parentTypeId":"SALES_INVOICE", "hasTable":"N"], false})
>
> These are the steps I followed to get the error.
>
> 1. I entered an order in the order entry menu of Order Manager using
> DemoCustomer (product used was WG-9943-B4)
> 2. I did a quick finalise order and selected the Billing account 9010 as the
> payment method and created the order (Order number is WSCO10004)
> 3. I checked the billing account and the new order appeared under the
> 'Orders' submenu
> 4. I then did a Quick Ship Entire Order for the order and generated the
> invoice (CI3)
> 5. I checked the billing account again and now the new invoice appeared
> under the 'Invoices' submenu.
> 6. I then took a look at the Fin.History menu on Party Manager for
> DemoCustomer and got the error message.
>
> Note: I've not applied any payments against the invoice yet – as this would
> be the case in a real life scenario where several invoices could be charged
> to billing account before any payment is received.
>
> Thanks
> Sharan

--
http://www.antwebsystems.com :
Quality OFBiz support for competitive rates....