We're currently in the testing phase of our migration from FE7 to FE NXT. I've been working to use the Query API to replace some integrations that used direct access to the FE7 MSSQL database. We've hit up against a minor snag. The Query API does not give access to the underlying unique identifiers (i.e. foreign keys) for related records.
In a client query, I can find the "System client ID" and "Import ID" for each client in the "Client Properties" section of the available fields list. Likewise, in a transaction query, I can find the "System transaction ID" and "Import ID" for each transaction in the "Transaction Properties" section of the available fields list. I cannot, however, find a way to retrieve the "System client ID" or "Import ID" for the client related to the transaction in a transaction query.
Does anyone know of a way to access the unique identifiers for related records using the Query API? If not, how are you working around this?