Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0011154 | Openbravo ERP | 07. Sales management | public | 2009-10-27 10:18 | 2009-11-13 12:36 |
|
Reporter | networkb | |
Assigned To | harikrishnan | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.35MP15 | |
Target Version | 2.35MP16 | Fixed in Version | 2.35MP16 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0011154: Process "Create Lines From" invoices doesn't have into account the Invoice terms set |
Description | For example, you have a completed Sales Order with InvoiceTerms= after delivery. Then you make a new Sales Invoice by selecting the order with "create lines from" button.
You should not be able to create an invoice because with this kind of InvoiceTerms you should have the Shipment in the system and you haven't. |
Steps To Reproduce | 1. Sales Management || Transactions || Sales Order: create new record with InvoiceTerms=after delivery. Complete.
2. Sales Management || Transactions || Sales Invoice: create new record for same business partner and "Create Lines From" choosing the sales order.
You are able to create an invoice for a Sales Order "after delivery" without shipment created. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0011146 | 2.35MP16 | closed | harikrishnan | Process "Create Lines From" invoices doesn't have into account the Invoice terms set |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-10-28 08:58 | psarobe | Type | defect => backport |
2009-10-28 08:58 | psarobe | fix_in_branch | => 2.3x |
2009-11-10 08:05 | harikrishnan | Assigned To | rafaroda => harikrishnan |
2009-11-12 06:28 | harikrishnan | Note Added: 0021749 | |
2009-11-12 06:35 | hgbot | Checkin | |
2009-11-12 06:35 | hgbot | Note Added: 0021750 | |
2009-11-12 06:35 | hgbot | Status | scheduled => resolved |
2009-11-12 06:35 | hgbot | Resolution | open => fixed |
2009-11-12 06:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.3x/rev/d87ad0107c64a56f40204b1c3d6620889a9fa8e0 [^] |
2009-11-13 12:36 | arunkumar | Note Added: 0021811 | |
2009-11-13 12:36 | arunkumar | Status | resolved => closed |
2009-11-13 12:36 | arunkumar | Fixed in Version | => 2.35MP16 |
Notes |
|
|
Test Case.
1.Create a new sales order (Sales Management || Transactions || Sales Order) with following "After Delivery" Invoice Terms.
Definition for "After Delivery" Invoice Term :
In this case the customer will be invoiced for the goods that have been delivered
Header
*Invoice Terms=After Delivery.
*Business Partner = mcgiver
Line
*Create two lines for product A & B
#Product A=5
#Product B=3
Complete the sales order.
Now go to Goods Shipment (Sales Management || Transactions || Goods Shipment || Header) and create a shipment order for the above sales order.
Create a new Shipment order with following details
Header
*Business Partner = mcgiver
Lines
*Create a line for product A alone.
Complete the shipment order.
Hence according to the definition now the sales order should appear in the drop down of sales invoice "Create Line From" pop up page(Sales Management || Transactions || Sales Invoice || Header ) .
2.Create a new sales order (Sales Management || Transactions || Sales Order) with following "After order delivered" Invoice Terms.
Definition for "After order delivered" Invoice Term :
In this case the customer wants to be invoiced after all lines on the sales order have been delivered
Header
*Invoice Terms=After order delivered.
*Business Partner = mcgiver
Line
*Create two lines for product A & B
#Product A=5
#Product B=3
Complete the sales order.
Now go to Goods Shipment (Sales Management || Transactions || Goods Shipment || Header) and create a shipment order for the above sales order.
Create a new Shipment order with following details
Header
*Business Partner = mcgiver
Using "create lines" button,select the sales order(created above) in the drop down.Select both the products A & B.
Complete the shipment order.
Hence according to the definition now the sales order should appear in the drop down of sales invoice "Create Line From" pop up page(Sales Management || Transactions || Sales Invoice || Header ) .
3.Create a new sales order (Sales Management || Transactions || Sales Order) with "Customer Schedule After Delivery" Invoice Terms.
This invoice term behave similar to above "After order delivered" term.Hence follow the same steps.
4.Create a new sales order (Sales Management || Transactions || Sales Order) with "Do not invoice"
Definition for "Do not invoice" Invoice Term :
This invoice term is used for very important customers. The implication is that no invoice gets sent out until the customer give you the go ahead.
Header
*Invoice Terms=Do not invoice.
*Business Partner = mcgiver
Line
*Create two lines for product A & B
#Product A=5
#Product B=3
Complete the sales order.
Now go to Goods Shipment (Sales Management || Transactions || Goods Shipment || Header) and create a shipment order for the above sales order.
Create a new Shipment order with following details
Header
*Business Partner = mcgiver
Using "create lines" button,select the sales order(created above) in the drop down.Select both the products A & B.
Complete the shipment order.
The above sales order should not be displayed in the drop down of sales invoice "Create Line From" pop up page(Sales Management || Transactions || Sales Invoice || Header ) even all the orders are delivered.
5.Create a new sales order (Sales Management || Transactions || Sales Order) with "Immediate" Invoice Terms
Definition for "Immediate" Invoice Term :
When the invoice term is Immediate, the invoice for the Sales Order gets created instantly, regardless of whether any shipment of ordered products took place or not.
Header
*Invoice Terms=Immediate.
Line
*Create two lines for product A & B
#Product A=5
#Product B=3
Complete the sales order.
Hence with out creating the shipment order we can create invoice for this order.Hence this will appear in the drop down of sales invoice "Create Line From" pop up page(Sales Management || Transactions || Sales Invoice || Header ) .
The functional documentation for the invoice term is available in this link.
http://wiki.openbravo.com/wiki/Functional_Documentation/Sales_Management#Invoice_Terms [^] [^] |
|
|
(0021750)
|
hgbot
|
2009-11-12 06:35
|
|
Repository: erp/stable/2.3x
Changeset: d87ad0107c64a56f40204b1c3d6620889a9fa8e0
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Nov 12 11:04:16 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.3x/rev/d87ad0107c64a56f40204b1c3d6620889a9fa8e0 [^]
Fixes Issue 11154: Process \"Create Lines From\" invoices doesn't have into account the Invoice terms set.
---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
|
|
|
|
|