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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011383
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 07. Sales managementmajoralways2009-11-17 07:522017-03-23 14:19
ReporterarunkumarView Statuspublic 
Assigned Toluisrs8608 
PriorityurgentResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011383: Sales order - Invoice Terms "After Delivery" - Able to create invoice for goods not shipped

DescriptionCreating a sales order with two lines. Each line has different product. Create goods shipment for only one product. But able to complete the sales invoice for both the products even though for one product there is no shipment available.
Steps To ReproduceLogin as Openbravo/openbravo with "Openbravo Admin" role.
Go to Sales Management || Transactions || Sales Order || Header
Create a new sales order with business partner as "Mcgiver Supplies" and select the invoice terms as "After Delivery".
Save the header and go to lines.
Create two lines.First line with product openbravo badges (invoiced quantity : 5) and second line with product hammer (invoiced quantity : 5)
Come back to header and complete the document.

Go to Sales Management || Transactions || Goods Shipment || Header
Create a new record and select the business partner "Mcgiver Supplies".
Click "Create Lines From".A popup window will open.
There select the warehouse and select the sales order which you have created recently.
Two lines will appear.One is openbravo badges and another one is hammer.
Check the checkbox of openbravo badges and click ok.
"Process completed successfully" message will appear.
Go to lines and confirm there is only one line with product openbravo badges.
Come back to header and complete the document.

Go to Sales Management || Transactions || Sales Invoice || Header
Create a new record. Select the Transaction Document as "AR Invoice" and business partner "Mcgiver Supplies".
Click "Create Lines From"
A popup window will be opened.In the order combo box select the order which you have created recently.
Two lines will appear. Check the two lines and click ok."Process completed successfully" message will appear.
Go to lines and verify there are two lines.One with product openbravo badges and another with hammer.
Go back to Sales invoice and complete the document.

You will be able to complete the sales invoice document.

 
Proposed SolutionAs per the functional document given in wiki link for sales invoice we should not be able to complete the sales invoice.

After delivery

In this case the customer will be invoiced for the goods that have been delivered. For example, if the customer has ordered 10 units of product A and 7 units were delivered, an invoice for 7 units of product A will be created and sent to the customer. The invoice for the remaining 3 units will be created and sent, after shipment takes place of those 3 units.

In the above scenario we have done goods shipment only for openbravo badges product not for hammer.So we should be able to complete the invoice only for the product openbravo badges for which the shipment is done.But existing functionality allows to invoice the product hammer for which the shipment is not done.


TagsOB3-Reviewed, VMA-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0036870 closedAtulOpenbravo 'Customer Schedule After Delivery' invoice terms excludes services while 'After delivery' doesn't. 

-  Notes
(0043355)
jonalegriaesarte (reporter)
2011-11-25 17:25

Targer version changed to MP7 due to other priorities
(0044534)
jonalegriaesarte (reporter)
2012-01-25 09:48

Targert version changed to MP7 due to other priorities
(0048740)
naiaramartinez (developer)
2012-05-17 16:47

Test Plan:
  Go to Sales Order window and create a new record.Fill:
     invoice terms as "After Delivery"
  Go to lines tab and create new lines.
  Book the order.

  Go to good shipment window and create a new record. Fill:
      business partner: the same business partner than in newly created sales order
   Press 'Create lines button'. In the popup select the warehouse and select the sales order that you created recently. Two lines will appear. Select only one and press 'OK' button. Complete the shipment.

  Go to Sales invoice window and create a new record. Fill:
     business partner: the same business partner than in newly created sales order and goods shipment.
  Press 'Create Lines From'. In the order combobox select the order that you created recently.
   Notice that you only see the line that you completed in the good shipment.
(0094867)
ngarcia (developer)
2017-03-09 11:44
edited on: 2017-03-09 11:48

Create Invoices From Orders and Generate Invoices processes only include the already shipped lines and quantities.

Create Lines From process allows to enter lines pending to be shipped:
- For partially shipped ones invoiced quantity is updated to the shipped quantity and shows a warning if you modify it:

"Invoiced Quantity should not be higher than Delivered Quantity when Invoice Terms are After Delivery"

- For not shipped lines the invoiced quantity is not updated to 0

(0095479)
luisrs8608 (developer)
2017-03-21 15:40

Test Plan:
Login as Openbravo/openbravo with "Openbravo Admin" role.

1. Go to Sales Management || Transactions || Sales Order || Header
2. Create a new sales order with business partner as "Mcgiver Supplies" and select the invoice terms as "After Delivery".
3. Save the header and go to lines.
3. Create two lines. First line with product openbravo badges (invoiced quantity : 5) and second line with product hammer (invoiced quantity : 5)
4. Come back to header and complete the document.

