6028 Operation performed on a non-custom index

Advantage Error Guide

Problem: An AX_KeyAdd() or AX_KeyDrop() operation was attempted on an index that was not a custom index.

Solution: You can only perform the AX_KeyAdd() or AX_KeyDrop() functions on custom indexes.