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.
我可以在 APEX 中创建一个在多个表中创建/更新记录的表单吗?例如两个具有一对一关系的表。
如果您使用Automated Row Fetch机制,您可以为两个表使用两个不同的 ARF。如果你想拥有更多的控制权,你可以自己定义你的INSERT/UPDATE语句 ussign Page Processes。
Automated Row Fetch
INSERT/UPDATE
Page Processes
一种简单的方法是创建一个返回连接表的视图,并以此为基础创建 Apex 表单。您可能需要将 INSTEAD OF 触发器添加到视图才能成功插入和更新。