Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036420Openbravo ERPZ. Otherspublic2017-07-05 17:352018-04-18 10:00
collazoandy4 
Triage Omni OMS 
normalminoralways
closedduplicate 
5
 
3.0PR18Q2 
ngarcia
Core
No
0036420: Void process create a new payment for not paid invoice if c_invoice_post process fail
When voiding a not paid invoice the process create a dummy payment if the c_invoice_post process fail
Go to Sales Invoice window and create a new record for any bp
  Create a new record in Lines tab for any product
  Complete the invoice and check no payment is asociated to the invoice
Edit the c_invoce_post procedure that cause an exception in pg for instance
  IF (1 = 1) THEN
    RAISE EXCEPTION '%', '@AlreadyPosted@'; --OBTG:-20000--
 END IF;
Go to the invoice previous created and run void process:
 Check finish with the error created
 Check a new payment is created to the invoice
No tags attached.
duplicate of defect 0037963 closed markmm82 Payment in Awaiting payment status is created when an invoice cannot be voided because document cancelled is a return 
Issue History
2017-07-05 17:35collazoandy4New Issue
2017-07-05 17:35collazoandy4Assigned To => Triage Finance
2017-07-05 17:35collazoandy4Modules => Core
2017-07-05 17:35collazoandy4Triggers an Emergency Pack => No
2017-07-11 20:39collazoandy4Note Added: 0098028
2017-07-11 20:42collazoandy4Statusnew => scheduled
2018-04-18 10:00ngarciaReview Assigned To => ngarcia
2018-04-18 10:00ngarciaRelationship addedduplicate of 0038179
2018-04-18 10:00ngarciaStatusscheduled => closed
2018-04-18 10:00ngarciaResolutionopen => duplicate
2018-04-18 10:00ngarciaFixed in Version => 3.0PR18Q2
2018-04-18 10:00ngarciaRelationship addedduplicate of 0037963
2018-04-18 10:00ngarciaRelationship deleted0038179

Notes
(0098028)
collazoandy4   
2017-07-11 20:39   
Test Plan
  Go to Sales Invoice window and create a new record for any bp
    Create a new record in Lines tab for any product
    Complete the invoice and check no payment is asociated to the invoice
  Edit the c_invoce_post procedure that cause an exception in pg for instance
  IF (1 = 1) THEN
    RAISE EXCEPTION '%', '@AlreadyPosted@'; --OBTG:-20000--
  END IF;
  Go to the invoice previous created and run void process:
   Check finish with the error created 'Record cannot be changed because is processed'
   Check no new payment is created to the invoice