123
chenjingwu
2024-04-25 93a42c49372b8d9bdfe465d79f456fbb8e4d81c8
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;        
        } 
    }  
}