SysQueryForm.packQFReplacement Method [AX 2012]
Packs a query filter replacement for a SFK.If the replacement field is a Record ID we must construct a look up container for the Record ID.
Syntax
private void packQFReplacement(
AbsoluteFieldBinding _surrogateFKFieldBinding,
RelativeFieldBinding _replacementFieldBinding,
QueryBuildDataSource _expectedRelativeQBDS,
str _fieldIdentifierLabel,
boolean _isRecId,
TmpSysQuery _common,
TmpSysQueryCompanyRange _tmpCompanyRange,
QueryBuildDataSource _queryBuildDataSource)
Run On
Client
Parameters
- _surrogateFKFieldBinding
Type: AbsoluteFieldBinding Class
The surrogate FK field binding of the current field.
- _replacementFieldBinding
Type: RelativeFieldBinding Class
The current replacement field binding of current surrogate field.
- _expectedRelativeQBDS
Type: QueryBuildDataSource Class
The QueryBulidDataSource object of the replacement field.
- _fieldIdentifierLabel
Type: str
The label of the field.
- _isRecId
Type: boolean
A Boolean value that indicates whether the replacement is a record ID
- _common
Type: TmpSysQuery Table
The instance of TmpSysQuery that contains a list of fields on which the filter is already applied with the range status.
- _tmpCompanyRange
Type: TmpSysQueryCompanyRange Table
The temporary table instance that contains the company ranges.
- _queryBuildDataSource
Type: QueryBuildDataSource Class
The QueryBuilDataSource object which has surrogate FK fields that we will build for the TmpSysQuery table.