return result; list workPartList = new list(); } Closing a Maintenance Request of type Routine Maintenance did not create of a new . if(maintenanceCycle==0){ There was a problem preparing your codespace, please try again. It's pretty comprehensive and contains several examples. Alternatively you can join our telegram group for technical discussions among industry professionals, Hey komal. newItem.Quantity__c = 10; Case newCase = new Case(); } } Http http = new Http(); Variable does not exist: Equipment__c for(Integer i_fail = 0; i_fail < 300; i_fail ++){ Laendor code is not working. Case newCase = new Case(); Use integration and business logic to push your Apex coding skills to the limit with the Apex Specialist superbadge. If nothing happens, download Xcode and try again. Hi the challenge has been updated. List newRoutineMaintenanceVehicleRecordIDList = new List(); ChangethelabelsforStandard Objectsand Fields in SalesforceGo to Setup -> Customize -> Tab Names andLabels->RenameTabs andLabels. Hey pratap! from Equipment_Maintenance_Item__c maintenanceNew.ContactId = contact.Id; }, public static void updateNewMaintenanceRequest(List newList){ Apex Code Development (89731) General Development (54672) Visualforce Development (37117) Lightning (17463) APIs and Integration (16704) Trailhead (11575) Formulas & Validation Rules Discussion (11140) Other Salesforce Applications (7994) . My Blog explains about the steps for completing this super badge. Use the naming conventions specified in the requirements document to ensure a successful deployment. and Schema Equipment_Maintenance_Item__c instead of Work_Part__c. vehicleToEquipmentMap.put(MRRecord.Vehicle__c,EquipmentIDListUpdate); Good luck to you all if you are working on this superbadge or preparing for the Salesforce Platform Developer II certification. GROUP BY Maintenance_Request__r.ID ]; Superbadges - Apex Specialist (The 'MaintenanceRequest' trigger does If you search regarding Apex on YouTube you'll find many more channels and videos. newCase.Type=typeCase; I'm having a really hard time finishing this challenge. All rights reserved, Salesforce Advanced Apex Specialist Trailhead Superbadge, .. mark it public and tick the disable auto archive checkbox and use the description text given, TechForce Services Makes a Big Impact with its Cutting-Edge Solutions, Make sure you create the Custom metadata records with the exact same names given (that matches the product families), In the constants apex class, declare all the, OrderTrigger should use the Orderhelper internally for the rollup, in the pageblock table columns, use the field labels as headers using$ObjectType, update the column values to use the productRecord fields inside the productwrapper, use apex:chart to display the horizantal bar chart in a separate pageblock above the table, reRender the required components from the Save and Add buttons, Make the Controller class Without Sharing, replace the list of products with list of productwrapper, iterate thru the productWrapper and extract the products and pricebookentries and insert them separately, use try catch block and do a rollback if there are any errors, move the chart data initialisation logic to Chart Helper class, Make sure all the methods in the TestDataFactory class are, all the construct methods should create the mentioned objects with the required fields and unique names and return the records without inserting them. Use above code for step 5 and then use system assert with constant 0 and returned value will be 0. system.debug(EMIList +EMIList); } }. sign in Connect on telegram if you again face a similar issue, Hi jaffer. Viewed 5k times . Challenge 2 - WarehouseCalloutService.class Challenge 5 - WarehouseCalloutServiceMock.class and WarehouseCalloutServiceTest.class } @future(callout=true)public static void runWarehouseEquipmentSync(){, if(response.getStatusCode()==200){//System.debug(size of equipment +equipmentlist.size());List updateEquipmentlist=getProductlist(response);if(updateEquipmentlist.size() > 0){insert new List(updateEquipmentlist);}}}, public static List getProductlist(HttpResponse response){, List