How to pass the object name into X++ query

inventTable.(_fieldId) = ‘123’;