Description | Inserting an Amortization in Postgre we get this error:
14:17:57 [http-8080-Processor9] ERROR org.openbravo.erpWindows.Assets.AssetamortizationData - SQL error in query: INSERT INTO A_Amort
izationline (AD_Org_ID, AD_Client_ID, IsActive, A_Amortization_ID, Line, Amortizationamt, C_Currency_ID, Amortization_Porcentage, A_Am
ortizationline_ID, A_Asset_ID, created, createdby, updated, updatedBy) VALUES (TO_NUMBER(?), TO_NUMBER(?), (?), TO_NUMBER(?), TO_NUMBER
(?), TO_NUMBER(?), TO_NUMBER(?), TO_NUMBER(?), TO_NUMBER(?), TO_NUMBER(?), now(), to_number(?), now(), to_number(?)) Exception:org.postgres
ql.util.PSQLException: ERROR: record "old" is not assigned yet
Detail: The tuple structure of a not-yet-assigned record is indeterminate.
14:17:57 [http-8080-Processor9] ERROR org.openbravo.erpWindows.Assets.Assetamortization - Error captured: 0
It looks like an error in the inserting trigger. |