Desktop version

Main > Forum > Learning > 1C Junior Developer Course > Variable not defined

Forum

Search UsersRules
Variable not defined
#1
Interested
Points:: 0
Joined:: Sep 30, 2020

In a document,I have writed a code to set calculation register.In the code,I have writed something about chart of calculation type.But system gives an error that variable is not defined.I put some pictures about this.How can I solve this?

Profile
#2
Interested
Points:: 0
Joined:: Sep 30, 2020

I have added dump of my application

Profile
#3
Active user
Points:: 0
Joined:: May 8, 2013

Hi Mesut,

1. Please, copy-paste the exact texts of errors rather than sending screenshots. I don't speak Turkish and I cannot translate a picture with Google Translate.

2. I cannot open the application. You have two users there. One (Mesut) has non-empty password that I don't know. Another one has an empty password by no access to the application. Add some generic user (Admin or something like that), leave the password empty and give it full access to the application. This way I will be able to look at it.

3. Just guessing here, but I see a word "Mobil" in the error text. Do you create a mobile application? If so, the Charts Of Calculation Types are not supported there (but you can use mobile client instead).

Profile
#4
Interested
Points:: 0
Joined:: Sep 30, 2020

Sorry,I forgot to say password.

Username=Mesut
Password=123

No,it is not mobil application.

English of Error text=Variable is not defined.

Profile
#5
Active user
Points:: 0
Joined:: May 8, 2013

1. You didn't answer my first question, Mesut. What does the error message say? Can you copy-paste the text of an error instead of the screenshot?

2. Let's check the Use Purpose of your application. Open the Designer, double-click the top level of the tree and open Use Purposes settings. My guess is that the Mobile Application checkbox is on. Therefore the Platform checks your application for both desktop and mobile compatibility. And the Charts Of Calculation Types are not supported by Mobile Application. If this is the case, you just need to turn this checkbox off, and the error will go away.

Profile
#6
Interested
Points:: 0
Joined:: Sep 30, 2020

Ok.I have changed it to mobile for trying mobile platform.I forgot it.Now there is no problem.Thank you.

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.