Get a Trace object from the ReqTraceFactory pointed to by the Req .ReqTraceFactory Property of a requirement.
When creating the Trace object with the AddItem method, the direction of the trace is specified. If the direction is from the Req whose factory is used, the the Trace is created with the initiating Req in the FromReq. If the direction is to the initiating Req, the Trace is created with the initiating Req in the ToReq Property.
After the Trace is created, set the TracedReq property to the second Req. When you set TracedReq, the Trace object sets either FromReq or ToReq to point to the second Req. Which property is set depends on the direction of the Trace.
Implemented Interface | Description |
---|---|
IBaseField2 | Represents a basic data field or entity, such as an attachment. |
IBaseField3 | Represents a basic data field or entity, such as an attachment. |
IBaseField4 | Represents a basic data field or entity, such as an attachment. |
LockObject | Locks the object. Returns True if the object has been changed on the server. |
Post | Posts all changed values into database. |
Refresh | Reads saved values, overwriting values in memory. |
Undo | Undoes changes to field values that have not been posted. |
UnLockObject | Unlocks the object. |
AutoPost | If true, the database is updated immediately when the field value changes. |
AutoUnlock | Indicates whether to make the item changeable to other users automatically after a Refresh or Post. |
Field | The value of the specified field. |
FieldMultiValue | The MultiValue object of the specified field. |
FromReq | The requirement from which the association is defined. |
ID | The item ID. |
IsLocked | Checks if object is locked for editing. |
Modified | Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date. |
ToReq | The requirement to which the association is defined. |
TracedReq | The other requirement that the initiating requirement forms a trace with. |
TypeName | The field's type. |
Virtual | Checks if this is a virtual item, that is, an item that does not have a corresponding database record. |