Quick Ship Entire Order Error trying to Create Accounting Transactions

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

Quick Ship Entire Order Error trying to Create Accounting Transactions

Sharan-F
Hi

I created a sales order (WSCO10000) on the new Ofbiz demo site (demo.ofbiz.org) using the Order Entry module. Details are as follows:

Customer = Demo Customer
Product = GZ9290 His/Her Gizmo
I received the payment (via the 'Receive Payment' button and specified Cash)
When I pressed the 'Quick Ship Entire Order' button I got the following error message.

The Following Errors Occurred:
Error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Create an accounting transaction for a sales invoice [file:/demo/deployments/demo-20090329-0306/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]]: ERROR: Could not complete the Create an accounting transaction for a sales invoice [file:/demo/deployments/demo-20090329-0306/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml#createAcctgTransForSalesInvoice] process [Could not find method to execute named getInvoiceTaxByTaxAuthGeoAndParty: java.lang.NoSuchMethodException: org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTaxByTaxAuthGeoAndParty(org.ofbiz.entity.GenericValue)]   calling service updateShipment in createShipmentForFacilityAndShipGroup

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

Re: Quick Ship Entire Order Error trying to Create Accounting Transactions

Pranay Pandey-2
Hi Sharan,

I am facing this problem on my local machine with latest trunk revision.
I searched a little bit for investigating the problem. I found that  
method  
org
.ofbiz
.accounting.invoice.InvoiceWorker.getInvoiceTaxByTaxAuthGeoAndParty  
doesn't exist.
The code from GeneralLedgeServices.xml which is calling this method  
was removed by Scott in rev. 731171 and then added back by Jacques in  
rev. 759608.
There is something on which Jacques can through some light :)

Thanks & Regards
--
Pranay Pandey


On Mar 30, 2009, at 6:32 AM, Sharan-F wrote:

>
> Hi
>
> I created a sales order (WSCO10000) on the new Ofbiz demo site
> (demo.ofbiz.org) using the Order Entry module. Details are as follows:
>
> Customer = Demo Customer
> Product = GZ9290 His/Her Gizmo
> I received the payment (via the 'Receive Payment' button and  
> specified Cash)
> When I pressed the 'Quick Ship Entire Order' button I got the  
> following
> error message.
>
> The Following Errors Occurred:
> Error: Error trying to begin transaction, could not process method:  
> The
> current transaction is marked for rollback, not beginning a new  
> transaction
> and aborting current operation; the rollbackOnly was caused by:  
> Error in
> simple-method [Create an accounting transaction for a sales invoice
> [file:/demo/deployments/demo-20090329-0306/applications/accounting/
> script/org/ofbiz/accounting/ledger/
> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]]:
> ERROR: Could not complete the Create an accounting transaction for a  
> sales
> invoice
> [file:/demo/deployments/demo-20090329-0306/applications/accounting/
> script/org/ofbiz/accounting/ledger/
> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]
> process [Could not find method to execute named
> getInvoiceTaxByTaxAuthGeoAndParty: java.lang.NoSuchMethodException:
> org
> .ofbiz
> .accounting
> .invoice
> .InvoiceWorker
> .getInvoiceTaxByTaxAuthGeoAndParty(org.ofbiz.entity.GenericValue)]
> calling service updateShipment in  
> createShipmentForFacilityAndShipGroup
>
> Thanks
> Sharan
> --
> View this message in context: http://www.nabble.com/Quick-Ship-Entire-Order-Error-trying-to-Create-Accounting-Transactions-tp22774829p22774829.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Quick Ship Entire Order Error trying to Create Accounting Transactions

Jacques Le Roux
Administrator
Oops, thanks Pranay

http://markmail.org/message/hjar43amt7yafg6c

I have still to finish it...

(re-)removed at r759918

Jacques

From: "Pranay Pandey" <[hidden email]>

