Object.Basis and Object.Basis.Ref

Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 8, 2012
Company: Mal Ratu Indah

Salam!
I can not understand, what is the difference when I write

Code
Document = Object.Basis; 

and
Code
Document = Object.Basis.Ref; 

Both of them work.

 
#2
People who like this:0Yes/0No
Just came
Rating: 0
Joined: May 5, 2012
Company:

There is no difference for you. But second approach occurs bad performance because it forces system to build much more sophisticated SQL query to DB.

 
#3
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 8, 2012
Company: Mal Ratu Indah

OK, thanks!

 
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.