[jira] [Commented] (OFBIZ-6316) Have the WorkEffort entity retain revisions

2015-04-30 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14521412#comment-14521412
 ] 

Jacques Le Roux commented on OFBIZ-6316:


+1, the cost is minimal I guess

 Have the WorkEffort entity retain revisions
 ---

 Key: OFBIZ-6316
 URL: https://issues.apache.org/jira/browse/OFBIZ-6316
 Project: OFBiz
  Issue Type: Improvement
  Components: workeffort
Affects Versions: Trunk
Reporter: Pierre Smits

 Currently the WorkEffort entity has a field called revisionNumber. This field 
 is updated through the simple method 'updateWorkEffort' in 
 WorkEffortSimpleServices.xml. However, this method overwrites the existing 
 record, in stead of creating a new record.
 In order to retain the changes on a workeffort the method should create a new 
  record for each revision.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6316) Have the WorkEffort entity retain revisions

2015-04-30 Thread Adrian Crum (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14521379#comment-14521379
 ] 

Adrian Crum commented on OFBIZ-6316:


The entity audit feature might work for this.

 Have the WorkEffort entity retain revisions
 ---

 Key: OFBIZ-6316
 URL: https://issues.apache.org/jira/browse/OFBIZ-6316
 Project: OFBiz
  Issue Type: Improvement
  Components: workeffort
Affects Versions: Trunk
Reporter: Pierre Smits

 Currently the WorkEffort entity has a field called revisionNumber. This field 
 is updated through the simple method 'updateWorkEffort' in 
 WorkEffortSimpleServices.xml. However, this method overwrites the existing 
 record, in stead of creating a new record.
 In order to retain the changes on a workeffort the method should create a new 
  record for each revision.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6316) Have the WorkEffort entity retain revisions

2015-04-30 Thread Pierre Smits (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14521418#comment-14521418
 ] 

Pierre Smits commented on OFBIZ-6316:
-

Thanks [~adrianc], will look into that.

 Have the WorkEffort entity retain revisions
 ---

 Key: OFBIZ-6316
 URL: https://issues.apache.org/jira/browse/OFBIZ-6316
 Project: OFBiz
  Issue Type: Improvement
  Components: workeffort
Affects Versions: Trunk
Reporter: Pierre Smits

 Currently the WorkEffort entity has a field called revisionNumber. This field 
 is updated through the simple method 'updateWorkEffort' in 
 WorkEffortSimpleServices.xml. However, this method overwrites the existing 
 record, in stead of creating a new record.
 In order to retain the changes on a workeffort the method should create a new 
  record for each revision.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)