> Hi Sharan,
>
> I am facing this problem on my local machine with latest trunk revision.
> I searched a little bit for investigating the problem. I found that  method  org .ofbiz
> .accounting.invoice.InvoiceWorker.getInvoiceTaxByTaxAuthGeoAndParty  doesn't exist.
> The code from GeneralLedgeServices.xml which is calling this method  was removed by Scott in rev. 731171 and then added back by
> Jacques in  rev. 759608.
> There is something on which Jacques can through some light :)
>
> Thanks & Regards
> --
> Pranay Pandey
>
>
> On Mar 30, 2009, at 6:32 AM, Sharan-F wrote:
>
>>
>> Hi
>>
>> I created a sales order (WSCO10000) on the new Ofbiz demo site
>> (demo.ofbiz.org) using the Order Entry module. Details are as follows:
>>
>> Customer = Demo Customer
>> Product = GZ9290 His/Her Gizmo
>> I received the payment (via the 'Receive Payment' button and  specified Cash)
>> When I pressed the 'Quick Ship Entire Order' button I got the  following
>> error message.
>>
>> The Following Errors Occurred:
>> Error: Error trying to begin transaction, could not process method:  The
>> current transaction is marked for rollback, not beginning a new  transaction
>> and aborting current operation; the rollbackOnly was caused by:  Error in
>> simple-method [Create an accounting transaction for a sales invoice
>> [file:/demo/deployments/demo-20090329-0306/applications/accounting/ script/org/ofbiz/accounting/ledger/
>> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]]:
>> ERROR: Could not complete the Create an accounting transaction for a  sales
>> invoice
>> [file:/demo/deployments/demo-20090329-0306/applications/accounting/ script/org/ofbiz/accounting/ledger/
>> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]
>> process [Could not find method to execute named
>> getInvoiceTaxByTaxAuthGeoAndParty: java.lang.NoSuchMethodException:
>> org .ofbiz .accounting .invoice .InvoiceWorker .getInvoiceTaxByTaxAuthGeoAndParty(org.ofbiz.entity.GenericValue)]
>> calling service updateShipment in  createShipmentForFacilityAndShipGroup
>>
>> Thanks
>> Sharan
>> --
>> View this message in context:
>> http://www.nabble.com/Quick-Ship-Entire-Order-Error-trying-to-Create-Accounting-Transactions-tp22774829p22774829.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Quick Ship Entire Order Error trying to Create Accounting Transactions

Pranay Pandey-2
Thanks Jacques for quick fix :)

Kind Regards
--
Pranay Pandey


On Mar 30, 2009, at 4:54 PM, Jacques Le Roux wrote:

> Oops, thanks Pranay
>
> http://markmail.org/message/hjar43amt7yafg6c
>
> I have still to finish it...
>
> (re-)removed at r759918
>
> Jacques
>
> From: "Pranay Pandey" <[hidden email]>
>> Hi Sharan,
>>
>> I am facing this problem on my local machine with latest trunk  
>> revision.
>> I searched a little bit for investigating the problem. I found  
>> that  method  
>> org
>>  .ofbiz
>>  .accounting
>> .invoice.InvoiceWorker.getInvoiceTaxByTaxAuthGeoAndParty  doesn't  
>> exist.
>> The code from GeneralLedgeServices.xml which is calling this  
>> method  was removed by Scott in rev. 731171 and then added back by  
>> Jacques in  rev. 759608.
>> There is something on which Jacques can through some light :)
>>
>> Thanks & Regards
>> --
>> Pranay Pandey
>>
>>
>> On Mar 30, 2009, at 6:32 AM, Sharan-F wrote:
>>
>>>
>>> Hi
>>>
>>> I created a sales order (WSCO10000) on the new Ofbiz demo site
>>> (demo.ofbiz.org) using the Order Entry module. Details are as  
>>> follows:
>>>
>>> Customer = Demo Customer
>>> Product = GZ9290 His/Her Gizmo
>>> I received the payment (via the 'Receive Payment' button and  
>>> specified Cash)
>>> When I pressed the 'Quick Ship Entire Order' button I got the  
>>> following
>>> error message.
>>>
>>> The Following Errors Occurred:
>>> Error: Error trying to begin transaction, could not process  
>>> method:  The
>>> current transaction is marked for rollback, not beginning a new  
>>> transaction
>>> and aborting current operation; the rollbackOnly was caused by:  
>>> Error in
>>> simple-method [Create an accounting transaction for a sales invoice
>>> [file:/demo/deployments/demo-20090329-0306/applications/
>>> accounting/ script/org/ofbiz/accounting/ledger/  
>>> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]]:
>>> ERROR: Could not complete the Create an accounting transaction for  
>>> a  sales
>>> invoice
>>> [file:/demo/deployments/demo-20090329-0306/applications/
>>> accounting/ script/org/ofbiz/accounting/ledger/  
>>> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]
>>> process [Could not find method to execute named
>>> getInvoiceTaxByTaxAuthGeoAndParty: java.lang.NoSuchMethodException:
>>> org
>>>  .ofbiz
>>>  .accounting
>>>  .invoice
>>>  .InvoiceWorker
>>>  .getInvoiceTaxByTaxAuthGeoAndParty(org.ofbiz.entity.GenericValue)]
>>> calling service updateShipment in  
>>> createShipmentForFacilityAndShipGroup
>>>
>>> Thanks
>>> Sharan
>>> --
>>> View this message in context: http://www.nabble.com/Quick-Ship-Entire-Order-Error-trying-to-Create-Accounting-Transactions-tp22774829p22774829.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Quick Ship Entire Order Error trying to Create Accounting Transactions

