3.1.1.1.2.2.3 DeleteCustomFieldValuesForObject

The DeleteCustomFieldValuesForObject procedure can be used to delete custom field values associated with an object from the ADM_CustomFieldValuesTable.

The following are the input parameters to the procedure:

Param_ObjectType: This is of type EnumerationObjectType, specifying the type of the object for which the custom field values are being deleted.

Param_addressFamily: This is of type AddressFamily, specifying the address family of the object for which the custom field values are being deleted.

Param_ObjectRecordId: This is a 64-bit signed integer, specifying the RecordId of the object of type Param_ObjectType for which the custom field values are being deleted.

There are no output values for this procedure. The values associated with the specified object are removed from the IPAM data store.

The following step is involved:

Delete the rows in the ADM_CustomFieldValuesAssociationTable that meet the following conditions:

  • ObjectType is equal to Param_ObjectType.

  • Af is equal to Param_addressFamily.

  • UsedById is equal to Param_ObjectRecordId.