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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038003
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2018-02-26 19:352018-03-08 15:41
Reportermarkmm82View Statuspublic 
Assigned Tocollazoandy4 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038003: Incorrect data adding a sales order line to a goods shipment if the AUM feature is activated after the order was created

DescriptionIncorrect data adding a sales order line to a goods shipment if the AUM feature is activated after the order was created

When the Create Lines From process is executed the Aletrnative Quantity and AUM are not correctly populated if exists defined AUMs for used product.
Steps To ReproduceAs group admin role:
   Create a Sales Order, add a product and book it

As System admin role:
   Set 'Enable UOM Management' preference to Y

As group admin role:
   Go to the Product window and select the product used in the Purchase Order previously created.
   Create an AUM between the uom of the product and for instance Kilogram unit with conversion rate = 10

   Create a Goods Shipment header
   Click Create Lines From process and select the previously created order
     Notice the AUM and AUM quantities are the same which is incorrect because should be Kilogram instead of Unit the AUM, also the Alternative Qty must be 1 as it represents 10 units of the base unit.
       Alternative UOM = Unit
       Operative Quantity = 10
       Movement Quantity = 10
       UOM = Unit.
   Press done and notice that Operative Quantity and Alternative UOM are empty and it is wrong.
   The copied line should have the following values:
       Alternative UOM = Kilogram
       Operative Quantity = 1
       Movement Quantity = 10
       UOM = Unit.

Issue is also reproducible if there are not AUMs defined.

Should be fixed for the Sales Invoice workflows too.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0037882 closedmarkmm82 Cannot add a purchase order line to a goods receipt if the Alternate UOM feature is activated after the order was created 

-  Notes
(0103086)
collazoandy4 (reporter)
2018-03-08 15:41

Test Plan I
  As International Group Admin Role:
    Go to Sales Order window and create a new record for Alimentos y Supermercados, S.A bp:
      Create a new record in Lines tab:
        Product: Zumo de Piña 0,5L
        Ordered Quantity: 10
      Book the order

  As System Admin Role:
    Set 'Enable UOM Management' preference to Y

  As International Group Admin Role:
    Go to Goods Shipment window and create a new record for Alimentos y Supermercados, S.A bp:
      Clic on Create Lines From process and select the previously created order
      Check the shipment line was created successfully and it uses the UOM as AUM, and the UOMQTY as AUMQTY.

Test Plan II
  As International Group Admin Role:
    Go to Sales Order window and create a new record for Alimentos y Supermercados, S.A bp:
      Create a new record in Lines tab:
        Product: Zumo de Piña 0,5L
        Ordered Quantity: 10
      Book the order

  As System Admin Role:
    Set 'Enable UOM Management' preference to Y

  As International Group Admin Role:
   Go to the Product window and select Zumo de Piña 0,5L record:
     Create a new record in Alternate UOM tab:
       UOM: Liter
       Conversion Rate: 10
       Sales: Primary
       Purchase: Primary
    Go to Goods Shipment window and create a new record for Alimentos y Supermercados, S.A bp:
      Clic on Create Lines From process and select the previously created order
      Check the AUM and AUM quantities has been calculated based on the base uom and the ordered quantity.
        Alternative UOM = Liter
        Operative Quantity = 1
        Movement Quantity = 10
        UOM = Unit.
      Clic on Done button and check:
        The shipment line was created successfully
        Alternative UOM = Liter
        Operative Quantity = 1
        Movement Quantity = 10
        UOM = Unit.

Test Plan III
  As System Admin Role:
   Set 'Enable UOM Management' preference to Y

  As International Group Admin Role:
    Go to the Product window and select Zumo de Pera 0,5L record:
     Create a new record in Alternate UOM tab:
       UOM: Liter
       Conversion Rate: 10
       Sales: Primary
       Purchase: Primary
    Go to Sales Order window and create a new record for Alimentos y Supermercados, S.A bp:
      Create a new record in Lines tab:
        Product: Zumo de Pera 0,5L
        Operative Quantity: 1
        Alternative UOMM: Liter
        Check Ordered Quantity is 10
      Book the order
    Go to Goods Shipment window and create a new record for Alimentos y Supermercados, S.A bp:
      Clic on Create Lines From process and select the previously created order
      Check the AUM and AUM quantities has been calculated based on the base uom and the ordered quantity.
        Alternative UOM = Liter
        Operative Quantity = 1
        Movement Quantity = 10
        UOM = Unit.
      Clic on Done button and check:
        The shipment line was created successfully
        Alternative UOM = Liter
        Operative Quantity = 1
        Movement Quantity = 10
        UOM = Unit.
Test Plan IV
  Repeat the above test plan for Sales Invoice

- Issue History
Date Modified Username Field Change
2018-02-26 19:35 markmm82 New Issue
2018-02-26 19:35 markmm82 Assigned To => Triage Finance
2018-02-26 19:35 markmm82 Modules => Core
2018-02-26 19:35 markmm82 Triggers an Emergency Pack => No
2018-02-26 19:42 markmm82 Relationship added related to 0037882
2018-02-26 19:44 markmm82 Steps to Reproduce Updated View Revisions
2018-02-27 10:03 ngarcia Issue Monitored: ngarcia
2018-03-07 18:49 collazoandy4 Assigned To Triage Finance => collazoandy4
2018-03-07 18:49 collazoandy4 Status new => scheduled
2018-03-08 15:41 collazoandy4 Note Added: 0103086


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker