Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > 1C:Enterprise 8.3 and Mobile Application

Forum

Search UsersRules
1C:Enterprise 8.3 and Mobile Application
#1
Interested
Points:: 0
Joined:: Apr 5, 2012

Hi

We are developing Mobile Application in 1C:Enterprise 8.3 that is working normally.

For Mobile Applications does not exist command Query. In Catalogs I need to get that Items that have the True value in attribute. For that we have to use onely Select command.

Question: Can we use command like Catalogs.Items.Select(,,New Structure("AttributeBoolean", True)); ?????

I got the error "Invalid parameter value (parameter number '3')".

Or available another alternative solution that I don't know?? Any ideas?

Code
&AtClient
Procedure Command(Command)
   ServerCall();   
EndProcedure

&AtServer
Procedure ServerCall()
   
   Selection = Catalogs.Items.Select(,,New Structure("AttributeBoolean", True));
   While Selection.Next()  Do
      ItWorks = Selection.AttributeBoolean;
      Break;
   EndDo;
   
EndProcedure 

Profile
#2
Active user
Points:: 0
Joined:: Sep 26, 2012

You need check that for the catalog attribute AttributeBoolean indexing is set in Designer mode to "Index" or "Index with additional ordering" value.

you can read more about conditions which are imposed on the <Filter> at Syntax assistant

Profile
#3
Interested
Points:: 0
Joined:: Apr 5, 2012

thanks solved it.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.