From ec47f5ab5923a315bf22e0df5af7371e9668589e Mon Sep 17 00:00:00 2001
From: 张宇恒 <bxyun0@163.com>
Date: 星期五, 23 十二月 2022 11:16:18 +0800
Subject: [PATCH] 修理接口推送触发条件新加故障描述修理内容等
---
force-app/main/default/classes/NFM007TriggerTest.cls | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/classes/NFM007TriggerTest.cls b/force-app/main/default/classes/NFM007TriggerTest.cls
index df44fe7..621bd37 100644
--- a/force-app/main/default/classes/NFM007TriggerTest.cls
+++ b/force-app/main/default/classes/NFM007TriggerTest.cls
@@ -996,7 +996,7 @@
PromotionSalesProducts__c psp = new PromotionSalesProducts__c();
- psp.QuantityId__c = quo.id;
+ psp.QuantityId__c = quo.ID;
// psp.PromotionSales__r.PromotionHead__r.SpoId__c
// psp.PromotionSales__r.Category__c
psp.PromotionSales__c = ps.id;
@@ -1008,7 +1008,7 @@
insert psp;
QuoteLineItem qli = new QuoteLineItem();
- qli.QuoteId = quo.Id;
+ qli.QuoteId = quo.ID;
qli.Id__c = '210';
qli.SFDA_Status__c = '鏈夊姽';
qli.Name__c = '211';
@@ -1023,7 +1023,7 @@
qli.PricebookEntryId = entry.Id;
//qli.PricebookEntry.Product2Id = product.ID;
insert qli;
-
+
OpportunityLineItem oppli = new OpportunityLineItem();
oppli.OpportunityId = opp.Id;
oppli.Id__c = '110';
@@ -1047,6 +1047,9 @@
opp.Gurantee_Period__c = '2';
opp.oldData_flg__c = true;
opp.Estimation_Decision__c = true;
+ // opp.Estimation_Decision__c = true;
+ opp.Estimation_Id__c = quo.ID;
+ // update opp;
update opp;
//Test.stopTest();
}
--
Gitblit v1.9.1