• satyan.sheshadri1
  • NEWBIE
  • 5 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello,

I have a 2 lookup field on custom object 'Inventory' a) User  and 2) parent inventory. 
I have added a filter that  'Parent inventory' lookup will display only those records related to user specified in 'User' lookup field.

This works fine on standard page but not on the VF page.

When I checked the URL  of 'parent inventory' lookup window in VF page, it shows the below URL

https://c.ap1.visual.force.com/_ui/common/data/LookupPage?lkfm=j_id0%3AmainForm&lknm=j_id0%3AmainForm%3ApurchaseBlock%3Ainventory%3Aj_id51%3A0%3AParent&lkfield=00N90000009mP93&lkent=a00&lktp=a00&dplp=[null%2Cnull]&lksrch=

if i replace the 'dplp=[null%2Cnull]' with some use user ID like 'dplp=[null%2C00590000000hU1S]', then it works fine.

Please let me know how should I overcome it?

Thanks in advance.
Hello,

I have a 2 lookup field on custom object 'Inventory' a) User  and 2) parent inventory. 
I have added a filter that  'Parent inventory' lookup will display only those records related to user specified in 'User' lookup field.

This works fine on standard page but not on the VF page.

When I checked the URL  of 'parent inventory' lookup window in VF page, it shows the below URL

https://c.ap1.visual.force.com/_ui/common/data/LookupPage?lkfm=j_id0%3AmainForm&lknm=j_id0%3AmainForm%3ApurchaseBlock%3Ainventory%3Aj_id51%3A0%3AParent&lkfield=00N90000009mP93&lkent=a00&lktp=a00&dplp=[null%2Cnull]&lksrch=

if i replace the 'dplp=[null%2Cnull]' with some use user ID like 'dplp=[null%2C00590000000hU1S]', then it works fine.

Please let me know how should I overcome it?

Thanks in advance.
Hello,

I have a 2 lookup field on custom object 'Inventory' a) User  and 2) parent inventory. 
I have added a filter that  'Parent inventory' lookup will display only those records related to user specified in 'User' lookup field.

This works fine on standard page but not on the VF page.

When I checked the URL  of 'parent inventory' lookup window in VF page, it shows the below URL

https://c.ap1.visual.force.com/_ui/common/data/LookupPage?lkfm=j_id0%3AmainForm&lknm=j_id0%3AmainForm%3ApurchaseBlock%3Ainventory%3Aj_id51%3A0%3AParent&lkfield=00N90000009mP93&lkent=a00&lktp=a00&dplp=[null%2Cnull]&lksrch=

if i replace the 'dplp=[null%2Cnull]' with some use user ID like 'dplp=[null%2C00590000000hU1S]', then it works fine.

Please let me know how should I overcome it?

Thanks in advance.