Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

How to change a status field by clicking a button.

This is a discussion on How to change a status field by clicking a button. within the Seibel forums, part of the Enterprise Solutions category; By lciking a button in the list applet, the status field(static picklist ) should be changed to another value in the puicklist....

Go Back   Geeks Talk > Enterprise Solutions > Seibel
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 09-30-2008
Junior Member
 
Join Date: Sep 2008
Location: bangalore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
rv2699 is on a distinguished road
Question How to change a status field by clicking a button.

By lciking a button in the list applet, the status field(static picklist ) should be changed to another value in the puicklist.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-23-2008
Junior Member
 
Join Date: Dec 2008
Location: banglore
Posts: 10
Thanks: 5
Thanked 1 Time in 1 Post
anilforall is on a distinguished road
Re: How to change a status field by clicking a button.

i think this sicenario will be possible by using scripting
WebApplet_PreInvokeMethod(MethodName)
{
if(MethodName==Test)
{
var applet=this;
var bc= aplet.BusComp();
with(bc)
{
SetViewMode(AllView);
ClearToQuery();
SetSearhSpec("AccountStatus","Active");
ExecuteQuery();
var count=CountRecord();
var record=bc.FirstRecord();
}
while(record)
{
bc.SetfieldValue("AccountStatus","Inactive");
bc.WriteRecord();
record=bc.NextRecord();
}
return(CancelOperation);
}
return(ContinueOperation);
}
Reply With Quote
  #3 (permalink)  
Old 02-04-2009
Junior Member
 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
kiran0204 is on a distinguished road
Re: How to change a status field by clicking a button.

hi,

by using BC userprop we can achive this
BC usier prop: Named Method n
Value: "Method", "SET", "Status", "LookupValue(""TYPE VALUE"", ""XYZ"")"

Regards,
kiran
Reply With Quote
  #4 (permalink)  
Old 09-13-2009
Junior Member
 
Join Date: Jul 2009
Location: Delhi
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
ravi1984.crm is on a distinguished road
Re: How to change a status field by clicking a button.

Firstly you have must be idea about user property then u able to archive this.because user properties use for runtime changes in application. you write code there then must be given type and value pair must be given.
Reply With Quote
Reply

  Geeks Talk > Enterprise Solutions > Seibel

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Change to designing field or testing side Geek_Guest QTP 1 12-03-2007 07:32 AM
I want to change my field Geek_Guest Career Advice 1 08-14-2007 10:09 AM
Can you change the format of the date field Geek_Guest PeopleSoft 2 06-14-2007 03:15 AM
I want to change my work profile to testing field sunil gautam Career Advice 0 02-23-2007 06:04 PM
hai please advice me to change my career in software field shidlingayya Career Advice 0 02-13-2007 01:25 AM


All times are GMT -4. The time now is 04:14 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved