NetTalk Central

Author Topic: EIP field lookup and populationg of another EIP field  (Read 3676 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
EIP field lookup and populationg of another EIP field
« on: November 09, 2011, 02:30:18 PM »
Hi,

I have one browse with few columns, two of them product ID and description - both editable. I set product ID as lookup where the user must use lookup button to select product from another browse list. What I need is to populate description based on selected product ID and be able to modify it afterwards. I'm using "More Assignments" to assign product desc to appropriate field

PCD:Description = p_web.GSV('OPI:Description')

and I use "Refresh Browse Row DATA ..." checkbox. However, description field stays empty after lookup.

I must be doing something wrong. Please help.

Regards,
Alex

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: EIP field lookup and populationg of another EIP field
« Reply #1 on: November 09, 2011, 07:10:36 PM »
Alex,

Hi there.

You probably want to set the value into the session:

p_web.SSV('PDC:Description',PDC:Description)
Cheers,

Stu Andrews

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: EIP field lookup and populationg of another EIP field
« Reply #2 on: November 09, 2011, 08:25:17 PM »
I use this technique which is from the accounts example

Add the following to the server side code for your eip desc on the lookup

      p_web.setValue('_ParentProc','')       !added to auto refresh the browse xxx
      p_web.DeleteValue('_EIPClm' )
      YourBrowse1Procedure(p_web)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: EIP field lookup and populationg of another EIP field
« Reply #3 on: November 10, 2011, 05:40:31 AM »
Thanks guys,

will try both things and see if it makes a difference.

Regards,
Alex