Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024365Openbravo ERP09. Financial managementpublic2013-07-18 11:282017-12-27 09:21
psanjuan 
collazoandy4 
urgentmajoralways
closedunable to reproduce 
20Ubuntu 8.04.1
 
 
Core
No
0024365: Payment Schedule Details not properly created while issuing a Return Material Sales Invoice
Payment Schedule Details not properly created while issuing a Return Material Sales Invoice
Navigate to Payment Term window and create a new one having two payment lines, for instance 50% 30 days and 50% 60 days.

Navigate to Business Partner window and associate that payment term to the customer "Healthy Food Supermarket" of the F&B US Inc organization.

Create a Sales Order for a total of 45 units of a product. Book the order.
Create the corresponding Goods Shipment for the 45 units of the product. Complete the shipment
Create the corresponding Sales Invoice by using the button "Create Lines From" and select the shipment. Complete the invoice.

Now the customer returns 5 units of the product.

Create a Return from Customer order by selecting the goods shipment line of 45 units and specify as "returned" quantity 5.

Create the Return Material Receipt document by selecting the return from customer line of -5 units.

Navigate to the Sales Invoice and select the type "Return Material Sales Invoice". Select the -5 units to be invoiced by using the button "Create Lines From", "Shipment/Receipt" checkbox.

Once completed, the payment schedule details of the invoice have not been properly created due to the split of negative amounts. For checking this you need to look into the database as it can not been seen as a user, unless the payment method is setup as described below:

- Automatic Receipt = Yes
- Automatic Deposit = Yes
- Execution Type = Manual
- Upon Receipt Use = Cleared Payment Account.

See image attached.

No tags attached.
related to defect 00260903.0PR14Q3 closed eduardo_Argal Wrong payment plan details for invoices with a negative amount, split payment terms and an order associated 
png error_24365.png (76,058) 2013-07-18 11:52
https://issues.openbravo.com/file_download.php?file_id=6271&type=bug
png
Issue History
2013-07-18 11:28psanjuanNew Issue
2013-07-18 11:28psanjuanAssigned To => dmiguelez
2013-07-18 11:28psanjuanModules => Core
2013-07-18 11:28psanjuanTriggers an Emergency Pack => No
2013-07-18 11:35psanjuanDescription Updatedbug_revision_view_page.php?rev_id=4894#r4894
2013-07-18 11:35psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4896#r4896
2013-07-18 11:35psanjuanProposed Solution updated
2013-07-18 11:36psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4897#r4897
2013-07-18 11:38psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4898#r4898
2013-07-18 11:50psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4899#r4899
2013-07-18 11:52psanjuanFile Added: error_24365.png
2013-12-11 09:56pramakrishnanAssigned Todmiguelez => gauravdeshmukh
2014-05-07 11:09ngarciaRelationship addedrelated to 0026090
2015-05-13 16:03plujanAssigned Togauravdeshmukh => Triage Finance
2017-12-08 21:41collazoandy4Assigned ToTriage Finance => collazoandy4
2017-12-08 21:41collazoandy4Statusnew => scheduled
2017-12-27 09:20psanjuanStatusscheduled => resolved
2017-12-27 09:20psanjuanResolutionopen => unable to reproduce
2017-12-27 09:20psanjuanFixed in SCM revision => n/a
2017-12-27 09:21psanjuanNote Added: 0101260
2017-12-27 09:21psanjuanStatusresolved => closed

Notes
(0101260)
psanjuan   
2017-12-27 09:21   
Issue closed as it can not be reproduced anymore.