Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. for(Question__c quest :[SELECT
  2. id, Question_Text__c, Picklist_Options__c , Type__c, Order__c, recordTypeId,
  3. recordType.name, Display_Dependant_Value__c, Display_Dependant_Question__c
  4. FROM
  5. Question__c
  6. WHERE
  7. Template_Question__c = null
  8. AND(
  9. (recordType.name =: System.Label.Record_Type_Standard_Template)
  10. OR(Id IN :compQuesSet AND recordType.name = :System.Label.Record_Type_Custom_Template)
  11. OR (recordType.name = :System.Label.Record_type_Form_Question
  12. AND Requisition__c =: requisition.Id
  13. )
  14. )
  15. ORDER BY
  16. Order__c]){
  17. //...
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement