Traer un producto por ID de Opp


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. OpportunityLineItem producto = [SELECT AccountId__c,CreatedById,CreatedDate,Description,HasQuantitySchedule,HasRevenueSchedule,HasSchedule,Id,IsDeleted,LastModifiedById,LastModifiedDate,ListPrice,OpportunityId,PricebookEntryId,Quantity,ServiceDate,SortOrder,SystemModstamp,UnitPrice from OpportunityLineItem where OpportunityId = 'TOKEN'];
  2. system.debug(producto);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.