[ 
https://issues.apache.org/jira/browse/OFBIZ-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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="partyName"><display 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)

Reply via email to