Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all articles
Browse latest Browse all 6147

Synchronization parameter not filtering the records from SUP

$
0
0

Business Scenario :

 

     There are 2 or more project in a company and n-number of people working in any of them. Each project is given a project ID. Now in my iOS application i need to fetch the employees of the specific project and display them in form of a table structured details.

 

Concern :

 

     For this i had been provided a GC with a Synchronization Parameter. I set this parameter with the project ID (details of the employee under the Project ID) and later SYNC the group with SUP.

 

     Even after setting this Sync Param, i get all the records from the SUP (Employees from all Projects) . 

 

Code Snippet used :

 

                    CHECK_IN_DATASubscription *test = [CHECK_IN_DATASubscriptionnew];

                    [test setProject_SP:[TKSettingsStoragestringForKey:@"ProjectID"]]; // @"00038"

                    [CHECK_IN_DATAaddSubscription:test];

                

                    [DBsynchronize:@"CheckInSynchGroup"];

 

    The findAll call after this is not the filtered records. Not sure if it's a issue with Generated Code or my iOS client code.

 

Can anyone help me out in getting me this work. I am using SUP 2.2.


Viewing all articles
Browse latest Browse all 6147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>