Skip to Content
0
Former Member
Jul 29, 2013 at 04:25 PM

Retrieve Company Details based on employeeID

195 Views

Hi ByD'ers

Can some help me find the correct way of determining an employees company based on the input of EmployeeID?

I have a ByD form that has a public OVS to look up employee ID, and with a script I can use this to determine employees full name.

What I am having difficulty with is then determining the same employees Org Centre assignment and Company assignment.

I can see these attributes are available, but seem unable to get any data from them.

I am using this so that the form I have designed can be used to create a purchase order that will dynamically add user Buying Party data based on the employee selected, not necessarily the currently logged in user (so cant use context as a the starting point)

Help with a code snippet perhaps would find me eternally grateful.

John Meadows

+44 7449 944666