Mobile Planner


If you wish to leave comments or ask questions, please log on or sign up.

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jan 17, 2015
Company: emsteknoloji.com

Hi
I used 1C Mobile Planner. I'm getting an error:
{DataProcessor.Planner.Form.Form.Form(53)}: Value is not the object type value(CurrentRepresentationPeriods)

&AtServer
Procedure OnCreateAtServer(Cancel, StandardProcessing)

CurrentDate = CurrentDate();
One Day = 24 * 60 * 60;
Planner.CurrentRepresentationPeriods.Clear();
FirstDay = BegOfDay(CurrentDate);
For I = 0 To 6 Do
Planner.CurrentRepresentationPeriods.Add(FirstDay + (I)*OneDay,
EndOfDay(FirstDay + (I)*OneDay));
EndDo;

EndProcedure

Edited: BURAK UYANIK - Aug 16, 2017 12:12 AM
 
#2
People who like this:0Yes/0No
Administrator
1C:Professional
Rating: 10
Joined: Jun 25, 2013
Company: 1C Company

Hi!

First, the planner object is not available for mobile apps. It is only available for thin client, web client, server, thick client, and external connection.

Second, we cannot be absolutely sure, but your error looks like 1C:Enterprise does not know that your "Planner" is an object of Planner type. Please double-check it.

1C Company support team
 
#3
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jan 17, 2015
Company: emsteknoloji.com

Thanks Sergey Polikarpov,

In the syntax, "Mobile application (client), Mobile application (server)" was written as usability. :)

Syntax:
Planner

Availability:


Thin client, web client, server, thick client, external connection, Mobile application (client), mobile application (server).

 
#4
People who like this:0Yes/0No
Administrator
Rating: 11
Joined: Nov 3, 2011
Company: 1C Company

BURAK UYANIK,

I checked this Syntax Assistant topic in 8.3.10, it does not mention the mobile application client or server. Please see the picture.

The topic on the screenshot is Common objects/Planner/Planner. What's your platform version and which topic states that the planner is available in mobile applications? Could it be a typo that was fixed in a later version?

 
#5
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jan 17, 2015
Company: emsteknoloji.com

Hi,

 
#6
People who like this:0Yes/0No
Administrator
Rating: 11
Joined: Nov 3, 2011
Company: 1C Company

Burak, unfortunately, it is a typo. My screenshot comes from a later version 8.3.10.2466 where the typo is fixed. Sorry for the inconvenience caused to you.

 
#7
People who like this:0Yes/0No
Administrator
Rating: 11
Joined: Nov 3, 2011
Company: 1C Company

Good news, everyone! The planner object will be available in mobile platform version 8.3.11.

 
Subscribe