• samnsh
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 2
    Replies
  • March 01, 2012
  • Like
  • 0

i have a doubt...once i submit a record for approval...can we unlock the record....i have requirement i have to add some thing once a record have been submitted for approval... is it possible that the opportunity could be submitted more than once for approval...please help...

  • February 29, 2012
  • Like
  • 0

i have a doubt...once i submit a record for approval...can we unlock the record....i have requirement i have to add some thing once a record have been submitted for approval... is it possible that the opportunity could be submitted more than once for approval...please help...

  • February 29, 2012
  • Like
  • 0

Why do we use setcon.first and "disabled="{!!setCon.hasPrevious}"...why this is used...please help..i am new to apex....also setcon.first is inbulit method...

 

 

 

 

<apex:commandButton status="fetchStatus" reRender="op1" value="First" action="{!setCon.first}" disabled="{!!setCon.hasPrevious}" title="First Page"/>
<apex:commandButton status="fetchStatus" reRender="op1" value="Previous" action="{!setCon.previous}" disabled="{!!setCon.hasPrevious}" title="Previous Page"/>
<apex:commandButton status="fetchStatus" reRender="op1" value="Next" action="{!setCon.next}" disabled="{!!setCon.hasNext}" title="Next Page"/>
<apex:commandButton status="fetchStatus" reRender="op1" value="Last" action="{!setCon.last}" disabled="{!!setCon.hasNext}" title="Last Page"/>

  • February 28, 2012
  • Like
  • 0

global class batch_emailreport implements Database.Batchable<sObject>, Database.Stateful
{
global String query;
global boolean istest;
global Database.QueryLocator start(Database.BatchableContext BC)
{
return Database.getQueryLocator(query);
}

global void execute(Database.BatchableContext BC, List<sobject> scope)
{
for(sObject s : scope)
{
string htmlbdy;
Contact cont = (Contact) s;
system.debug(cont);
date myDate = date.today();
date weekStart = myDate.toStartofWeek();
date StartOfMonth = myDate.toStartOfMonth();

  • February 21, 2012
  • Like
  • 0

global class batch_emailreport implements Database.Batchable<sObject>, Database.Stateful
{
global String query;
global boolean istest;
global Database.QueryLocator start(Database.BatchableContext BC)
{
return Database.getQueryLocator(query);
}

global void execute(Database.BatchableContext BC, List<sobject> scope)
{
for(sObject s : scope)
{
string htmlbdy;
Contact cont = (Contact) s;
system.debug(cont);
date myDate = date.today();
date weekStart = myDate.toStartofWeek();
date StartOfMonth = myDate.toStartOfMonth();

  • February 21, 2012
  • Like
  • 0