You need to sign in to do that
Don't have an account?
Hema Yejju
I'm not getting the below if block Successful for the conditions
Here in the below code ,I have 2 pick list fields(Customer_needs,need_Type__c )when i select need sub type as'Fund' or need subtype as Personal ...My account status field onthe record page should be displayed as closed and thats working fine .
-->but the issue i'm facing here is i'm not getting account status as closed while im trying subtype as 'Sale' and Customer_needs == Null(selecting nothing in this field )
I dont know what went wrong here ..all label names and field names are crct..Please help me here...
if(he..Customer_needs == Null || cs.Customer_needs == ''){
if(he.need_Type__c == 'Connected'){
if(he.need_Sub_Type__c == 'Sale' || he.need_Sub_Type__c == 'Fund' || he.need_Sub_Type__c == 'Personal'){
he.Status = GlobalConstants.STATUS_CLOSED;
system.debug('he.status = ' +he.Status);
}
}}
-->but the issue i'm facing here is i'm not getting account status as closed while im trying subtype as 'Sale' and Customer_needs == Null(selecting nothing in this field )
I dont know what went wrong here ..all label names and field names are crct..Please help me here...
if(he..Customer_needs == Null || cs.Customer_needs == ''){
if(he.need_Type__c == 'Connected'){
if(he.need_Sub_Type__c == 'Sale' || he.need_Sub_Type__c == 'Fund' || he.need_Sub_Type__c == 'Personal'){
he.Status = GlobalConstants.STATUS_CLOSED;
system.debug('he.status = ' +he.Status);
}
}}