• Mayank Joshi.ax1562
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 4
    Replies

Hi, 

 

  I recented worte a trigger and tested the trigger which is 100% code coverage. When i am tring to deploy this trriger from sandbox to production it is not getting deployed. I do a outbound from sandbox to production. 

 

   When i check in inbound in production. I dnt see the trigger to deploy. Please suggest me how to deploy trigger in production

 

Thanks

Sudhir

After creating an opportunity, we add products which require a number of custom fields to be filled out. The problem is if you select one or more products to add on the edit opportunity screen, and then go on to edit the products, there are so many picklists etc. that they cause horizontal scroll bars and it looks awful. I have been using Salesforce for about a week so obviously I'm very new to things but I experimented with trying to create a visualforce page I would eventually use to replace the poor-looking add products to opportunities. But is this possible? Looking at the data model I got very confused as to how to 'drive' the visualforce page, ie. should it be driven off an opportunity standardcontroller or something else? Also if I start with Opportunity, can I do {!opportunity.product2} or some such to access the products for that opportunity, so that I could then layout my own custom table/sections with appropriate input fields.

 

All help/pointers/adise appreciated!

 

Thanks.

Is it possible to replace the ui/opportunity/SelectSearch with a visualforce page ?
 
any idea ?
 
 
  • July 23, 2008
  • Like
  • 0

Hi im newbiee

 

I have problem i write : 

 

trigger createReservation on Rezerwacja__c (before insert, before update) {

Set<id> rezSet = new Set<id>();

for (Rezerwacja__c rez : trigger.new){
rezSet.add(rez.Item__c);
}


List<Rezerwacja__c> rezList = [SELECT Rental_Date__c, Date_of_return__c, Status__c
FROM Rezerwacja__c
where id in :trigger.new];
List <Item__c> itList = [SELECT id, name FROM Item__c WHERE Item__c.Rezerwacja__c IN : rezList];

Map<Id, List<Rezerwacja__c>> rezMap = new Map<Id, List<Rezerwacja__c>>()

 

 

 

i wants the item was not available in a given period of time

Can somebody help me ?? 

  • March 20, 2013
  • Like
  • 1