on 08-27-2012 9:22 PM
Hi there,
I need to create a drop list, or a data list and fill it in a way, that when I run the application i could be able to select its items, and those items have to be inside another B.O.
For example i have to take an employee id to process it's information. But the user of the application may don't know every employee id, the idea is to create a drop, and a search on the employee id field, and select the one that you'll need.
What you're describing is an OVS (Object Value Selector).
First you need to import the Business Partner namespace.
In your custom BO, you need to add this:
association ToEmployee to Employee using EmployeeID
Then in your AfterMofify script you set the association. There are many examples of how to do this in the Business Center/wiki.
Then add the Employee field to your UI, set the field type to Object Value Selector, the find the employee OVS. I'll leave you to figure this out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.