Is Satus report a standard or custom object?
The flag overrideAutoNumbering is an argument that is defined in the XOG header that determines whether the source XOG content overrides autonumbering in the target content. This flag is available for the custom attributes of custom objects.
and Status Report is autonumbered for code/ID is the argument going to work to get the autonumbered code?
If not is querying the last used and going a few above the the simplest workaround?