The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Hello.

I created the documents sequence with one dimension. When I try to get or set boundaries of this sequence I get the following errors:

1) The most strange:

Code
{.Form.Secuencia.Form(105)}: Error calling context method (GetBounds)
   Bounds = Sequences.Contabilidad.GetBounds("Empresa");
because:
Invalid parameter value (parameter number '2')


But according to documentation the 2nd parameter of the method GetBounds is optional

2) This code is also fails with the same error:
Code
Filter = New Structure ("Empresa");
Filter.Insert("Empresa", Ref);
Sequences.Contabilidad.SetBound(Period, Filter);


What i'm doing wrong?

 
#2
People who like this: 0 Yes / 0 No
Just came
Rating: 1
Joined: Oct 8, 2013
Company:

You are doing right. Can you send a test configuration with error?

 
#3
People who like this: 0 Yes / 0 No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

I tried to create test configuration and everything works fine with the same client and server configuration. But the big configuration still doesn't work. Unfortunately I cannot send the configuration with errors now. Also I tried to check infobase, but without any result.

I loaded configuration to an empty infobase, but without any result, so the issue should be metadata specific.

Edited: Mikhail Ivanenko - Mar 27, 2014 08:37 AM
 
#4
People who like this: 0 Yes / 0 No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Oleg, is it OK if I send configuration to TImofey?

 
#5
People who like this: 0 Yes / 0 No
Just came
Rating: 1
Joined: Oct 8, 2013
Company:

Yes, of course.

 
#6
People who like this: 0 Yes / 0 No
Just came
Rating: 1
Joined: Jan 14, 2013
Company:

Hi Mikhail!
I think parameter is wrong. You have to check "parameter type".

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)