A selectItem on a new form is not operating correctly. I have a special SQL fetch defined for it and it does not seem be invoked. Instead a standard fetch is performed. Oddly, another, already existing and working selectItem, for which a similar operattionId fetch exists, has stopped working.
I know I am invoking it. The developer log below shows the picklist resultset being created with the operation being applied. After that it can be seen that 4 records are fetched. That should be 2 records if the special fetch is used. It is a negative join. And, it works correctly when applied directly to the database.
But, somehow, the operationId is not getting to the server. I cannot really show the fetch because there is none. The request is being satisfied from some cache. Here is the end of the server log. It starts with the fetch for the participant grid. After presentation of that, the test is to click the NEW button and create a new Participant. But, the selectItem has to use the negative join so that it is only possible to add team members that are not already participants.
Here is the code that invokes it.
And, here is the dataSource xml with the special fetches.
I don't know what I am doing to muck it up. A forum search found a similar issue that had been fixed last year in 9.0, but not yet also applied to 8.3. I cannot believe it could still exist in 8.2 with all your testing.
Maybe you can see where I have goofed up. I note that both fetches stopped working. So, maybe my dataSource is hokey. But, I cannot see it. Does the order matter?
Thanks,
Rick
P.S. I am running SmartClient_v82p_2013-03-11/EVAL Development Only on Mozilla Firefox 12.0 with Firebug using Windows XP Pro 32 bit.
I know I am invoking it. The developer log below shows the picklist resultset being created with the operation being applied. After that it can be seen that 4 records are fetched. That should be 2 records if the special fetch is used. It is a negative join. And, it works correctly when applied directly to the database.
10:53:44.094:MUP1:DEBUG:Log:********************** MeetingParticipantNewButton.Click
10:53:44.227:MUP1:INFO:ResultSet:isc_PickListMenu_6:Creating new isc.ResultSet for operation 'excludeCurrentParticipants' with filterValues: {
"MeetingTypeID":101,
"CommunityID":101
}
10:53:44.228:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):setCriteria: filter criteria changed, invalidating cache
10:53:44.228:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):Invalidating cache
10:53:44.235:MUP1:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0,1), cache check: 0,37 firstMissingRow: 0 lastMissingRow: 37
10:53:44.235:MUP1:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange: guessing forward scrolling
10:53:44.235:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) will fetch from 0 to 75
10:53:44.235:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):fetching rows 0,75 from server
10:53:44.292:MUP1:DEBUG:Log:***END***END***END*** MeetingParticipantNewButton.Click
10:53:44.613:TMR6:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):Received 4 records from server
10:53:44.613:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):full length set to: 4
10:53:44.613:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):integrating 4 rows into cache at position 0
10:53:44.613:TMR6:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):cached 4 rows, from 0 to 3 (4 total rows, 4 cached)
10:53:44.613:TMR6:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):Cache for current criteria complete
10:53:44.614:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) satisfied from cache
10:53:44.614:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) satisfied from cache
10:53:47.296:IFCS2:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):setCriteria: filter criteria unchanged
10:53:47.297:IFCS2:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) satisfied from cache
10:53:47.356:IFCS2:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 4) satisfied from cache
10:53:47.679:RDQ7:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 4) satisfied from cache
10:53:44.227:MUP1:INFO:ResultSet:isc_PickListMenu_6:Creating new isc.ResultSet for operation 'excludeCurrentParticipants' with filterValues: {
"MeetingTypeID":101,
"CommunityID":101
}
10:53:44.228:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):setCriteria: filter criteria changed, invalidating cache
10:53:44.228:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):Invalidating cache
10:53:44.235:MUP1:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0,1), cache check: 0,37 firstMissingRow: 0 lastMissingRow: 37
10:53:44.235:MUP1:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange: guessing forward scrolling
10:53:44.235:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) will fetch from 0 to 75
10:53:44.235:MUP1:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):fetching rows 0,75 from server
10:53:44.292:MUP1:DEBUG:Log:***END***END***END*** MeetingParticipantNewButton.Click
10:53:44.613:TMR6:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):Received 4 records from server
10:53:44.613:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):full length set to: 4
10:53:44.613:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):integrating 4 rows into cache at position 0
10:53:44.613:TMR6:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):cached 4 rows, from 0 to 3 (4 total rows, 4 cached)
10:53:44.613:TMR6:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):Cache for current criteria complete
10:53:44.614:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) satisfied from cache
10:53:44.614:TMR6:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) satisfied from cache
10:53:47.296:IFCS2:INFO:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):setCriteria: filter criteria unchanged
10:53:47.297:IFCS2:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 1) satisfied from cache
10:53:47.356:IFCS2:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 4) satisfied from cache
10:53:47.679:RDQ7:DEBUG:ResultSet:isc_ResultSet_21 (created by: isc_PickListMenu_6):getRange(0, 4) satisfied from cache
=== 2013-03-24 14:53:40,453 [sor8] DEBUG RPCManager - Processing 1 requests.
=== 2013-03-24 14:53:40,625 [sor8] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
},
operationConfig:{
dataSource:"Participant",
operationType:"fetch",
textMatchStyle:"substring"
},
startRow:0,
endRow:75,
componentId:"MeetingParticipantsGrid",
appID:"builtinApplication",
operation:"Participant_fetch",
oldValues:{
}
}
=== 2013-03-24 14:53:40,625 [sor8] INFO IDACall - Performing 1 operation(s)
=== 2013-03-24 14:53:40,859 [sor8] DEBUG AppBase - [builtinApplication.Participant_fetch] No userTypes defined, allowing any
one access to all operations for this application
=== 2013-03-24 14:53:40,859 [sor8] DEBUG AppBase - [builtinApplication.Participant_fetch] No public zero-argument method nam
ed '_Participant_fetch' found, performing generic datasource operation
=== 2013-03-24 14:53:40,859 [sor8] INFO SQLDataSource - [builtinApplication.Participant_fetch] Performing fetch operation w
ith
criteria: {} values: {}
=== 2013-03-24 14:53:40,859 [sor8] INFO SQLWhereClause - [builtinApplication.Participant_fetch] empty condition
=== 2013-03-24 14:53:40,859 [sor8] INFO SQLDataSource - [builtinApplication.Participant_fetch] derived query: SELECT $defau
ltSelectClause FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID = TeamMembe
r.OrganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.Meeti
ngTypeID AND ($defaultWhereClause)
=== 2013-03-24 14:53:40,859 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] Executing row count query: S
ELECT COUNT(*) FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID = TeamMembe
r.OrganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.Meeti
ngTypeID AND ($defaultWhereClause)
=== 2013-03-24 14:53:40,859 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] Eval'd row count query: SELE
CT COUNT(*) FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID = TeamMember.O
rganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.MeetingT
ypeID AND (('1'='1'))
=== 2013-03-24 14:53:40,859 [sor8] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Participant_fetch] DriverManager
fetching connection for PlanetProjectDB via jdbc url jdbc:mysql://localhost:3306/PUBLIC
=== 2013-03-24 14:53:40,859 [sor8] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Participant_fetch] Passing crede
ntials getConnection separately from JDBC URL
=== 2013-03-24 14:53:41,046 [sor8] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Participant_fetch] Returning poo
led Connection
=== 2013-03-24 14:53:41,046 [sor8] DEBUG SQLTransaction - [builtinApplication.Participant_fetch] Started new PlanetProjectDB
transaction "19545556"
=== 2013-03-24 14:53:41,046 [sor8] INFO SQLDriver - [builtinApplication.Participant_fetch] Executing SQL query on 'PlanetPr
ojectDB': SELECT COUNT(*) FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID
= TeamMember.OrganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = Meetin
gType.MeetingTypeID AND (('1'='1'))
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] Using SQL Limit query
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] SQL windowed select rows 0->
75, result size 75. Query: SELECT Participant.CommunityID, Participant.Created, Participant.Description, Organization.Intern
al, Participant.MeetingTypeID, Participant.Modified, Organization.OrganizationName, Participant.Present, Participant.Require
d, TeamMember.TeamMemberEmail, Participant.TeamMemberID, TeamMember.TeamMemberName FROM (TeamMember, MeetingType, Participan
t) LEFT JOIN Organization ON Organization.OrganizationID = TeamMember.OrganizationID WHERE Participant.TeamMemberID = TeamM
ember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.MeetingTypeID AND (('1'='1')) LIMIT 0, 75
=== 2013-03-24 14:53:41,218 [sor8] INFO DSResponse - [builtinApplication.Participant_fetch] DSResponse: List with 2 items
=== 2013-03-24 14:53:41,218 [sor8] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLTransaction - Committing PlanetProjectDB transaction "19545556"
=== 2013-03-24 14:53:41,218 [sor8] DEBUG RPCManager - non-DMI response, dropExtraFields: false
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLTransaction - Ending PlanetProjectDB transaction "19545556"
=== 2013-03-24 14:53:41,234 [sor8] INFO Compression - /isomorphic/IDACall: 749 -> 398 bytes
=== 2013-03-24 14:53:40,625 [sor8] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
},
operationConfig:{
dataSource:"Participant",
operationType:"fetch",
textMatchStyle:"substring"
},
startRow:0,
endRow:75,
componentId:"MeetingParticipantsGrid",
appID:"builtinApplication",
operation:"Participant_fetch",
oldValues:{
}
}
=== 2013-03-24 14:53:40,625 [sor8] INFO IDACall - Performing 1 operation(s)
=== 2013-03-24 14:53:40,859 [sor8] DEBUG AppBase - [builtinApplication.Participant_fetch] No userTypes defined, allowing any
one access to all operations for this application
=== 2013-03-24 14:53:40,859 [sor8] DEBUG AppBase - [builtinApplication.Participant_fetch] No public zero-argument method nam
ed '_Participant_fetch' found, performing generic datasource operation
=== 2013-03-24 14:53:40,859 [sor8] INFO SQLDataSource - [builtinApplication.Participant_fetch] Performing fetch operation w
ith
criteria: {} values: {}
=== 2013-03-24 14:53:40,859 [sor8] INFO SQLWhereClause - [builtinApplication.Participant_fetch] empty condition
=== 2013-03-24 14:53:40,859 [sor8] INFO SQLDataSource - [builtinApplication.Participant_fetch] derived query: SELECT $defau
ltSelectClause FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID = TeamMembe
r.OrganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.Meeti
ngTypeID AND ($defaultWhereClause)
=== 2013-03-24 14:53:40,859 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] Executing row count query: S
ELECT COUNT(*) FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID = TeamMembe
r.OrganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.Meeti
ngTypeID AND ($defaultWhereClause)
=== 2013-03-24 14:53:40,859 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] Eval'd row count query: SELE
CT COUNT(*) FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID = TeamMember.O
rganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.MeetingT
ypeID AND (('1'='1'))
=== 2013-03-24 14:53:40,859 [sor8] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Participant_fetch] DriverManager
fetching connection for PlanetProjectDB via jdbc url jdbc:mysql://localhost:3306/PUBLIC
=== 2013-03-24 14:53:40,859 [sor8] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Participant_fetch] Passing crede
ntials getConnection separately from JDBC URL
=== 2013-03-24 14:53:41,046 [sor8] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Participant_fetch] Returning poo
led Connection
=== 2013-03-24 14:53:41,046 [sor8] DEBUG SQLTransaction - [builtinApplication.Participant_fetch] Started new PlanetProjectDB
transaction "19545556"
=== 2013-03-24 14:53:41,046 [sor8] INFO SQLDriver - [builtinApplication.Participant_fetch] Executing SQL query on 'PlanetPr
ojectDB': SELECT COUNT(*) FROM (TeamMember, MeetingType, Participant) LEFT JOIN Organization ON Organization.OrganizationID
= TeamMember.OrganizationID WHERE Participant.TeamMemberID = TeamMember.TeamMemberID AND Participant.MeetingTypeID = Meetin
gType.MeetingTypeID AND (('1'='1'))
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] Using SQL Limit query
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLDataSource - [builtinApplication.Participant_fetch] SQL windowed select rows 0->
75, result size 75. Query: SELECT Participant.CommunityID, Participant.Created, Participant.Description, Organization.Intern
al, Participant.MeetingTypeID, Participant.Modified, Organization.OrganizationName, Participant.Present, Participant.Require
d, TeamMember.TeamMemberEmail, Participant.TeamMemberID, TeamMember.TeamMemberName FROM (TeamMember, MeetingType, Participan
t) LEFT JOIN Organization ON Organization.OrganizationID = TeamMember.OrganizationID WHERE Participant.TeamMemberID = TeamM
ember.TeamMemberID AND Participant.MeetingTypeID = MeetingType.MeetingTypeID AND (('1'='1')) LIMIT 0, 75
=== 2013-03-24 14:53:41,218 [sor8] INFO DSResponse - [builtinApplication.Participant_fetch] DSResponse: List with 2 items
=== 2013-03-24 14:53:41,218 [sor8] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLTransaction - Committing PlanetProjectDB transaction "19545556"
=== 2013-03-24 14:53:41,218 [sor8] DEBUG RPCManager - non-DMI response, dropExtraFields: false
=== 2013-03-24 14:53:41,218 [sor8] DEBUG SQLTransaction - Ending PlanetProjectDB transaction "19545556"
=== 2013-03-24 14:53:41,234 [sor8] INFO Compression - /isomorphic/IDACall: 749 -> 398 bytes
Code:
Log.setPriority("Log", 5); Log.logDebug("********************** MeetingParticipantNewButton.Click"); // alert("MeetingParticipantNewButton.Click"); if (!window.MeetingParticipantWindow) { var message = "Component ID \"MeetingParticipantWindow\", target of action \"Show\" does not exist"; isc.Log.logWarn(message); if (isc.designTime) { isc.say(message); } } // MeetingParticipantWindow.show(); var form = MeetingParticipantForm; // alert("MeetingParticipantForm.drawn"); form.clearValues(); form.setValue("CommunityID", Application.currentCommunityID ) ; form.setValue("MeetingTypeID", Application.currentMeetingTypeID ) ; form.getField("TeamMemberID").optionCriteria = { "MeetingTypeID" : Application.currentMeetingTypeID, "CommunityID" : Application.currentCommunityID } ; //form.getField("TeamMemberID").setOptionOperationId("excludeCurrentParticipants"); form.getField("TeamMemberID").setProperty("cachePickListResults",false); //form.setValue("MeetingTypeAdmin", false) ; form.rememberValues(); // form.newLogEntry = null; // form.changesPending = false; form.setSaveOperationType("add"); form.getItem("SaveButton").setDisabled(true); form.getItem("UndoButton").setDisabled(true); // TeamMember.invalidateCache(); // force new fetch of team members for negative join MeetingParticipantWindow.show(); MeetingParticipantWindow.setTitle("New Participant for MeetingType " + Application.currentMeetingName + ": " + Application.currentMeetingTypeTitle); Log.logDebug("***END***END***END*** MeetingParticipantNewButton.Click");
Code:
<DataSource ID="TeamMember" dataFormat="iscServer" serverType="sql" dataSourceVersion="1" dbName="PlanetProjectDB" schema="PUBLIC" autoDeriveSchema="true"> <fields> <field name="TeamMemberID" type="sequence" primaryKey="true"/> <field name="CommunityID" type="integer" required="true" title="Community" canEdit="false" foreignKey="Community.CommunityID"/> <field name="TeamMemberName" type="text" required="true" length="64" title="Name" canEdit="true"/> <field name="Enabled" type="boolean" required="true" title="Enabled" canEdit="true" sqlStorageStrategy="integer"/> <field name="TeamMemberEmail" type="text" length="64" title="Email" canEdit="true"/> <field name="TeamMemberSMS" type="text" length="64" title="Email" canEdit="true"/> <field name="EmailAlertOption" type="boolean" required="true" title="Email Alerts" canEdit="true" sqlStorageStrategy="integer"/> <field name="SmsAlertOption" type="boolean" required="true" title="SMS Alerts" canEdit="true" sqlStorageStrategy="integer"/> <field name="IssueOwnerAlerts" type="boolean" required="true" title="Auto Issue Alerts" canEdit="true" sqlStorageStrategy="integer"/> <field name="TaskOwnerAlerts" type="boolean" required="true" title="Auto Task Alerts" canEdit="true" sqlStorageStrategy="integer"/> <field name="EmailConfirmed" type="boolean" required="true" title="Confirmed" canEdit="false" sqlStorageStrategy="integer"/> <field name="Password" type="text" length="64" title="Password"/> <field name="OrganizationID" type="integer" required="true" title="Organization" canEdit="true" foreignKey="Organization.OrganizationID"/> <field name="OrganizationName" type="text" required="false" title="Organization" canEdit="false"> <tableName>Organization</tableName> </field> <field name="Internal" type="boolean" required="false" title="Internal" canEdit="true" sqlStorageStrategy="integer"> <tableName>Organization</tableName> </field> <field name="BasePhone" type="text" length="64" title="Phone" canEdit="true"/> <field name="MobilePhone" type="text" length="64" title="Mobile" canEdit="true"/> <field name="PostalAddress" type="text" length="255" title="Address" detail="true" canEdit="true"/> <field name="TimeZoneKey" type="text" required="true" length="128" title="Time Zone" detail="true" canEdit="true" foreignKey="TimeZone.TimeZoneKey"/> <field name="LocaleKey" type="text" required="true" length="5" title="Locale" detail="true" canEdit="true" hidden="false" foreignKey="Locale.LocaleKey"/> <field name="DateFormatKey" type="text" length="64" title="Date Format" detail="true" canEdit="true"/> <field name="CommunityAdmin" type="boolean" title="Community Admin" detail="true" canEdit="true" sqlStorageStrategy="integer"/> <field name="AccountAdmin" type="boolean" title="Account Admin" detail="true" canEdit="true" sqlStorageStrategy="integer"/> <field name="Log" type="text" length="2147483647" title="Log" detail="true"/> <field name="Created" type="creatorTimestamp" title="Created" detail="true"/> <field name="Modified" type="modifierTimestamp" title="Modified" detail="true"/> </fields> <cacheAllData>true</cacheAllData> <operationBindings> <OperationBinding> <operationType>fetch</operationType> <operationId>excludeCurrentStakeholders</operationId> <tableClause>(Organization, TeamMember) cross join Project left join Stakeholder on TeamMember.TeamMemberID=Stakeholder.TeamMemberID and Project.ProjectID=Stakeholder.ProjectID</tableClause> <whereClause>Organization.OrganizationID = TeamMember.OrganizationID AND Stakeholder.TeamMemberID IS NULL AND TeamMember.CommunityID = $criteria.CommunityID AND Project.ProjectID = $criteria.ProjectID</whereClause> </OperationBinding> <OperationBinding> <operationType>fetch</operationType> <operationId>excludeCurrentParticipants</operationId> <tableClause>(Organization, TeamMember) cross join MeetingType left join Participant on TeamMember.TeamMemberID=Participant.TeamMemberID and MeetingType.MeetingTypeID=Participant.MeetingTypeID</tableClause> <whereClause>Organization.OrganizationID = TeamMember.OrganizationID AND Participant.TeamMemberID IS NULL AND TeamMember.CommunityID = $criteria.CommunityID AND MeetingType.MeetingTypeID = $criteria.MeetingTypeID</whereClause> </OperationBinding> <OperationBinding> <operationType>fetch</operationType> <tableClause>(Organization, TeamMember)</tableClause> <whereClause>Organization.OrganizationID = TeamMember.OrganizationID AND ($defaultWhereClause)</whereClause> </OperationBinding> </operationBindings> <title>TeamMember</title> <titleField>TeamMemberName</titleField> <pluralTitle>TeamMembers</pluralTitle> <generatedBy>SC_SNAPSHOT-2012-01-09_v8.2p/Pro Deployment 2012-01-09</generatedBy> </DataSource>
Maybe you can see where I have goofed up. I note that both fetches stopped working. So, maybe my dataSource is hokey. But, I cannot see it. Does the order matter?
Thanks,
Rick
P.S. I am running SmartClient_v82p_2013-03-11/EVAL Development Only on Mozilla Firefox 12.0 with Firebug using Windows XP Pro 32 bit.
Comment