Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007825Openbravo ERP08. Project and service managementpublic2009-02-25 15:072009-04-22 00:01
sureshbabu 
vmromanos 
urgentmajoralways
closedfixed 
20rPath Linux
pi 
2.50 
Core
No
0007825: By service project , system wrongly generates Sales order & purchase order for a organization which is not ready
ERP wrongly generates Sales order & purchase order for a organization which is not ready. (through service project)

Note: Create a organization but don't press the button 'set as ready'
Create a organization but don't press the button 'set as ready' and follow the below steps to reproduce the issue.(Note: system allows to generate the Sales order and Purchase order but the user not able to complete the orders.)

 


  * Login as userA
    * Go to Project & Service Management->Transactions->Service Project
    * Click New and fill:
          o Search Key: sca
          o Name: Service Project for Customer A
          o Create Temporary Price List: N (un-checked)
    * Move to Project Line tab.
    * Click New and fill:
          o Product: A Final goods
          o Planned Quantity: 10
          o Tax: VAT 3%
          o Planned Price: 1.75 and verify Planned Amount is 17.5
          o Planned Purchase Price: 1.2
    * Go back to Service Project tab.
    * Select Service Project for Customer A and edit:
          o Business Partner: CUSTOMER A
    * Verify that:
          o Partner Address: "Pamplona, Street Customer center nº1"
          o The combo box User/Contact must have the value: Alfred
          o Price list: CUSTOMER A
          o Form of payment: Money Order
          o Payment terms: 30 days, 5
    * Select:
          o Sales Representative: Eduard
    * Save and click on Change Project Status button and select Order.
    * Verify that:
          o Project Status is Order.
          o Price List is CUSTOMER A.
    * Move to Supplier tab.
    * Click New and fill:
          o Business partner: Vendor A
    * Verify that Price List is PURCHASE.
    * Save and click on Create Purchase Order from Project.
    * Move back to Service Project tab and navigate through Linked Items to the Purchase Order created.
    * Check that:
          o Business Partner: Vendor A
          o Price List: PURCHASE
          o Company Agent: Eduard
          o Form of Payment: Wire Transfer
          o Payment Terms: 90 days
          o Project: sca - Service Project for Customer A
          o Summed Line Amount: 12
          o Grand Total Amount: 12.36
    * Move to Lines tab.
    * Select A Final goods line and check that:
          o Ordered Quantity: 10
          o UOM: Unit
          o Unit Price: 1.2
          o List Price: 1.2
          o Discount: 0
          o Tax: VAT 3%
          o Line Net Amount: 12
    * Go back to Header tab.
    * Click on Complete button.
    * Go back to Project & Service Management->Transactions->Service Project
    * Select Service Project for Customer A and click on Create Sales Order from Project button.
    * Navigate through Linked items to the Sales Order created.
    * Check that:
          o Business Partner: CUSTOMER A
          o Price List: CUSTOMER A
          o Invoice Terms: Customer schedule after delivery
          o Sales Representative: Eduard
          o Form of Payment: Money Order
          o Payment Terms: 30 days, 5
          o Project: sca - Service Project for Customer A
          o Summed Line Amount: 17.5
          o Grand Total Amount: 18.03
    * Move to Lines tab.
    * Select A Final goods line and check that:
          o Ordered Quantity: 10
          o UOM: Unit
          o Unit Price: 1.75
          o List Price: 2
          o Discount: 12.5
          o Tax: VAT 3%
          o Line Net Amount: 17.5
    * Go back to Header tab.
    * Click on Complete button.
    * Go back to Project & Service Management->Transactions->Service Project
    * Select Service Project for Customer A and click on Change Project Status button to close the project selecting Order closed option.
The problem is that you can select that organization even if it is not set as ready when you create the header of the project.

The point is that we should review all the windows where has a process that can generate transactional documents using an organizations that is not set as ready because in that window you can select these kind of organizations
No tags attached.
jpg Not able to complete the purchase order created through simple service project.JPG (212,111) 2009-02-25 15:07
https://issues.openbravo.com/file_download.php?file_id=942&type=bug
jpg
Issue History
2009-02-25 15:07sureshbabuNew Issue
2009-02-25 15:07sureshbabuAssigned To => rafaroda
2009-02-25 15:07sureshbabuFile Added: Not able to complete the purchase order created through simple service project.JPG
2009-02-25 15:07sureshbabuRegression testing => No
2009-02-27 12:08psarobeAssigned Torafaroda => vmromanos
2009-02-27 12:08psarobePrioritynormal => urgent
2009-02-27 12:08psarobeSeverityminor => major
2009-02-27 12:08psarobeSteps to Reproduce Updated
2009-02-27 12:08psarobeStatusnew => scheduled
2009-02-27 12:08psarobefix_in_branch => trunk
2009-03-16 13:31hgbotCheckin
2009-03-16 13:31hgbotNote Added: 0014691
2009-03-16 13:31hgbotStatusscheduled => resolved
2009-03-16 13:31hgbotResolutionopen => fixed
2009-03-16 13:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/909d50991eedede3580e9f0d8ec64932465e8be7 [^]
2009-03-16 14:09hgbotCheckin
2009-03-16 14:09hgbotNote Added: 0014692
2009-03-16 14:09hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/909d50991eedede3580e9f0d8ec64932465e8be7 [^] => http://code.openbravo.com/erp/devel/pi/rev/cc454b863131f9c3372f85e75db99d62e579e4ec [^]
2009-04-21 10:33psarobeStatusresolved => closed
2009-04-22 00:01anonymoussf_bug_id0 => 2778014

Notes
(0014691)
hgbot   
2009-03-16 13:31   
Repository: erp/devel/pi
Changeset: 909d50991eedede3580e9f0d8ec64932465e8be7
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Mar 16 13:28:40 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/909d50991eedede3580e9f0d8ec64932465e8be7 [^]

Fixed bug 7825: By service project , system wrongly generates Sales order & purchase order for a organization which is not ready

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0014692)
hgbot   
2009-03-16 14:09   
Repository: erp/devel/pi
Changeset: cc454b863131f9c3372f85e75db99d62e579e4ec
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Mar 16 14:08:59 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cc454b863131f9c3372f85e75db99d62e579e4ec [^]

Fixed bug 7825: By service project , system wrongly generates Sales order & purchase order for a organization which is not ready

---
M src-db/database/sourcedata/AD_COLUMN.xml
---