Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020798
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2012-06-19 10:372012-06-19 17:08
ReportermiruritaView Statuspublic 
Assigned Toeduardo_Argal 
PriorityhighResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020798: Reactivate Payment: TADPI.FIN_PAYMENT_ORIGSCHEDDETAIL violated - child record found

DescriptionConfigure the payment method of the invoice to generate automatically the payment.
Put in the same invoice two orders and complete the invoice.
If you reactivate this payment and then try to generate credit reusing the same payment it fails (see attached screenshot).

Caused by: java.sql.BatchUpdateException: ORA-02292: integrity constraint (TADPI.FIN_PAYMENT_ORIGSCHEDDETAIL) violated - child record found

    at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10296)
    at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:216)
    at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
Steps To Reproduce1) Create a Sales Order (SO1) for Alimentos. Total= 46.5€
2) Create a Sales Order (SO2) for Alimentos. Total= 4.9€
3) Configure payment method for Alimentos to create automatically the payment when completing the invoice.
4) Create a Sales Invoice (SI1) for Alimentos. Invoice both orders. Total= 51.4€
5) Complete the Invoice
6) Reactivate automatically created payment
7) Click on add details button
8) Unmark the selected lines in the grid. The total amount will be left as credit.
9) Click Process button
See attached screenshot
TagsNo tags attached.
Attached Filespng file icon Reactivate Payment orig error.png [^] (11,211 bytes) 2012-06-19 10:37

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0020771 closednaiaramartinez Automatic payment completing the invoice: two orders in same invoice creates incorrect payment 

-  Notes
(0049928)
eduardo_Argal (developer)
2012-06-19 17:08

Bug was present due to a wrong behavior in invoice processing (payment generation)

- Issue History
Date Modified Username Field Change
2012-06-19 10:37 mirurita New Issue
2012-06-19 10:37 mirurita Assigned To => eduardo_Argal
2012-06-19 10:37 mirurita File Added: Reactivate Payment orig error.png
2012-06-19 10:37 mirurita Modules => Advanced Payables and Receivables Mngmt
2012-06-19 17:08 eduardo_Argal Relationship added related to 0020771
2012-06-19 17:08 eduardo_Argal Note Added: 0049928
2012-06-19 17:08 eduardo_Argal Status new => closed
2012-06-19 17:08 eduardo_Argal Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker