force-app/main/default/classes/PCLLostProduct2AssetHandler.cls
@@ -79,6 +79,7 @@ } } } if(InsertAssetlist.size() > 0){ insert InsertAssetlist; } @@ -213,6 +214,9 @@ private asset buildAsset(PCLLostProduct__c LostProduct){ Asset Ast = new Asset( Name = '*', // CHAN-CCR6MW gzw 【委托】【保有设备】保有设备发货日逻辑 start Posting_Date__c = Date.today(), // CHAN-CCR6MW gzw 【委托】【保有设备】保有设备发货日逻辑 end Product2Id = LostProduct.LostProduct__c, Opportunity__c = LostProduct.Opportunity__c, InstallDate = LostProduct.Submit_Day__c,