• Nishh
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 6
    Replies
I am getting problem in my select List of product2 object. and i want to use that select list value in query
How can i get value of selectValue in controller from visualforce page?

<apex:pageBlockTable value="{!wrapList}" var="w">
<apex:column headerValue="Product Name">
<apex:selectList id="products" value="{!w.selectValue}" size="1" title="Select Value">
  <apex:selectOptions value="{!products}"></apex:selectOptions>
  <apex:actionSupport action="{!ProductValue}" event="onchange" reRender="price" status="status"/>
</apex:selectList>
</apex:column>
</apex:pageBlockTable>
public void ProductValue()
{
priceGridList = [Select Id, Name From Quantity_Price_Grid__c Where Product__c =: selectValue];
}

public class Wrapper
{
public OpportunityLineItem OLI {get;set;}
public Integer rowIndex {get;set;}
public String selectValue {get; set;}
}
  • September 05, 2014
  • Like
  • 0
Hi,

I have number of records displayed in the form of table with checkbox.
what i have to do is firstly i select a checkbox and getting its amount and subtracting it from user's entered amount. then i select 1 more record and subtracting it the same way. but if i deselect the first checkbox then i want the same old amount in its field.
How can i achieve this. 
  • July 09, 2014
  • Like
  • 0
Hi,

I have a main org where i want to merge my other orgs but restrict the admin to see others records.
Please Advice.
  • April 29, 2014
  • Like
  • 0
Hi,

I have a list button through which i can select as many records but when i select more than 10 records i am getting error: Too Many Callouts:11
i am calling a class from list button where i have selected record ids and a batch class and how to schedule that batch class?
  • March 20, 2014
  • Like
  • 0
I have a custom button on list view where i want to select multiple records through checkbox and get their ids in apex class but there is no visualforce page. I have created a list button where i have used javascript to call that class. how to pass record ids to that class.

Please advise
  • March 13, 2014
  • Like
  • 0
How can we save attachment in activity history through apex? It is not possible via standard features
Please advise
  • January 31, 2014
  • Like
  • 0

Hi,

 

I have a pageblock table without controller and it is having 4 columns

Line item                 Desc              Price             QTy

1                               cdskcn             12                  1

                                     gv                     4                  1

                                     ds                   3                   2

                                    dhbd               34                 1

 

i have 1 line item and other are blank so i want to show in it two tables

1. Table 1,in which line item field is not blank and its related records

2. Second table, in which line item is blank and its related records

  • December 16, 2013
  • Like
  • 0

Hi,

 

I have a pageblock table without controller and it is having 4 columns

Line item                 Desc              Price             QTy

1                               cdskcn             12                  1

                                     gv                     4                  1

                                     ds                   3                   2

                                    dhbd               34                 1

 

i have 1 line item and other are blank so i want to show in it two tables

1. Table 1,in which line item field is not blank and its related records

2. Second table, in which line item is blank and its related records

 

 

 

  • December 16, 2013
  • Like
  • 0

I have 2 queues on lead object 1. Custom assignment queue  2. Trask Queue

 

when queue is Custom assignment queue then trigger fires and matches Account with lead's company name field and if single match found then lead converted to contact.

 

And if it found multiple matches with account and company name then it will go to trask queue

 

Any help?

  • October 14, 2013
  • Like
  • 0
Hi,

I have number of records displayed in the form of table with checkbox.
what i have to do is firstly i select a checkbox and getting its amount and subtracting it from user's entered amount. then i select 1 more record and subtracting it the same way. but if i deselect the first checkbox then i want the same old amount in its field.
How can i achieve this. 
  • July 09, 2014
  • Like
  • 0
Hi,

I have a main org where i want to merge my other orgs but restrict the admin to see others records.
Please Advice.
  • April 29, 2014
  • Like
  • 0
How can we save attachment in activity history through apex? It is not possible via standard features
Please advise
  • January 31, 2014
  • Like
  • 0