Having troubles figuring out why the query isn't returning the related Account for the Cart object. The original query was referencing the cart Encrypted ID and the current user Encrypted ID to query the related account for the cart. We have contacts with multiple Accounts and the Default Account keeps being referenced in the query rather than the current user account information.
-Query Used ccrz__E_Cart__c cart = [SELECT ID,ccrz__Account__r.Name, ccrz__Account__r.Id , ccrz__TotalAmount__c, ccrz__EncryptedId__c FROM ccrz__E_Cart__c WHERE ccrz__Account__r.Id =: currentAccount LIMIT 1];
-Returned Value SELECT ID, ccrz__Account__r.Name, ccrz__Account__r.Id, ccrz__TotalAmount__c, ccrz__EncryptedId__c FROM ccrz__E_Cart__c WHERE ccrz__Account__r.Id = :tmpVar1 LIMIT 1
-ERRORS RETURNED CUMULATIVE_PROFILING|No profiling information for SOQL operations CUMULATIVE_PROFILING|No profiling information for SOSL operations CUMULATIVE_PROFILING|No profiling information for DML operations CUMULATIVE_PROFILING|No profiling information for method invocations