Jacques Le Roux
Administrator
Karim, Shara, Pranay,

This should be definitively fixed at r760010

All that comes from https://issues.apache.org/jira/browse/OFBIZ-1599 Road to hell is paved with good intentions :(

Jacques

From: "Pranay Pandey" <[hidden email]>

> Thanks Jacques for quick fix :)
>
> Kind Regards
> --
> Pranay Pandey
>
>
> On Mar 30, 2009, at 4:54 PM, Jacques Le Roux wrote:
>
>> Oops, thanks Pranay
>>
>> http://markmail.org/message/hjar43amt7yafg6c
>>
>> I have still to finish it...
>>
>> (re-)removed at r759918
>>
>> Jacques
>>
>> From: "Pranay Pandey" <[hidden email]>
>>> Hi Sharan,
>>>
>>> I am facing this problem on my local machine with latest trunk  revision.
>>> I searched a little bit for investigating the problem. I found  that  method   org .ofbiz .accounting
>>> .invoice.InvoiceWorker.getInvoiceTaxByTaxAuthGeoAndParty  doesn't  exist.
>>> The code from GeneralLedgeServices.xml which is calling this  method  was removed by Scott in rev. 731171 and then added back by
>>> Jacques in  rev. 759608.
>>> There is something on which Jacques can through some light :)
>>>
>>> Thanks & Regards
>>> --
>>> Pranay Pandey
>>>
>>>
>>> On Mar 30, 2009, at 6:32 AM, Sharan-F wrote:
>>>
>>>>
>>>> Hi
>>>>
>>>> I created a sales order (WSCO10000) on the new Ofbiz demo site
>>>> (demo.ofbiz.org) using the Order Entry module. Details are as  follows:
>>>>
>>>> Customer = Demo Customer
>>>> Product = GZ9290 His/Her Gizmo
>>>> I received the payment (via the 'Receive Payment' button and   specified Cash)
>>>> When I pressed the 'Quick Ship Entire Order' button I got the   following
>>>> error message.
>>>>
>>>> The Following Errors Occurred:
>>>> Error: Error trying to begin transaction, could not process  method:  The
>>>> current transaction is marked for rollback, not beginning a new   transaction
>>>> and aborting current operation; the rollbackOnly was caused by:   Error in
>>>> simple-method [Create an accounting transaction for a sales invoice
>>>> [file:/demo/deployments/demo-20090329-0306/applications/ accounting/ script/org/ofbiz/accounting/ledger/
>>>> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]]:
>>>> ERROR: Could not complete the Create an accounting transaction for  a  sales
>>>> invoice
>>>> [file:/demo/deployments/demo-20090329-0306/applications/ accounting/ script/org/ofbiz/accounting/ledger/
>>>> GeneralLedgerServices.xml#createAcctgTransForSalesInvoice]
>>>> process [Could not find method to execute named
>>>> getInvoiceTaxByTaxAuthGeoAndParty: java.lang.NoSuchMethodException:
>>>> org .ofbiz .accounting .invoice .InvoiceWorker .getInvoiceTaxByTaxAuthGeoAndParty(org.ofbiz.entity.GenericValue)]
>>>> calling service updateShipment in   createShipmentForFacilityAndShipGroup
>>>>
>>>> Thanks
>>>> Sharan
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Quick-Ship-Entire-Order-Error-trying-to-Create-Accounting-Transactions-tp22774829p22774829.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>
>>
>>
>
>