SpecTrans::createQueryRunToRefTable Method
Creates a QueryRun instance that contains a query for the SpecTrans table joined to the table ID that is specified by the _refTableId parameter.
Syntax
client server public static QueryRun createQueryRunToRefTable(
CompanyId _specCompany,
TableId _specTableId,
RefRecId _specRecId,
TableId _refTableId)
Run On
Called
Parameters
- _specCompany
Type: CompanyId Extended Data Type
The company for which to create a range on the SpecCompany field of the SpecTrans table.
- _specTableId
Type: TableId Extended Data Type
The table ID for which to create a range on the SpecTableId field of the SpecTrans table.
- _specRecId
Type: RefRecId Extended Data Type
The record ID for which to create a range on the SpecRecId field of the SpecTrans table.
- _refTableId
Type: TableId Extended Data Type
The table ID to join from the SpecTrans table.
Return Value
Type: QueryRun Class
A QueryRun instance with the query built from the SpecTrans table joined to the table ID that is specified by the _refTableId parameter.
Remarks
Replaces the queryRunRefTable method on the Specification class.