Вы находитесь на странице: 1из 3

TECHNICAL NOTE 0047: Displaying Login Name in a List or Form view

Last Modified: Area(s): Application(s): Release(s): Latest release tested against:

27 November 2001 Configuration - General Siebel Sales Enterprise V5 (Siebel 99-Enterprise), V6 (Siebel 2000-Enterprise), Version 2 V6 (Siebel 2000-Enterprise)

Background The purpose of this technical note is to provide details on how to display the login name, i.e. BSTEVENS, in a list or form view of the person who modified or created a particular record. Summary Displaying the Login Name Complete the following process to display the login name:
For the business component used in the applet where the information is to be displayed:

1. Define two separate joins, one using the system field "Updated By" as the source field, the second using the system field "Created By" as the source field, to the ROW_ID column in the S_EMPLOYEE table. For Siebel eBusiness Applications versions 5.5 and 5.6 Note: On the second join definition, use the Alias field to be able to reference the same table twice.

[Join]

Table = "S_EMPLOYEE" Alias = "S_EMPLOYEE"

[Join Spec] Name = "Emp_Created" DestCol = "ROW_ID" SourceField = "Created By" [Join] Table = "S_EMPLOYEE" Alias = "S_EMPLOYEE_Updated"

[Join Spec] Name = "Emp_Updated" DestCol = "ROW_ID" SourceField = "Updated By" For Siebel eBusiness Applications versions 6.x Note: On both join definitions, specify a unique alias to be able to reference the same table two times again, as it has already been referenced. [Join] Table = "S_EMPLOYEE" Alias = "S_EMPLOYEE_Created"

[Join Spec] Name = "Emp_Created" DestCol = "ROW_ID" SourceField = "Created By" [Join] Table = "S_EMPLOYEE" Alias = "S_EMPLOYEE_Updated"

[Join Spec] Name = "Emp_Updated" DestCol = "ROW_ID" SourceField = "Updated By"

2. Next, define two fields that refer to the LOGIN name column in the S_EMPLOYEE table. One field for Updated By and one for Created By For Siebel eBusiness Applications version 2 and 2.1 [Field] Name = "Created Name" Col = "LOGIN" Table = "Login Created Name" (REM: This is the DestAlias) TextLen = "10" Name = "Updated Name" Col = "LOGIN" Table = "S_EMPLOYEE" TextLen = "10"

[Field]

For Siebel eBusiness Applications versions 5.5 and 5.6 [Field] Name = "Created Name" Col = "LOGIN" Join = "S_EMPLOYEE" Name = "Updated Name" Col = "LOGIN" Join = " S_EMPLOYEE _Updated" (REM: This is the Alias)

[Field]

For Siebel eBusiness Applications version 6 [Field] Name = "Created Name" Col = "LOGIN" Join = "S_EMPLOYEE_Created" (REM: This is the Alias) Name = "Updated Name" Col = "LOGIN" Join = " S_EMPLOYEE _Updated" (REM: This is the Alias)

[Field]

To display this in the user interface For versions 5.5, 5.6 and 6 To display on an Entry Applet add the two new Text Boxes and set their properties as follows Name = "Created Name" Field= "Created Name" Name = "Updated Name" Field = "Updated Name" To display on a List Applet, add two list columns Field = "Created Name" Field = Updated Name"

Вам также может понравиться