Error while recieving non-serialized items in inventory

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

Error while recieving non-serialized items in inventory

Rupinder
Hi all,
     I am getting following error while receiving non-serialized items in inventory .

"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 [Post a AcctgTrans [file:/E:/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]: ; [Could not find a CustomTimePeriod (fiscal period) for the Transaction Date [2008-05-20 10:16:00.0] (is for Organization Party with ID [Company]), Gl account id is not set for [00001] or mapping not found for account type UNINVOICED_SHIP_RCPT, Could not find a CustomTimePeriod (fiscal period) for the Transaction Date [2008-05-20 10:16:00.0] (is for Organization Party with ID [Company]), Gl account id is not set for [00002] or mapping not found for account type INVENTORY_ACCOUNT] calling service balanceInventoryItems in receiveInventoryProduct".

Please help..... 
Reply | Threaded
Open this post in threaded view
|

Re: Error while recieving non-serialized items in inventory

Jacopo Cappellato-3
You can fix this in two ways:

1) if you are not interested in posting accounting transactions to the  
GL then you can disable (i.e. comment out) the first eca rule in  
accounting/servicedef/secas_ledger.xml


     <eca service="createAcctgTransAndEntries" event="commit">
         <condition field-name="acctgTransId" operator="is-not-empty"/>
         <action service="postAcctgTrans" mode="sync"/>
     </eca>

2) configure an Error Journal to post there the accounting  
transactions that are incomplete (you will find a lot of posts about  
this if you search in the archives)

Jacopo


On May 27, 2008, at 7:07 AM, Rupinder wrote:

>
> Hi all,
>     I am getting following error while receiving non-serialized  
> items in
> inventory :confused:.
>
> "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 [Post a AcctgTrans
> [file:/E:/ofbiz/applications/accounting/script/org/ofbiz/accounting/
> ledger/AcctgTransServices.xml#postAcctgTrans]]:
> ; [Could not find a CustomTimePeriod (fiscal period) for the  
> Transaction
> Date [2008-05-20 10:16:00.0] (is for Organization Party with ID  
> [Company]),
> Gl account id is not set for [00001] or mapping not found for  
> account type
> UNINVOICED_SHIP_RCPT, Could not find a CustomTimePeriod (fiscal  
> period) for
> the Transaction Date [2008-05-20 10:16:00.0] (is for Organization  
> Party with
> ID [Company]), Gl account id is not set for [00002] or mapping not  
> found for
> account type INVENTORY_ACCOUNT] calling service  
> balanceInventoryItems in
> receiveInventoryProduct".
>
> Please help.....:-((
> --
> View this message in context: http://www.nabble.com/Error-while-recieving-non-serialized-items-in-inventory-tp17483171p17483171.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>