dbo.ATT_FTAttestationRulerAD
SQL_INLINE_TABLE_VALUED_FUNCTION
Created 2026-04-14T23:20:42.173 · modified 2026-04-14T23:20:42.173 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@UID_AttestationCase | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| attestationcase | OBJECT_OR_COLUMN | ||
| BaseTree | OBJECT_OR_COLUMN | ||
| person | OBJECT_OR_COLUMN | ||
| Personwantsorg | OBJECT_OR_COLUMN | ||
| dbo | ATT_FTOrgAttHighest | OBJECT_OR_COLUMN |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1create function dbo.ATT_FTAttestationRulerAD (@UID_AttestationCase varchar(38) ) RETURNS TABLE AS RETURN ( select distinct ro.uid_person from (select p.uid_person 2, p.uid_department as UID_PersonFK , @UID_AttestationCase as UID_AttestationCase from person p join attestationcase ac on ac.ObjectKeyBase = p.XObjectKey 3 where ac.UID_AttestationCase = @UID_AttestationCase union select p.uid_person, p.uid_department as UID_PersonFK , @UID_AttestationCase as UID_AttestationCase 4 from attestationcase ac join Personwantsorg pwo on ac.ObjectKeyBase = pwo.XObjectKey join person p on pwo.uid_personOrdered = p.uid_person where ac.UID_AttestationCase 5 = @UID_AttestationCase ) as pp join BaseTree dep on dep.uid_org = pp.uid_PersonFK cross apply dbo.ATT_FTOrgAttHighest (dep.uid_Org , null , null , 1 6, 0 ) ro ) 7
Module relation graph
Loading module relation graph…
Source-derived context
Generated from exported SQL module definitions plus read-only sandbox sys.objects/sys.parameters/sys.sql_expression_dependencies metadata. This is factual source evidence, not a semantic guess.
provenance: SQL definition export provenance: sandbox DB metadata modified: 2026-04-14T23:20:42.173
None extracted.
Summary: reads/joins person, attestationcase, Personwantsorg, BaseTree
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@UID_AttestationCase | varchar(38) | input |
DML targets
None extracted.Called routines
None extracted.
Read/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: None extracted.
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: None extracted.
Variables: @UID_AttestationCase
Referenced by / reverse dependencies
Generated from live DB metadata, FK rows, and exported SQL dependency/source extraction. This is factual linkage evidence, not inferred behavior.
| Referencing object | Relation | Evidence |
|---|---|---|
| dbo.GEN_FTA10BCF9394884C543E333841 | SQL expression dependency | dbo · OBJECT_OR_COLUMN |