Jacques Le Roux wrote:
Hi Nicolas,
From: "Nicolas" <[email protected]>
Hello,
Actually, I work on Party component to import Neogia functionality on
OFBiz trunk. I create some addons use by the Neogia that apply on
OFBiz trunk with addon-manager and I submit to you the functionality.
My first addons add a partyName field to Party entity. Why ?
In Ofbiz, you have two partyType : Person and PartyGroup, when you
want have the name, it's necessary to call Person or PartyGroup
company, and on many form we have (as lookupPartyName):
< field name="firstName">..</
< field name="lastName">..</
< field name="groupName">..</
With unique partyName field we have :
< field name="partyName">..</
This field is populate by secas when Person or PartyGroup is
create/update
Sounds like interesting, but I'm not sure to understand. How is
actually partyName populated ? (beware actually is not actuellement in
French : faux ami ;o)
Arg, exactly is not actualy but currently :) sorry. So currently I
create an seca on Person and PartyGroup created/updated that call
service to update partyName.
For a Person, service do partyName = lastName + firstName
For PartyGroup, service do partyName = partyGroup + [partyGroupLocal]
I hope it's more understandable :)
Thanks
Jacques
An other advantage, when we add a new PartyType, we just create
populate service for this new type and not operate modification on
many form. It's easier to manage customer specific.
Are you interested by this feature ? I can create a Jira and prepare
a patch to apply on OFBiz trunk.
Nicolas