[ 
https://issues.apache.org/jira/browse/OFBIZ-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447303#comment-13447303
 ] 

Jacques Le Roux commented on OFBIZ-5010:
----------------------------------------

If we get no feedback on this I suggest to simply add
{code}
Index: applications/accounting/entitydef/entitymodel.xml
===================================================================
--- applications/accounting/entitydef/entitymodel.xml   (revision 7632)
+++ applications/accounting/entitydef/entitymodel.xml   (working copy)
@@ -3598,6 +3598,9 @@
       <field name="workingKey" type="very-long"></field>
       <field name="workingKeyIndex" type="numeric"></field>
       <field name="lastWorkingKey" type="very-long"></field>
+      <field name="createdDate" type="date-time"></field>
+      <field name="createdByUserLogin" type="id-vlong"></field>        
+      <field name="createdByTerminal" type="id-vlong"></field>        
       <field name="lastModifiedDate" type="date-time"></field>
       <field name="lastModifiedByTerminal" type="short-varchar"></field>
       <field name="lastModifiedByUserLogin" type="id-vlong"></field>
{code}

I did not find any uses of lastModifiedByTerminal in code, but above can't hurt 
IMO
                
> Entity-Auto Engine : manage [create|lastModified]Date field
> -----------------------------------------------------------
>
>                 Key: OFBIZ-5010
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5010
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>              Labels: service-engine
>         Attachments: OFBIZ-5010.patch
>
>
> When a entity have fields createDate, lastModifiedDate, createByUserLogin and 
> updateByUserLogin, the entity-auto engine set them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to