Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022678Openbravo ERP03. Procurement managementpublic2012-12-27 10:402018-04-13 11:56
mirurita 
mirurita 
normalmajoralways
closedfixed 
20Community Appliance
pi 
 
Sandrahuguet
Core
No
0022678: When voiding a purchase invoice & goods receipt it should be possible to specify the reversal document date and accounting date
When voiding a purchase invoice & goods receipt it should be possible to specify the reversal document date and accounting date

* This new behavior should ONLY apply to Purchase invoice and goods receipt.

* Ability to specify new reversal document date and accounting date in the modal popup.

* Default values for both fields:
 + Purchase Invoice: both dates should be defaulted to current date.
 + Goods Receipt: both dates should be defaulted to the original document dates.

* Validations:
 + Both fields are mandatory.
 + Both fields should check if the entered date is in a valid format.
 + Both dates must be after the original document dates. You cannot void a document with a date prior to the original document.

* Generated reversal document should take the dates specified in the modal popup.
1) Create a new purchase invoice
2) Click on Reactivate button and then select void action
3) Realize that you can enter void date and accounting date.
4) They should be defaulted to current date.
5) Check that you cannot leave fields empty and process.
6) Check that you cannot enter an invalid date format and process.
7) Check that you cannot enter a date prior to the original document date.

1) Create a new goods receipt
2) Click on Close button and then select void action
3) Realize that you can enter void date and accounting date.
4) They should be defaulted to original document dates.
5) Check that you cannot leave fields empty and process.
6) Check that you cannot enter an invalid date format and process.
7) Check that you cannot enter a date prior to the original document date.

See attached screenshot
No tags attached.
related to feature request 0023678 new Triage Omni OMS It would be nice to be able to specify the reversal document date and accounting date, when voiding Sales Invoice and Shipment 
png Screenshot from 2012-12-27 10:30:30.png (75,070) 2012-12-27 10:40
https://issues.openbravo.com/file_download.php?file_id=5861&type=bug
png
Issue History
2012-12-27 10:40miruritaNew Issue
2012-12-27 10:40miruritaAssigned To => mirurita
2012-12-27 10:40miruritaFile Added: Screenshot from 2012-12-27 10:30:30.png
2012-12-27 10:40miruritaModules => Core
2012-12-27 10:40miruritaTriggers an Emergency Pack => No
2012-12-27 10:47miruritaDescription Updatedbug_revision_view_page.php?rev_id=4227#r4227
2012-12-27 17:13hgbotCheckin
2012-12-27 17:13hgbotNote Added: 0055252
2012-12-27 17:13hgbotStatusnew => resolved
2012-12-27 17:13hgbotResolutionopen => fixed
2012-12-27 17:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f52f30e7dc2f0bb74e2a36f0ea003d1b4661ce6b [^]
2012-12-27 17:19miruritaNote Added: 0055253
2012-12-27 17:42SandrahuguetNote Added: 0055254
2012-12-27 17:47SandrahuguetReview Assigned To => Sandrahuguet
2012-12-27 17:47SandrahuguetStatusresolved => closed
2012-12-28 00:36hgbotCheckin
2012-12-28 00:36hgbotNote Added: 0055257
2012-12-28 00:39hgbotCheckin
2012-12-28 00:39hgbotNote Added: 0055258
2013-01-02 09:37hgbotCheckin
2013-01-02 09:37hgbotNote Added: 0055298
2013-01-02 19:13hgbotCheckin
2013-01-02 19:13hgbotNote Added: 0055310
2013-01-03 13:12hudsonbotCheckin
2013-01-03 13:12hudsonbotNote Added: 0055331
2013-01-03 13:12hudsonbotCheckin
2013-01-03 13:12hudsonbotNote Added: 0055332
2013-01-03 13:12hudsonbotCheckin
2013-01-03 13:12hudsonbotNote Added: 0055333
2013-01-04 09:53hudsonbotCheckin
2013-01-04 09:53hudsonbotNote Added: 0055350
2013-04-29 18:39maiteRelationship addedrelated to 0023678
2018-04-13 11:56ngarciaRelationship addedrelated to 0016534
2018-04-13 11:56ngarciaRelationship deletedrelated to 0016534

