InventAvailabilitySearch.setInventSum Method [AX 2012]

Sets the InventSum record that matches the search criteria.

Syntax

public void setInventSum(InventSum _inventSum)

Run On

Called

Parameters

Exceptions

Exception Condition
Error

Throws an error if the search criteria is holding a reference to an item that is different from InventSum.ItemId

Remarks

This is an optional parameter that you can set to boost performance. If it is not specified the search provider will be able to find it based on the rest of the criteria.

It is the responsiblity of the user of the API to make sure that the provided InventSum record matches the rest of the criteria.

If you set the InventSum record then you don't need to explicitly specify the ID of the criteria item.

See Also

Reference

InventAvailabilitySearch Class