Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 2 个对象(帐户和案例),其中案例记录将从将帐号作为输入传递的外部源创建,基于我需要捕获帐户 ID 并关联记录的帐号。你能建议如何推进这个要求吗?
根据您的要求,您可以使用以下 SOQL 查询。
String accountNumber = 'test23232'; List account_List = [SELECT Id,Name,AccountNumber FROM Account WHERE AccountNumber =:accountNumber];
我希望上述解决方案对您有所帮助。如果是这样,请将其标记为最佳答案以帮助他人。
谢谢和问候, 拉贾特·贾斯瓦尔