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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011153
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2009-10-27 10:182009-11-16 08:10
ReporternetworkbView Statuspublic 
Assigned Toharikrishnan 
PriorityhighResolutionfixedFixed in Version2.40MP11
StatusclosedFix in branch2.40Fixed in SCM revisionfe93ebe83efb
ProjectionnoneETAnoneTarget Version2.35MP16
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.35MP15SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011153: Process "Create Lines From" invoices doesn't have into account the Invoice terms set

DescriptionFor 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 Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00111462.35MP16 closedharikrishnan Process "Create Lines From" invoices doesn't have into account the Invoice terms set 

-  Notes
(0021748)
harikrishnan (reporter)
2009-11-12 06:28

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 [^] [^]
(0021795)
hgbot (developer)
2009-11-13 05:03

Repository: erp/stable/2.40
Changeset: fe93ebe83efbd870cf34d2e6c77c48e1255ec59e
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri Nov 13 09:32:21 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/fe93ebe83efbd870cf34d2e6c77c48e1255ec59e [^]

Fixes Issue 11153: 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
---
(0021829)
arunkumar (reporter)
2009-11-16 08:10

Tested & Working fine

- 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.40
2009-11-10 08:05 harikrishnan Assigned To rafaroda => harikrishnan
2009-11-12 06:28 harikrishnan Note Added: 0021748
2009-11-13 05:03 hgbot Checkin
2009-11-13 05:03 hgbot Note Added: 0021795
2009-11-13 05:03 hgbot Status scheduled => resolved
2009-11-13 05:03 hgbot Resolution open => fixed
2009-11-13 05:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/fe93ebe83efbd870cf34d2e6c77c48e1255ec59e [^]
2009-11-16 08:10 arunkumar Note Added: 0021829
2009-11-16 08:10 arunkumar Status resolved => closed
2009-11-16 08:10 arunkumar Fixed in Version => 2.40MP11


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker