Notes |
|
(0050623)
|
hgbot
|
2012-07-16 18:22
|
|
Repository: erp/devel/pi
Changeset: ac2a7ca14b205f05f912988f0fd6d11dcb351cb3
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Jul 16 12:23:09 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ac2a7ca14b205f05f912988f0fd6d11dcb351cb3 [^]
Related to issue 21077.Add new column and fields.
---
M src-db/database/model/tables/C_ORDERLINE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
|
|
|
(0050624)
|
hgbot
|
2012-07-16 18:22
|
|
|
|
(0050625)
|
hgbot
|
2012-07-16 18:22
|
|
|
|
(0050626)
|
hgbot
|
2012-07-16 18:22
|
|
|
|
(0050627)
|
hgbot
|
2012-07-16 18:22
|
|
|
|
(0050628)
|
hgbot
|
2012-07-16 18:23
|
|
|
|
(0050629)
|
hgbot
|
2012-07-16 18:23
|
|
|
|
(0050634)
|
hgbot
|
2012-07-16 19:19
|
|
Repository: erp/devel/pi
Changeset: ade92a7ab29b0391d61e431084c06b91014de0ed
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Jul 16 19:13:33 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ade92a7ab29b0391d61e431084c06b91014de0ed [^]
Related to issue 21077.Adapt copy buttons to calculate discount.
---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.java
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_data.xsql
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql
---
|
|
|
(0050635)
|
hgbot
|
2012-07-16 19:19
|
|
|
|
(0050636)
|
hgbot
|
2012-07-16 19:19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(0050665)
|
hgbot
|
2012-07-17 12:33
|
|
|
|
(0050668)
|
hgbot
|
2012-07-17 12:51
|
|
|
|
(0050673)
|
hgbot
|
2012-07-17 16:38
|
|
|
|
(0050674)
|
mirurita
|
2012-07-17 16:56
|
|
code review + testing OK
Testing Plan I
1) Create a new Price List for price including taxes (PIT)
- Org: F&B España, S.A
- Name: PIT - General Sales
- Price Includes Tax: Y
- Sales Price List: Y
2) Create a new Price List Version
- Name: 17-07-2012
- Valid From Date: 01-01-2012
3) Create a new product price
- Agua sin Gas 1L
+ Unit Price: 8
+ List Price: 10
- Cerveza Ale 0,5L
+ Unit Price: 6
+ List Price: 10
- Cola de Cereza 0,5L
+ Unit Price: 0
+ List Price: 0
4) Create a new sales order
- BP: Alimentos y Supermercados, S.A
- Price List: PIT - General Sales
3) Create a new sales order line
- Product: Agua sin Gas 1L
- Ordered Quantity: 2
4) Check values:
- Net Unit Price: 6.78
- Gross Unit Price: 8
- Line Net Amount: 13.56
- Line Gross Amount: 16
- Gross List Price: 10
- Discount: 20
6) Change the discount to 30
- Net Unit Price: 5.93
- Gross Unit Price: 7
- Line Net Amount: 11.86
- Line Gross Amount: 14
- Gross List Price: 10
- Discount: 30
7) Change the gross unit price to 5
- Net Unit Price: 4.24
- Gross Unit Price: 5
- Line Net Amount: 8.48
- Line Gross Amount: 10
- Gross List Price: 10
- Discount: 50
8) Create a new sales order line
- Product: Cerveza Ale 0,5L
- Ordered Quantity: 2
9) Check values:
- Net Unit Price: 5.08
- Gross Unit Price: 6
- Line Net Amount: 10.16
- Line Gross Amount: 12
- Gross List Price: 10
- Discount: 40
10) Create a new sales order line
- Product: Cola de Cereza 0,5L
- Ordered Quantity: 2
11) Check values:
- Net Unit Price: 0
- Gross Unit Price: 0
- Line Net Amount: 0
- Line Gross Amount: 0
- Gross List Price: 0
- Discount: 0
Testing Plan II
1) Create a new sales order
- BP: Alimentos y Supermercados, S.A
- Price List: PIT - General Sales
2) Create a new sales order line
- Product: Agua sin Gas 1L
- Ordered Quantity: 2
3) Check values:
- Net Unit Price: 8
- Gross Unit Price: not displayed
- Line Net Amount: 16
- Line Gross Amount: not displayed
- Gross List Price: not displayed
- Net List Price: 10
- Discount: 20
4) Change the discount to 30
- Net Unit Price: 7
- Gross Unit Price: not displayed
- Line Net Amount: 14
- Line Gross Amount: not displayed
- Gross List Price: not displayed
- Net List Price: 10
- Discount: 30
5) Change the net unit price to 5
- Net Unit Price: 5
- Gross Unit Price: not displayed
- Line Net Amount: 10
- Line Gross Amount: not displayed
- Gross List Price: not displayed
- Net List Price: 10
- Discount: 30 (the discount is not calculated if you change the net unit price, desired behaviour)
6) Create a new sales order line
- Product: Cerveza Ale 0,5L
- Ordered Quantity: 2
7) Check values:
- Net Unit Price: 6
- Gross Unit Price: not displayed
- Line Net Amount: 12
- Line Gross Amount: not displayed
- Gross List Price: not displayed
- Net List Price: 10
- Discount: 40
8) Create a new sales order line
- Product: Cola de Cereza 0,5L
- Ordered Quantity: 2
9) Check values:
- Net Unit Price: 0
- Gross Unit Price: not displayed
- Line Net Amount: 0
- Line Gross Amount: not displayed
- Gross List Price: not displayed
- Net List Price: 0
- Discount: 0
Testing Plan III
1) Create a new sales order
- BP: Alimentos y Supermercados, S.A
- Price List: PIT - General Sales
2) Create a new sales order line
- Product: Agua sin Gas 1L
- Ordered Quantity: 2
3) Complete the Sales Order
4) Create a new sales order header
- BP: Alimentos y Supermercados, S.A
- Price List: PIT - General Sales
5) Click on Copy Lines
6) Select previously created sales order line and quantity = 2
7) Check values:
- Net Unit Price: 6.78
- Gross Unit Price: 8
- Line Net Amount: 13.56
- Line Gross Amount: 16
- Gross List Price: 10
- Discount: 20
8) Remove the sales order line
9) Click on Copy from Order and select previously created the order
10) Check values:
- Net Unit Price: 6.78
- Gross Unit Price: 8
- Line Net Amount: 13.56
- Line Gross Amount: 16
- Gross List Price: 10
- Discount: 20
Testing Plan IV
1) Create a new sales order
- BP: Alimentos y Supermercados, S.A
- Price List: PIT - General Sales
2) Create a new sales order line
- Product: Agua sin Gas 1L
- Ordered Quantity: 2
3) Complete the Sales Order
4) Create a new goods shipment for this sales order
5) Create a new return from customer
- BP: Alimentos y Supermercados, S.A
- Price List: PIT - Ventas Pamplona
6) Click on Pick/Edit Lines
7) Select the record in the grid and enter Returned = 2
8) Click on Done
9) Check values on return from customer line
- Net Unit Price: 6.78
- Gross Unit Price: 8
- Line Net Amount: 13.56
- Line Gross Amount: 16
- Gross List Price: not displayed
- Discount: not displayed |
|
|
|
|
|
|
|
|
|
|
|
(0050713)
|
mirurita
|
2012-07-18 10:23
|
|
Gross List Price field has been included on:
- Sales Order
- Purchase Order
- Return from Customer
- Return to Vendor
It is only visible and read-only on:
- Sales Order
- Purchase Order
Invoices does not have this field.
Expected behavior:
- Using an standard price list (not price including taxes), when you change the net unit price the discount is not recalculated. |
|