SourcePairView & SourcePairMasterView reference

The SourcePairView and SourcePairMasterView are parent-child lists of all items. A parent may have zero or more source child records. If a source child exists, the child's item attributes, preference rank and notes are included in the row; otherwise, these values are null.

The SourcePairView is derived from the ItemView list of items, and excludes custom attributes from the parent and child items. The SourcePairMasterView is derived from the ItemMasterView list of items, and includes custom attributes.

When a parent part has a pending iteration (that is, the PendingRevID is not null), then it displays the markup rank, items, and notes. When a parent part has only a released iteration (the PendingRevID is null, RevID is not null, and IsCanceled is false), then it displays the current released child iteration (Revision_Child, Lifecycle_Child, etc.) with rank and notes. If a child part has a pending iteration, that's shown in separate columns (PendingRevision_Child, PendingLifecycle_Child, etc.) but is not yet assigned to the parent's current configuration. A query that requires the current released parent must test that the PendingRevID is null and IsCanceled is false.

A basic SQL statement is SELECT * FROM SourcePairView

Column definitions §

There may exist in the view one or more "housekeeping" columns that have been reserved for PDXpert's private use. These columns' names begin with the prefix HK (for instance, HK1). Housekeeping columns may be redefined or eliminated in a future PDXpert release without notice. These are not documented, and you should ignore these columns in your own SQL queries. Do not create any custom attributes that use the HK prefix. You may want to create a user-defined view that excludes the housekeeping columns.

The column ordering may not be exactly as shown in this table, and may change in a future PDXpert release. Use the column name, not ordinal position, in your SQL queries.

SourcePairView §

Column name Data type Record attribute
ItemId ...  Notes see: ItemView columns parent item standard attributes
ItemId_Child ...  Notes_Child see: ItemView columns approved source item standard attributes
Rank integer source row Rank
RowNotes string source row Notes

SourcePairMasterView §

Column name Data type Record attribute
ItemId ... custom_Member see: ItemMasterView columns parent item standard and custom attributes
ItemId_Child ... custom_Member_Child see: ItemMasterView columns approved source item standard attributes
Rank integer source row Rank
RowNotes string source row Notes

1175