GWY
2022-05-30 4420517bbbffea48cabe7a7dcdf2e1c4b440fc85
force-app/main/default/classes/OrderTriggerHandler.cls
@@ -1925,6 +1925,12 @@
            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 ';
            }
@@ -1991,6 +1997,12 @@
            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 ');
            }