Alight! Was able to dig it up in the line below
Map<String, Object> newPartyMap = UtilMisc.toMap("partyId", partyId,
"partyTypeId", "PERSON", "description", description, "createdDate", now,
"lastModifiedDate", now, "statusId", statusId);

>From what it looks like this is hardwired to "PERSON". I am guessing there
must be a reason behind it and perhaps it is best left that way. So for my
requirement thinking the simplest way is perhaps to just use roles for now.
Still have to worry about broken workflows if someone where to change the
roles downstream . Any suggestions? 

- Arays

ARays wrote:
> 
> Hi, 
> 
> I am following the createEmployee flow of partymgr and trying to establish
> where the partyTypeId is set to 'PERSON'. I am looking to change that to a
> sub type called 'EMPLOYEE' that I have created. I could figure out how
> alternative flow for 'PARTY_GROUP' is set , but unclear on how 'PERSON' is
> set. Would really appreciate pointers. 
> 
> - Arays
> 

-- 
View this message in context: 
http://www.nabble.com/partytypeid-%3D-person-how--tp25755584p25755922.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to