You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Sharan-F <sh...@gmail.com> on 2009/01/29 00:02:05 UTC

Error on Party Fin.History Screen

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

-- 
View this message in context: http://www.nabble.com/Error-on-Party-Fin.History-Screen-tp21717167p21717167.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Error on Party Fin.History Screen

Posted by Hans Bakker <h....@antwebsystems.com>.
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....