Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011876Openbravo ERP04. Warehouse managementpublic2009-12-29 11:372010-01-22 17:05
psarobe 
harikrishnan 
urgentmajoralways
closedfixed 
5
2.50MP10 
2.50MP112.50MP11 
Core
No
0011876: You can change the movement date even when the Goods receipt/goods shipment is complete
You are able to change the movement date in the goods receipt/ goods shipment windows. To be more concrete in the table M_INOUT.

This is not correct. The trigger that exists for this should not allow to modify the movement date.
1. Login
2. Go to Sales management->Transactions->Goods shipment
3. New. Fill the mandatory fields
4. Move to line and create one line
5. Back to the header and complete
6. Try to change the movement date

You can and this is wrong
1.Add in the trigger that you cannot change the movement date
2.Add the condition in the readonlylogic field
No tags attached.
Issue History
2009-12-29 11:37psarobeNew Issue
2009-12-29 11:37psarobeAssigned To => rafaroda
2009-12-29 11:37psarobeStatusnew => scheduled
2009-12-29 11:37psarobefix_in_branch => pi
2009-12-29 11:38psarobeTarget Version => 2.50MP11
2009-12-29 11:38psarobefix_in_branchpi =>
2010-01-20 11:56harikrishnanAssigned Torafaroda => harikrishnan
2010-01-20 11:58hgbotCheckin
2010-01-20 11:58hgbotNote Added: 0023605
2010-01-20 11:58hgbotStatusscheduled => resolved
2010-01-20 11:58hgbotResolutionopen => fixed
2010-01-20 11:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2f4639ef288c0fce947ebb42aadb7823c029f9fd [^]
2010-01-20 12:07harikrishnanNote Added: 0023606
2010-01-21 05:53sureshbabuNote Added: 0023683
2010-01-21 05:53sureshbabuStatusresolved => closed
2010-01-21 05:53sureshbabuFixed in Version => 2.50MP11
2010-01-22 00:00anonymoussf_bug_id0 => 2936686
2010-01-22 17:05hudsonbotCheckin
2010-01-22 17:05hudsonbotNote Added: 0023750

Notes
(0023605)
hgbot   
2010-01-20 11:58   
Repository: erp/devel/pi
Changeset: 2f4639ef288c0fce947ebb42aadb7823c029f9fd
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Jan 20 16:26:15 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2f4639ef288c0fce947ebb42aadb7823c029f9fd [^]

Fixes Issue 11876: You can change the movement date even when the Goods receipt/goods shipment is complete.

---
M src-db/database/model/triggers/M_INOUT_CHK_RESTRICTIONS_TRG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0023606)
harikrishnan   
2010-01-20 12:07   
Steps To test:
1.Create a Goods Shipment (Sales Management || Transactions || Goods Shipment || Header ) with any values.

2.Create a line for that with any product.

3.Complete the Shipment created.

4.The movement date become non editable field.

Repeat the above steps for Goods Receipt also.
(0023683)
sureshbabu   
2010-01-21 05:53   
Tested working fine.
(0023750)
hudsonbot   
2010-01-22 17:05   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/2f4639ef288c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ba83bb4d9240 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15962.obx [^]