| | |
| | | @isTest |
| | | public class SBG027TriggerHandleTest { |
| | | static String setdata(){ |
| | | //add by sushanhu 20220415 start |
| | | TestDataUtility.CreatePIPolicyConfiguration('SBG027'); |
| | | //add by sushanhu 20220415 end |
| | | Id pricebookId = Test.getStandardPricebookId(); |
| | | Pricebook2 pricebook = new Pricebook2( |
| | | Name = 'IE', |
| | |
| | | opp.Dealer__c = buyer.Id; |
| | | opp.RecordTypeId = rectOpp[0].Id; |
| | | opp.OwnerId = UserInfo.getUserId(); |
| | | opp.StageName = 'Phase3'; |
| | | opp.StageName = 'Phase3';//修改为Prospect Created 原来是Phase3 |
| | | opp.CurrencyIsoCode = 'CNY'; |
| | | opp.ProductSegment__c = 'IE'; |
| | | opp.CloseDate = Date.today(); |