ValueTable Error

Discussions regarding 1C:Enterprise for mobile devices with Android, iOS, or Windows Phone.

#1
People who like this:0Yes/0No
Active user
1C:Professional
Rating: 3
Joined: Dec 4, 2015
Company: Smart ID Dynamics

Hello,

I think it is a bug on working with ValueTable.
Since 8.3.9, I saw that ValueTable is not available anymore for Mobile application (client), so if I need to write in a ValueTable, I have to do it in an "&AtServer" procedure.
The problem is that after writing, the platform starts loading and quit (Error: "Unfortunately, 1C:Enterprise has stopped.").

A simple example:

Code
&AtClient
Procedure addSale(Command)
   AddSaleAtServer();
EndProcedure

&AtServer
Procedure addSaleAtServer()
   
   NewRow = SalesTable.Add();
   NewRow.Date = CurrentDate();
   NewRow.Article = "akfjhdskjf";
   NewRow.Sold = 19;
   NewRow.Assigned = 8;
   
EndProcedure

I am using 1c:Enterprise 8.3(8.3.9.74) on Honeywell D75E (Android version 4.4.4).

Where am I wrong ?

Edited: Sebastian Dan - Nov 20, 2016 11:31 PM
 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Sebastian!

Could you please create a sample configuration where I will be able to reproduce this issue?

 
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.