Developer Q&A

Ask a Question
Back to All

Object reference error when using ApStatusChangeCommand for a custom AP Status

When I try to execute this command for "Exported" or any other system-defined status, it works fine. But, if I try it with a custom status like "No Charge" it returns reference error.

ApStatusChangeCommand>
541
No Charge
Authorized

What am I doing wrong?