Jacopo,
My problem was due to missing data for PartyAcctgPreference for the
Company. Setting up the correct data resolved the problem.
Thanks,
Raj
Jacopo Cappellato wrote:
Anil, Raj,
both the errors are caused by the same auto posting accounting
transaction service related to payment applications; I'm working right
now to fix it (not sure if it is a missing demo setup or an error in
the service).
However, in the meantime, you can 'fix' it by defining an error
journal for your company:
* in Anil's scenario is the TESTING party (the demo payment is
associated to this party)
* in Raj's scenario... I'm not sure (Raj is probably using a
customized party).
By the way, the process to setup an error journal is very simple; I've
recently described this in another email but I'm copying here the same
notes:
============
The quickest way to fix this is to define a error journal for the
company: in this way, all the accounting transactions that cannot be
posted (for example because there isn't a mapping defined) are moved
to the error journal and no error is thrown.
You can create the error journal in this way:
1) go to Accounting-->General Ledger-->Setup-->Journals
and create a new journal:
https://demo.hotwaxmedia.com/accounting/control/SetupGlJournals?organizationPartyId=Company
2) go to Accounting-->General Ledger-->Setup-->Accounting Preferences
and select the journal in the "Error Gl Journal Id":
https://demo.hotwaxmedia.com/accounting/control/PartyAcctgPreference?organizationPartyId=Company
All the "incomplete" transactions will be visible here:
https://demo.hotwaxmedia.com/accounting/control/ListUnpostedAcctgTrans?organizationPartyId=Company
============
Jacopo
Raj Saini wrote:
I am facing the similar problem when I try to do the "Quick Ship
Entire Order" in Order Manager application when not using the demo
data. It works with demo data though.
Error I am getting is:
ERROR: Could not complete the Issue OrderItemShipGrpInvRes to
Shipment
[file:/tmp/ofbiz-trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml#issueOrderItemShipGrpInvResToShipment]
process [problem removing the orderItemShipGrpInvRes value: The
current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Service [createAcctgTransAndEntries] threw an unexpected
exception/errororg.ofbiz.service.ServiceValidationException: The
following required parameter is missing: [OUT]
[createAcctgTransAndEntries.acctgTransId] (The following required
parameter is missing: [OUT]
[createAcctgTransAndEntries.acctgTransId])] calling service
issueOrderItemShipGrpInvResToShipment in
createShipmentForFacilityAndShipGroup
Could it be due to new demo data in accounting package?
Thanks,
Raj
Anil Patel wrote:
Hi,
I did a clean install of demo data. Open the Payment "demo10000"
When I try to change payment status to Reveived by clicking on
"Status to Received" button following exception is thrown
Error calling event: org.ofbiz.webapp.event.EventHandlerException:
Service invocation error (Could not commit transaction for service
[setPaymentStatus] call: Roll back error, could not commit
transaction, was rolled back instead because of: Service
[createAcctgTransAndEntries] threw an unexpected
exception/errororg.ofbiz.service.ServiceValidationException: The
following required parameter is missing: [OUT]
[createAcctgTransAndEntries.acctgTransId] (The following required
parameter is missing: [OUT] [createAcctgTransAndEntries.acctgTransId]))
I am not sure if this is set up data issue or problem with code,
Ideas on what could be the problem here.
Regards
Anil Patel