根据Oracle Apex中占位符的函数返回值

发布于 2025-02-07 19:47:02 字数 250 浏览 1 评论 0原文

抱歉,如果这是一个“愚蠢”的问题,但是我是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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

单挑你×的.吻 2025-02-14 19:47:02

建造者的帮助功能通常提供足够的信息。这是“占位符值”的帮助

”在此处输入图像描述”

因此,仅允许应用程序,页面项目和系统变量。

注意:Apex中有多个位置,您可以通过许多参数(链接,分支等),但在任何地方都没有允许使用功能。

The help function in the builder usually gives enough info. Here is the help for "Placeholder values"

enter image description here

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.

牵强ㄟ 2025-02-14 19:47:02

这就是它对我有用的方式。
我创建了一个计算,并使用源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!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文