5. Go to Sales Management || Transactions || Goods Shipment || Header
6. Create a new record and select the business partner "Mcgiver Supplies".
7. Click "Create Lines From". A popup window will open.
8. There select the warehouse and select the sales order which you have created recently.
Two lines will appear. One is openbravo badges and another one is hammer.
9. Check the checkbox of openbravo badges and click ok.
"Process completed successfully" message will appear.
10. Go to lines and confirm there is only one line with product openbravo badges.
11. Come back to header and complete the document.

12. Go to Sales Management || Transactions || Sales Invoice || Header
13. Create a new record. Select the Transaction Document as "AR Invoice" and business partner "Mcgiver Supplies".
14. Click "Create Lines From"
15. A popup window will be opened. In the order combo box select the order which you have created recently.
16. Two lines will appear. Check the two lines and click ok. "Process completed successfully" message will appear.
17. Go to lines and verify there are two lines.One with product openbravo badges and another with hammer.
18. Go back to Sales invoice and try complete the document a Error message is shown: "You can not complete a invoice for Sales Order whit invoce terms After Delivery whith out shipment".
(0095530)
ngarcia (developer)
2017-03-23 14:19
edited on: 2017-03-23 14:22

Customer should use goods shipment combo box in the Create Lines From process in order to invoice orders with Invoice terms After Delivery.

One solution could be to show only orders with Immediate Invoice terms in the sales order combo box inside the Create Lines From process.


- Issue History
Date Modified Username Field Change
2009-11-17 07:52 arunkumar New Issue
2009-11-17 07:52 arunkumar Assigned To => rafaroda
2010-02-11 18:16 rafaroda Assigned To rafaroda => adrianromero
2011-06-03 11:00 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:11 dalsasua Assigned To dalsasua => jonalegriaesarte
2011-09-15 22:15 psarobe Status new => scheduled
2011-09-15 22:15 psarobe Target Version => 3.0MP5
2011-10-29 20:50 psarobe Priority normal => urgent
2011-10-29 20:50 psarobe Tag Attached: contrib
2011-10-29 20:50 psarobe Tag Detached: contrib
2011-10-29 20:50 psarobe Tag Attached: OB3-Reviewed
2011-10-31 11:54 jonalegriaesarte Target Version 3.0MP5 => 3.0MP6
2011-11-25 17:25 jonalegriaesarte Note Added: 0043355
2011-11-25 17:25 jonalegriaesarte Target Version 3.0MP6 => 3.0MP7
2011-12-30 10:23 jonalegriaesarte Target Version 3.0MP7 => 3.0MP8
2012-01-25 09:48 jonalegriaesarte Note Added: 0044534
2012-01-25 09:48 jonalegriaesarte Target Version 3.0MP8 => 3.0MP9
2012-02-15 13:14 jonalegriaesarte Target Version 3.0MP9 =>
2012-02-15 19:03 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-17 09:12 vmromanos Tag Attached: VMA-Reviewed
2012-05-10 12:13 gorka_gil Assigned To vmromanos => mirurita
2012-05-17 16:47 naiaramartinez Note Added: 0048740
2012-06-11 15:29 naiaramartinez Assigned To mirurita => naiaramartinez
2013-05-14 11:27 dmiguelez Triggers an Emergency Pack => No
2013-05-14 11:27 dmiguelez Type defect => design defect
2017-03-09 11:31 ngarcia Assigned To naiaramartinez => Triage Finance
2017-03-09 11:34 ngarcia Issue Monitored: ngarcia
2017-03-09 11:34 ngarcia Issue Monitored: networkb
2017-03-09 11:40 ngarcia Resolution time => 1490824800
2017-03-09 11:40 ngarcia Type design defect => defect
2017-03-09 11:44 ngarcia Note Added: 0094867
2017-03-09 11:44 ngarcia Reproducibility have not tried => always
2017-03-09 11:47 ngarcia Note Edited: 0094867 View Revisions
2017-03-09 11:48 ngarcia Note Edited: 0094867 View Revisions
2017-03-12 17:22 markmm82 Assigned To Triage Finance => luisrs8608
2017-03-21 15:40 luisrs8608 Note Added: 0095479
2017-03-23 14:17 ngarcia Resolution time 1490824800 =>
2017-03-23 14:17 ngarcia Type defect => design defect
2017-03-23 14:19 ngarcia Note Added: 0095530
2017-03-23 14:22 aferraz Note Edited: 0095530 View Revisions
2017-09-19 13:39 aferraz Relationship added related to 0036870


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker