| | |
| | | <errorConditionFormula>ISCHANGED(RecordTypeId) && |
| | | ( |
| | | /**OPD或SIS变到非OPDSIS**/ |
| | | ((PRIORVALUE(RecordTypeId) = "012C600000003KJ" |
| | | ((PRIORVALUE(RecordTypeId) = "01210000000RLTi" |
| | | || |
| | | PRIORVALUE(RecordTypeId) = "012C600000003KG") |
| | | PRIORVALUE(RecordTypeId) = "01210000000Qekj") |
| | | && |
| | | (RecordTypeId <> "012C600000003KJ" |
| | | (RecordTypeId <> "01210000000RLTi" |
| | | && |
| | | RecordTypeId <> "012C600000003KG")) |
| | | RecordTypeId <> "01210000000Qekj")) |
| | | || |
| | | /**非OPDSIS变到OPD或SIS**/ |
| | | ((PRIORVALUE(RecordTypeId) <> "012C600000003KJ" |
| | | ((PRIORVALUE(RecordTypeId) <> "01210000000RLTi" |
| | | && |
| | | PRIORVALUE(RecordTypeId) <> "012C600000003KG") |
| | | PRIORVALUE(RecordTypeId) <> "01210000000Qekj") |
| | | && |
| | | (RecordTypeId = "012C600000003KJ" |
| | | (RecordTypeId = "01210000000RLTi" |
| | | || |
| | | RecordTypeId = "012C600000003KG")) |
| | | RecordTypeId = "01210000000Qekj")) |
| | | )</errorConditionFormula> |
| | | <errorDisplayField>AWS_Data_Id__c</errorDisplayField> |
| | | <errorMessage>只能在OPD报告书和SIS报告书的类型之间相互变换</errorMessage> |