1C:Enterprise 8.3 and Mobile Application

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

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 

Edited: Murat Yazlıyev - Jan 24, 2013 04:49 AM
 
#2
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Sep 26, 2012
Company: individual

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

Edited: ivan avdonin - Jun 25, 2015 08:24 AM
 
#3
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

thanks solved it.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.