A C/AL variable of the Automation type is only a reference to a COM object that is created and disposed in runtime. Object instances are created with the
CREATE function, and destroyed by the Garbage Collector when the variable leaves the scope. Sometimes it is necessary to destroy an object instance explicitly or ensure that the instance does not exist before calling the
CREATE function on the variable. C/AL functions disposing of automation objects will be described in the current recipe.