摘要:
这种方式经常被用来,在button中处理一些逻辑,做法是在detail 页面中加一个button,对应是jS执行调用invoke controller Define a webService method in Apex and then call it using the AJAX Toolkit 阅读全文
摘要:
@isTest public class TestUtil { public static void createTestAccounts() { // Create some test accounts } public static void createTestContacts() { // 阅读全文
摘要:
The Problematic Situation:When you add any lookup in Salesforce on a layout from one object to another, and try searching for available values, you fa 阅读全文
摘要:
User currentUser = [SELECT Id, Profile.Name,UserRole.Name FROM User WHERE Id = :UserInfo.getUserId()]; 在子记录中查询父记录 实例1: Project__c pro = [SELECT Id, Na 阅读全文
摘要:
需求:系统上的标准功能是能够设置间隔一天的执行,或者是写完代码着急测试我们写个5分钟后执行的; 但是遇到要求没间隔一小时或者十分钟执行,该怎么处理呢? global class **_RetrieveInquiryBatchtest implements Database.Batchable<sOb 阅读全文