| | |
| | | contract1.Contract_End_Date__c = Date.today().addMonths(+20); |
| | | contract1.Contract_Start_Date__c = Date.today(); |
| | | contract1.Contract_Range__c = Decimal.valueOf('20'); |
| | | contract1.old_Is_RecognitionModel__c = true; |
| | | contract1.Is_Recognition_Model_True__c = false; |
| | | insert contract1; |
| | | List<String> mcidList = new List<String>(); |
| | | mcidList.add(contract1.Id); |
| | | |
| | | MaintenanceContractWebService.up2sap(contract.Id); |
| | | MaintenanceContractWebService.up2sap(contract1.Id); |
| | | contract1.old_Is_RecognitionModel__c = false; |
| | | contract1.Is_Recognition_Model_True__c = false; |
| | | update contract1; |
| | | |
| | | delete contract; |
| | | MaintenanceContractWebService.up2sap(contract.Id); |