Upgrade Considerations for Field Change Order
When you upgrade the ServiceMax package from a previous package to either 23.1, 23.2, or 24.1 release and have FCO lines in your org, you will receive an email notification with the subject line "ServiceMax Release Upgrade: FCO Post-Installation Script Required." In this case, you must run the following apex script to update the FCO delivery method on the FCO lines:
List<SVMXC__SM_Change_Order_Line__c> fcoLineList = new List<SVMXC__SM_Change_Order_Line__c> ();
for(SVMXC__SM_Change_Order_Line__c fcoLine : [SELECT Id, SVMXC__SM_Generate_WORD__c, SVMXC__SM_Delivery_Method__c FROM SVMXC__SM_Change_Order_Line__c]){
fcoLine.SVMXC__SM_Delivery_Method__c = fcoLine.SVMXC__SM_Generate_WORD__c ? 'Work Order' : 'No Delivery';
fcoLineList.add(fcoLine);
}
update fcoLineList;
|
• Ensure that the email deliverability is set to All emails in the Salesforce org to receive the email.
• Check your Junk Email folder to avoid missing the email notification.
|