[jira] [Commented] (OFBIZ-5895) Add a partyHelper method to get partyName history, giving a reference date.

2014-12-03 Thread Gil Portenseigne (JIRA)

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

Gil Portenseigne commented on OFBIZ-5895:
-

Oh ! Indeed, i miss that point, thanks Scott for the info.

 Add a partyHelper method to get partyName history, giving a reference date.
 ---

 Key: OFBIZ-5895
 URL: https://issues.apache.org/jira/browse/OFBIZ-5895
 Project: OFBiz
  Issue Type: New Feature
  Components: party
Affects Versions: Trunk
Reporter: Gil Portenseigne
Priority: Minor
 Attachments: JIRA-5895.patch


 Keeping the track of name change is good, but i haven't found a way to easily 
 show the name of a party in the past.
 This new method might be used to display a party name, which has change in 
 time, giving a date of reference, for instance :
 field name=partyNamedisplay description= ${groovy: return 
 org.ofbiz.party.party.PartyHelper.getPartyNameHistory(delegator, partyId, 
 false, actualStartDate);}//field
 Will display the name of partyId in actualStartDate time



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


[jira] [Commented] (OFBIZ-5895) Add a partyHelper method to get partyName history, giving a reference date.

2014-12-02 Thread Scott Gray (JIRA)

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

Scott Gray commented on OFBIZ-5895:
---

Hi Gil,

We already have the service getPartyNameForDate which might do what you need
http://demo-trunk-ofbiz.apache.org/webtools/control/ServiceList?sel_service_name=getPartyNameForDate


 Add a partyHelper method to get partyName history, giving a reference date.
 ---

 Key: OFBIZ-5895
 URL: https://issues.apache.org/jira/browse/OFBIZ-5895
 Project: OFBiz
  Issue Type: New Feature
  Components: party
Affects Versions: Trunk
Reporter: Gil Portenseigne
Priority: Minor
 Attachments: JIRA-5895.patch


 Keeping the track of name change is good, but i haven't found a way to easily 
 show the name of a party in the past.
 This new method might be used to display a party name, which has change in 
 time, giving a date of reference, for instance :
 field name=partyNamedisplay description= ${groovy: return 
 org.ofbiz.party.party.PartyHelper.getPartyNameHistory(delegator, partyId, 
 false, actualStartDate);}//field
 Will display the name of partyId in actualStartDate time



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