Share via


InventOnHandCriteria.mergeMatchingRecords Method [AX 2012]

Merges all the records that match this criteria.

Syntax

public Common mergeMatchingRecords(Query _query, TableId _tableId)

Run On

Called

Parameters

  • _query
    Type: Query Class
    The query containing the records to merge.

Return Value

Type: Common Table
A record buffer containing the merged fields for all the records that match.

Remarks

This is provided for those cases when the criteria is too complex to add to the initial query and the records must be matched programatically using method.

To work effectively, the table should override method to provide specific logic on how to merge two records of that table together.

See Also

Reference

InventOnHandCriteria Class