|
Create a simple layaway (e.g. with 1 avalanche transceiver)
Layaway it.
Load the layaway again.
Void the layaway.
Add a payment (e.g. 50€)
Click on Done.
Red error message in POS: There was an error voiding the Layaway.
Server side error:
2015-10-19 15:01:42,162 [ajp-localhost%2F127.0.0.1-8809-7] ERROR org.hibernate.util.JDBCExceptionReporter - Batch entry 0 insert into FIN_Finacc_Transaction (AD_Client_ID, AD_Org_ID, Created, Createdby, Updated, Updatedby, Isactive, C_Currency_ID, Fin_Financial_Account_ID, Line, Fin_Payment_ID, DateAcct, Status, Paymentamt, Depositamt, Processed, Processing, Posted, Trxtype, Statementdate, Description, CreatedByAlgorithm, C_Bpartner_ID, EM_APRM_Modify, EM_Aprm_Processed, Fin_Finacc_Transaction_ID) values ('39363B0921BB4293B48383844325E84C', 'D270A5AC50874F8BA67A88EE977F8E3B', '2015-10-19 15:01:42.132000 +02:00:00', '3073EDF96A3C42CC86C7069E379522D2', '2015-10-19 15:01:42.132000 +02:00:00', '3073EDF96A3C42CC86C7069E379522D2', 'Y', '102', 'F37A1534BB6C4BB9AC8564B7850792D4', 300, '6409287A0C214344B9F7E164E885E940', '2015-10-19 00:00:00.000000 +02:00:00', 'RDNC', '0.00', '0', 'Y', 'N', 'N', 'BPW', '2015-10-19 00:00:00.000000 +02:00:00', 'Order No.: VBS1/0000083
', 'N', 'ABD91C9D3BC94175B876FBBE9CACA008', 'N', 'P', 'E7865E8D7C7545F3AB2436D044F646A8') was aborted. Call getNextException to see the cause.
2015-10-19 15:01:42,167 [ajp-localhost%2F127.0.0.1-8809-7] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: new row for relation "fin_finacc_transaction" violates check constraint "fin_trans_amounts_chk"
2015-10-19 15:01:42,171 [ajp-localhost%2F127.0.0.1-8809-7] ERROR org.openbravo.mobile.core.process.SecuredJSONProcess - Could not execute JDBC batch update
...
2015-10-19 15:01:54,033 [ajp-localhost%2F127.0.0.1-8809-7] ERROR org.openbravo.base.util.CheckException - Triggers disabled, commit is not allowed when in triggers-disabled mode, call TriggerHandler.enable() before committing
org.openbravo.base.util.CheckException: Triggers disabled, commit is not allowed when in triggers-disabled mode, call TriggerHandler.enable() before committing
(taken from retail_stable_pgsql_pi_openbravo.log) |
|