我可以在 Siebel 中基于多列创建 link 吗?

Can I create a link based on multiple columns in Siebel?

我们的 Siebel 应用程序有 2 个 table,它们共享 4 个文本字段。我想创建一个 link,将第二个 table 中的所有记录作为子 BC 显示,与第一个 table.[=12 中的当前记录具有相同的 4 个值=]

在 SQL 中,这可以通过以下方式轻松完成:

select    *
from      table1 t1
left join table2 t2 on (t1.a = t2.a and t1.b = t2.b and t1.c = t2.c and t1.d = t2.d)
where     t1.row_id = '1-23456';

我可以在 Siebel 7.8 中构建类似的东西吗?

我想创建一个基于任何文本字段(重复值最少的字段)的 link,然后过滤子 BC 搜索规范中剩余的 3 个字段,但是...如何在搜索规范中引用父 BC 值? (不使用配置文件属性或计算字段,这对性能影响太大)。

注意:我无法更改此任务的 table,但是将为该任务创建子 BC,并且不会在其他地方使用。

您必须使用 link 搜索规范。正是出于这个原因,链接可以有 searchspec。转到 links 并在 searshspec 列上搜索 NOT NULL 以查看原始示例。 link 搜索规范始终应用于子 bc,因此要从父 bc 访问字段,请使用 ParentFieldValue 函数

示例:

[Account Id] = ParentFieldValue ("Account Id")

在 link "Account Product - CPG/CG SVP Product Baseline - for Adding Data"