• naidu@4
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 4
    Replies
Hi All,

I am designed visualforce page with slds. When i am resizing the browser, fields are overlapping. Can any one help me on this

Thanks,
Naidu
I am having an custom filed x in child object if it is null and user is updating stage value on opportunity it needs to throe error. And I wrote below error and it is throwing error Sobject rows not allow errors

trigger UpdateOpp on Opportunity (before update) 
{
//Set<ID> oppid = new Set<ID>();
List<Id> oid = new List<ID>();
for(Opportunity opp:trigger.old)
{
oid.add(opp.id);
}

List<Opportunitylineitem> oppl = [select id, name, offerings__c from opportunitylineitem where Offerings__c = null AND opportunityId IN:oid];

for(opportunity opp1:trigger.old)
{
for(OpportunityLineItem opp:oppl)
{
if(opp.offerings__c==null)
{
opp.addError('Please update Opportunityproduct');
}
}
}
Hi All,

I am designed visualforce page with slds. When i am resizing the browser, fields are overlapping. Can any one help me on this

Thanks,
Naidu
I am having an custom filed x in child object if it is null and user is updating stage value on opportunity it needs to throe error. And I wrote below error and it is throwing error Sobject rows not allow errors

trigger UpdateOpp on Opportunity (before update) 
{
//Set<ID> oppid = new Set<ID>();
List<Id> oid = new List<ID>();
for(Opportunity opp:trigger.old)
{
oid.add(opp.id);
}

List<Opportunitylineitem> oppl = [select id, name, offerings__c from opportunitylineitem where Offerings__c = null AND opportunityId IN:oid];

for(opportunity opp1:trigger.old)
{
for(OpportunityLineItem opp:oppl)
{
if(opp.offerings__c==null)
{
opp.addError('Please update Opportunityproduct');
}
}
}