Notes
(0055252)
hgbot   
2012-12-27 17:13   
Repository: erp/devel/pi
Changeset: f52f30e7dc2f0bb74e2a36f0ea003d1b4661ce6b
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 27 10:41:54 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f52f30e7dc2f0bb74e2a36f0ea003d1b4661ce6b [^]

Fixes issue 22678: ability to specify reversal document date when voiding

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
M src-db/database/model/functions/C_INVOICE_POST.xml
M src-db/database/model/functions/M_INOUT_POST.xml
M src-db/database/model/tables/M_INOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_actionButton/DocAction.html
M src/org/openbravo/erpCommon/ad_actionButton/DocAction.xml
A src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateProcessGoodsJavaDocAction.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateProcessGoodsJavaDocActionData.class
A src-util/modulescript/src/org/openbravo/modulescript/UpdateProcessGoodsJavaDocAction.java
A src-util/modulescript/src/org/openbravo/modulescript/UpdateProcessGoodsJavaDocAction_data.xsql
A src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
---
(0055253)
mirurita   
2012-12-27 17:19   
Documentation
http://wiki.openbravo.com/wiki/Goods_Receipt#Voiding [^]
http://wiki.openbravo.com/wiki/Purchase_Invoice#Voiding [^]
(0055254)
Sandrahuguet   
2012-12-27 17:42   
Code review + testing OK
(0055257)
hgbot   
2012-12-28 00:36   
Repository: erp/devel/pi
Changeset: 682da30867ea359ada484f357f90975fafea1fff
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Fri Dec 28 00:36:03 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/682da30867ea359ada484f357f90975fafea1fff [^]

Related to issue 22678: get stacktrace in log4j.error

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
---
(0055258)
hgbot   
2012-12-28 00:39   
Repository: erp/devel/pi
Changeset: 6f97fb634c2fb9ab2fda41a43efc86271babe029
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Fri Dec 28 00:39:15 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6f97fb634c2fb9ab2fda41a43efc86271babe029 [^]

Related to issue 22678: update log message

---
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
---
(0055298)
hgbot   
2013-01-02 09:37   
Repository: tools/automation/int
Changeset: e1266f3e8706fdd8302d82f0daddbda18c488622
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 27 17:15:35 2012 +0100
URL: http://code.openbravo.com/tools/automation/int/rev/e1266f3e8706fdd8302d82f0daddbda18c488622 [^]

Related to issue 22678: change goods receipt/shipment complete button name

---
M src-test/com/openbravo/test/integration/erp/gui/procurement/transactions/goodsreceipt/GoodsReceiptHeaderTab.java
M src-test/com/openbravo/test/integration/erp/gui/sales/transactions/goodsshipment/GoodsShipmentHeaderTab.java
---
(0055310)
hgbot   
2013-01-02 19:13   
Repository: erp/devel/pi
Changeset: 34495b8f06467173e387a4646a15a55bc3a65f08
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Wed Jan 02 19:13:40 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/34495b8f06467173e387a4646a15a55bc3a65f08 [^]

Related to issue 22678: update new docaction column in m_inout_post

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0055331)
hudsonbot   
2013-01-03 13:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/792728467ed0 [^]

Maturity status: Test
(0055332)
hudsonbot   
2013-01-03 13:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/792728467ed0 [^]

Maturity status: Test
(0055333)
hudsonbot   
2013-01-03 13:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/792728467ed0 [^]

Maturity status: Test
(0055350)
hudsonbot   
2013-01-04 09:53   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/eea37a82abc2 [^]

Maturity status: Test