Don't forget to create party roles for the employee and for the company.
Then you can use those roles in the party relationships.
> I’m working on a module that will allow the user to create an employee.
> I would like to utilize the services that are currently in OFBIZ, but
> I’m not sure how to implement this within the framework. The process
> I’d like to follow is:
>
>
>
> 1. Create a Person
> 2. Create the relationship between the person and company (party group)
> 3. Add Payroll information (w-2 information)
>
>
>
> Should I create a new class that implements the existing Party classes
> or is there better way to do this?
>
>
>
> -----------------------------------------
>
> Michael Irving
>
> Keynetx, Inc. - Building Solutions for Success
>
> Mobile: (267)474.3564
>
> Fax: (425) 871-2838
>
> email:
[hidden email] <mailto:
[hidden email]>
>
>
>
> * * * Visit Our Web Site:
http://www.keynetx.net
> <
http://www.keynetx.net/> * * *
>
>
>
> --------------------------------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender
> does not waive confidentiality or privilege, and use is prohibited.
>
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Dev mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/dev