| | |
| | | |
| | | // リードテストデータ |
| | | RecordType rect = [select id from RecordType where IsActive = true and SobjectType= 'Account' and Name =: RC_HOSPITAL limit 1]; |
| | | Account hospital = new Account(name = '中国病院'); |
| | | Account hospital = new Account(name = '中国病院', Is_Active__c = '有効'); |
| | | hospital.RecordTypeId = rect.Id; |
| | | insert hospital; |
| | | Lead l = new Lead(); |
| | |
| | | |
| | | // リードテストデータ |
| | | RecordType rect = [select id from RecordType where IsActive = true and SobjectType= 'Account' and Name =: RC_HOSPITAL limit 1]; |
| | | Account hospital = new Account(name = '中国病院'); |
| | | Account hospital = new Account(name = '中国病院', Is_Active__c = '有効'); |
| | | hospital.RecordTypeId = rect.Id; |
| | | insert hospital; |
| | | Lead l = new Lead(); |