高章伟
2022-02-18 8b5f4c6c281cfa548f92de52c8021e37aa81901e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@isTest
private class Advance_PaymentHandlerTest {
 
    static testMethod void testMeth1() {
        Account ac1 = new Account(Name = 'test1医院',RecordTypeId = '01210000000Qem1',Sales_Shop_Class__c='特約販売店(区域)');
        insert ac1;
 
        Advance_Payment__c ap1=new Advance_Payment__c();
        ap1.Account__c=ac1.Id;
        ap1.Month_Reason__c='月度特批原因';
        ap1.Status__c='草案中';
        ap1.RecordTypeId='0121m000000wov3';
        insert ap1;
 
        ap1.Status__c='已提交';
        update ap1;
    }
}