CUPC contact SQL insert

Unanswered Question
Apr 18th, 2012

Has anyone used the following command to populate a users contacts? Just wondering if I need to include all of the table fields (i.e., index,displayonphone,iscup,isblocked).

Get user pkid:

run sql select pkid from enduser where userid='Enduser ID'

Get fkepascontactgroup:

run sql select * from epascontacts where fkenduser_owner = 'pkid'

Insert new contact:

run sql insert into epascontacts (fkenduser_owner,fkepascontactgroup,buddy) values 'pkid','fkepascontactgroup','buddy'

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)


Login or Register to take actions

This Discussion

Posted April 18, 2012 at 2:29 PM
Replies:0 Overall Rating:
Views:305 Votes:0
Tags: No tags.