Employment Creation

I was trying to create employment. Which has 4 relationship.
PersonId, EmployerId, PayrollId, LocationId.
The personId will be available when we create a perons.
What about other 3 values. Where can I get these 3 values. As of now I have hardcoded some values from existing records.
Thanks
JP