| | |
| | | if (newOrder.SP_33__c == true && oldOrder.SP_33__c == false) { |
| | | newOrder.Description += sObjectFieldMaps.get('SP_33__c').getDescribe().getLabel() + ' \r\n '; |
| | | } |
| | | if (newOrder.SP_32__c == true && oldOrder.SP_32__c == false) { |
| | | newOrder.Description += sObjectFieldMaps.get('SP_32__c').getDescribe().getLabel() + ' \r\n '; |
| | | } |
| | | if (newOrder.SP_31__c == true && oldOrder.SP_31__c == false) { |
| | | newOrder.Description += sObjectFieldMaps.get('SP_31__c').getDescribe().getLabel() + ' \r\n '; |
| | | } |
| | | if (newOrder.SP_11__c == true && oldOrder.SP_11__c == false) { |
| | | newOrder.Description += sObjectFieldMaps.get('SP_11__c').getDescribe().getLabel() + ' \r\n '; |
| | | } |
| | |
| | | if (newOrder.SP_33__c == false && oldOrder.SP_33__c == true) { |
| | | newOrder.Description = newOrder.Description.remove(sObjectFieldMaps.get('SP_33__c').getDescribe().getLabel() + ' \r\n '); |
| | | } |
| | | if (newOrder.SP_32__c == false && oldOrder.SP_32__c == true) { |
| | | newOrder.Description = newOrder.Description.remove(sObjectFieldMaps.get('SP_32__c').getDescribe().getLabel() + ' \r\n '); |
| | | } |
| | | if (newOrder.SP_31__c == false && oldOrder.SP_31__c == true) { |
| | | newOrder.Description = newOrder.Description.remove(sObjectFieldMaps.get('SP_31__c').getDescribe().getLabel() + ' \r\n '); |
| | | } |
| | | if (newOrder.SP_11__c == false && oldOrder.SP_11__c == true) { |
| | | newOrder.Description = newOrder.Description.remove(sObjectFieldMaps.get('SP_11__c').getDescribe().getLabel() + ' \r\n '); |
| | | } |