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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012912
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2010-04-08 17:272011-10-29 21:41
ReportersivaramanView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionduplicateFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
OSLinux 64 bitDatabaseOracleJava version1.6.14
OS VersionUbuntu 9.04Database version11gAnt version1.7.1
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012912: Read Only Logic is not working for Invoice Line field of Outsourced tab

DescriptionRead Only Logic is not working for Invoice Line field of Outsourced tab. However, the same logic is successfully working for other fields of the same tab.
(Please refer the screenshot attached)
Steps To Reproduce1. Log on to Openbravo
2. Change use role to System Administrator
3. Go to Application Dictionary || Setup || Auxiliary Input || Auxiliary Input
4. Create and save two new records with following values

    Tab : Outsourced - Work Effort
    Name : Processed
    Active : Yes
    Validation Code : @SQL=SELECT M_PRODUCTION.PROCESSED FROM M_PRODUCTION, M_PRODUCTIONPLAN WHERE M_PRODUCTIONPLAN.M_PRODUCTION_ID = M_PRODUCTION.M_PRODUCTION_ID AND M_PRODUCTIONPLAN_ID = @M_PRODUCTIONPLAN_ID@

    Tab : Outsourced - Work Effort
    Name : Posted
    Active : Yes
    Validation Code : @SQL=SELECT M_PRODUCTION.POSTED FROM M_PRODUCTION, M_PRODUCTIONPLAN WHERE M_PRODUCTIONPLAN.M_PRODUCTION_ID = M_PRODUCTION.M_PRODUCTION_ID AND M_PRODUCTIONPLAN_ID = @M_PRODUCTIONPLAN_ID@

5. Go to Application Dictionary || Windows, Tabs, and Fields || Window
6. Search for Work Effort and Open it
7. Go to Application Dictionary || Windows, Tabs, and Fields || Window >> Tab
8. Open 'Outsourced'
9. Go to Application Dictionary || Windows, Tabs, and Fields || Window >> Tab >> Field
10. Open 'Cost'
11. By click Column link, go to Application Dictionary || Tables and Columns || Table >> Column
12. Set the below Read Only Logic
    @Processed@='Y' | @Posted@='Y'
13. Save and go back to Application Dictionary || Windows, Tabs, and Fields || Window >> Tab >> Field
14 Like that, apply the same Read Only Logic to all the remaining fields of Outsourced tab. (Client, Organization, Production Plan, Active, Invoice Line)

Compile and restart the server.

The following steps will lead us to the scenario where our read only logic is applicable

Go to Production Management > Transactions > Work effort.
Create a new one.
Go to Production Run tab.
Generate a new one
Go to Outsourced tab
Create new record
Go back to Production Run & Create Standards
Go back to Work effort.
Validate it.
Again, Go to Work Effort >> Production Run >> Outsourced tab
Notice all fields are read only except Invoice Line
TagsNo tags attached.
Attached Filespng file icon Screenshot-Openbravo - Mozilla Firefox.png [^] (174,819 bytes) 2010-04-08 17:27

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0011719 closedalostale "Read only logic" does not work for selectors like Products or Business Partners 
related to defect 00123872.50MP17 closedsivaraman It is possible to add some records when a Work effort is processed 
related to defect 0030018 closedAtulOpenbravo Invoice Line field of the Work Effort - Production Run - Outsourced tab should be editable although the document is processed 

-  Notes
(0026057)
dbaz (developer)
2010-04-12 10:14

I think the problem is exactly the same of

https://issues.openbravo.com/view.php?id=11719 [^]

- Issue History
Date Modified Username Field Change
2010-04-08 17:27 sivaraman New Issue
2010-04-08 17:27 sivaraman Assigned To => adrianromero
2010-04-08 17:27 sivaraman File Added: Screenshot-Openbravo - Mozilla Firefox.png
2010-04-08 17:28 sivaraman Relationship added related to 0012387
2010-04-08 17:52 adrianromero Assigned To adrianromero => alostale
2010-04-12 08:18 alostale Status new => scheduled
2010-04-12 08:18 alostale Assigned To alostale => dbaz
2010-04-12 08:18 alostale fix_in_branch => pi
2010-04-12 10:13 dbaz Relationship added depends on 0011719
2010-04-12 10:14 dbaz Note Added: 0026057
2010-04-12 10:14 dbaz Assigned To dbaz => alostale
2011-10-29 21:41 psarobe Relationship replaced duplicate of 0011719
2011-10-29 21:41 psarobe Status scheduled => closed
2011-10-29 21:41 psarobe Resolution open => duplicate
2015-05-26 17:01 ngarcia Relationship added related to 0030018


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker