Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(Question__c quest :[SELECT
- id, Question_Text__c, Picklist_Options__c , Type__c, Order__c, recordTypeId,
- recordType.name, Display_Dependant_Value__c, Display_Dependant_Question__c
- FROM
- Question__c
- WHERE
- Template_Question__c = null
- AND(
- (recordType.name =: System.Label.Record_Type_Standard_Template)
- OR(Id IN :compQuesSet AND recordType.name = :System.Label.Record_Type_Custom_Template)
- OR (recordType.name = :System.Label.Record_type_Form_Question
- AND Requisition__c =: requisition.Id
- )
- )
- ORDER BY
- Order__c]){
- //...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement