根据Oracle Apex中占位符的函数返回值
抱歉,如果这是一个“愚蠢”的问题,但是我是Apex的新手。
我在创建按钮上进行了2个进程:一个是将其插入部门表中,另一个是发送电子邮件,其中包括一些信息,其中包括部门。 我制作了一个电子邮件模板,想显示部门名称,而不是插入表中的ID。因此,我认为,也许我可以使用一个功能来执行此操作,例如图片中所附的图片(get_department_by_id-返回部门的名称)。
[示例] [1] [1]:https://i.sstatic.net/bjbag.png
Sorry if this is a "stupid" question, but I am new to Apex.
I made 2 processes on the create button: one is to insert into the department table and the other one to send an email with some info, among them the department too.
I made an email template and I want to display the department name, not the id which is inserted into the table. So I thought, that maybe I can do that with a function, like in the picture attached(get_department_by_id - returns the name of a department).
[example][1]
[1]: https://i.sstatic.net/bjBag.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
建造者的帮助功能通常提供足够的信息。这是“占位符值”的帮助
因此,仅允许应用程序,页面项目和系统变量。
注意:Apex中有多个位置,您可以通过许多参数(链接,分支等),但在任何地方都没有允许使用功能。
The help function in the builder usually gives enough info. Here is the help for "Placeholder values"
So only Application, Page Items and System Variables are allowed.
Note: There are multiple places in APEX where you can pass a number of arguments (links, branches, etc) but nowhere the use of functions is allowed.
这就是它对我有用的方式。
我创建了一个计算,并使用源get_department_by_id(:p7_id_department)的“表达式”计算和条件类型“请求= Expresion 1”,并带有源名称(ex.create)。
谢谢Koen Lostrie的指导!
This is how it worked for me.
I created a computation, with the computation of type "Expression" with source get_department_by_id(:P7_ID_DEPARTMENT) and Condition Type "Request = Expresion 1" with source the name of the button(ex.create).
Thank you Koen Lostrie for the guidance!