| | |
| | | depart2.Hospital__c = company1.Id; |
| | | |
| | | insert new Account[] {depart1, depart2}; |
| | | |
| | | String recordtypeid = '01210000000aMAE'; |
| | | if (NFMUtil.isSandbox()) { |
| | | recordtypeid = '0129D000001NacD'; |
| | | } |
| | | List<Product2> prdList = new List<Product2>(); |
| | | Product2 prd1 = new Product2(); |
| | | prd1.ProductCode_Ext__c = 'HistoryPrd1'; |
| | |
| | | prd1.Manual_Entry__c = true; |
| | | prd1.Category5__c = '竞争对手'; |
| | | prd1.Brand_Name__c = 'STORZ'; |
| | | prd1.recordTypeId = recordtypeid; //20230221上线改为‘01210000000aMAE’,上完还原recordtypeid |
| | | // prd1.Lost_By_Company__c= 'STORZ'; //add tcm 20211213 |
| | | |
| | | Product2 prd2 = new Product2(); |
| | |
| | | prd2.Manual_Entry__c = true; |
| | | prd2.Category5__c = '竞争对手'; |
| | | prd2.Brand_Name__c = 'STORZ'; |
| | | prd2.recordTypeId = recordtypeid; |
| | | // prd2.Lost_By_Company__c= 'STORZ'; //add tcm 20211213 |
| | | |
| | | insert new Product2[] {prd1, prd2}; |