Lookup for business unit

For BusinessUnit I written lookup method in table level, but it’s not working.

When i written same method in for datasource’s field override method (lookup method) it working(lookup showing).

let me know the reason ?

Please be more specific. What do you mean by “it’s not working”? What’s the code in question? What did you find when you debugged it?