Documentation error

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Documentaition sais:

Quote
InformationRegisterRecordKey.<Information register name>.Default
InformationRegisterRecordKey.<Information register name>
Main
Syntax:

New InformationRegisterRecordKey.(<KeyValues>)
Parameters:

<KeyValues> (optional)

Type: Structure; Undefined.

but it actually works like so
Code
Params = New Structure;
   Params.Insert("Ref", Object.Ref);
   Arr = New Array;
   Arr.Add(Params);
   InfoKey = New ("InformationRegisterRecordKey.ObjectName", Arr);

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

Alexey,

thanks for the info! It's a Syntax Assistant viewer issue, one of the placeholders enclosed in angle brackets is lost. The correct syntax is:

New InformationRegisterRecordKey.<Information register name>(<KeyValues>)

We'll fix it soon.

 
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.