123
chenjingwu
2024-04-19 450f9922c8b9435e219e9ee44ccc90df581dcd60
1
2
3
4
5
6
7
trigger Report_BeforeFieldCopy on Report__c (before insert, before update) {
    if(Test.isRunningTest()||UserInfo.getUserId()!=System.Label.ByPassTrigger){
        for (Report__c rep : trigger.new) {
            rep.Customer_sigh_photo_txt__c = rep.Customer_sigh_photo__c;        
        } 
    }  
}