Table of Contents

AssertObjectExist Procedure

Codeunit Metadata Functions

Assert that an object exists.

An error is raised if the object does not exist.

Signature

AssertObjectExist(ObjectType: ObjectType; ObjectId: Integer)

Parameters

ObjectType ObjectType

The type of the object to check.

ObjectId Integer

The ID of the object to check.

This documentation is generated from Smart Toolbox v27.1