| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>CannotChangeColumnFromIF</fullName> |
| | | <active>false</active> |
| | | <active>true</active> |
| | | <description>SAPからの納入機器の場合シリアルNoなどI/Fの項目を変更できません</description> |
| | | <errorConditionFormula>$User.UserRoleId <> LEFT('00EC600000009L8', 15) && |
| | | <errorConditionFormula>$User.UserRoleId <> LEFT('00E10000000e30A', 15) && |
| | | $User.ProfileId <> LEFT($Label.ProfileId_SystemAdmin, 15)&& |
| | | $User.Id <> LEFT('00510000004rbs0', 15) |
| | | && text($User.UserType) <> 'PowerCustomerSuccess' |
| | |
| | | && (ISCHANGED(Posting_Date__c) |
| | | || ISCHANGED(Product2Id) |
| | | || ISCHANGED(SerialNumber) |
| | | || ISCHANGED(InstallDate) |
| | | || (ISCHANGED(InstallDate) && $Profile.Id <> '00e10000000edWm') |
| | | || ISCHANGED(SLMark__c) |
| | | || ISCHANGED(Guarantee_period_for_products__c) |
| | | )</errorConditionFormula> |