Hi, I tried to add financial component to ofbiz. I put it in the hot-deploy folder of the ofbiz tree structure and I got this error:
"...ServiceDispatcher.java:406:ERROR] Service Error [getPaymentAccountAndParties]: No GL Account found for Payment with paymentId demo10010 ... Error loading XML Resource "file:/applications/accounting/data/PaymentsInvoices.xml"; Error was: A transaction error occurred reading data..." I found that the problem is in Payments(OFBiz) demo data. More specifically this line: /applications/accounting/data/PaymentsInvoices.xml (line 29 - <Payment paymentId="demo10010" paymentTypeId="CUSTOMER_REFUND" paymentMethodTypeId="EXT_BILLACT" partyIdFrom="TESTING" partyIdTo="AcctBuyer" statusId="PMNT_SENT" effectiveDate="2006-04-25 13:11:05.94" amount="20.0" currencyUomId="USD" lastUpdatedStamp="2006-04-25 13:12:57.445" lastUpdatedTxStamp="2006-04-25 13:12:57.33" createdStamp="2006-04-25 13:11:05.941" createdTxStamp="2006-04-25 13:11:05.941"/>) Demo data can't be loaded because status of the payment is "PMNT_SENT"(in this situation financial eca rule invokes postPaymentToGl service which requires additional demo data). Is there any solution of my problem? Regards: Rashko Rejmer
