Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > ListForm

Forum

Search UsersRules
ListForm
#1
Just came
Points:: 0
Joined:: Oct 10, 2022

Could you attach your CF-file?

or any other example I could make changes to...

Profile
#2
Just came
Points:: 0
Joined:: Oct 10, 2022

I'm talking about adding the "Amount" values ​​of the income column and the values ​​of the expense column separately.

Profile
#3
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hello Kadoryz Kolapi,

of course it is possible to implement.

You need to add two new columns to your table and change the code so that these columns are populated with the correct values.

Profile
#4
Just came
Points:: 0
Joined:: Oct 10, 2022

can you give some more details

Profile
#5
Administrator
Points:: 0
Joined:: Oct 3, 2019

Could you attach your CF-file?

Profile
#6
Administrator
Points:: 0
Joined:: Oct 3, 2019

or any other example I could make changes to...

Profile
#7
Just came
Points:: 0
Joined:: Oct 10, 2022

&AtClient
Procedure OnOpen(Cancel)
 Items.List.CurrentData.Gelir = List.EvrakGenelToplamı.Sum();
 Items.List.CurrentData.Gider = List.EvrakGenelToplamı.Sum();
EndProcedure


When I write the above code, I get an "object is not type" error. if you can write a code example i would like to implement it.
Thanks...

https://i.hizliresim.com/1ftoki4.PNG

Profile
#8
Administrator
Points:: 0
Joined:: Oct 3, 2019

Could you send a dump of your code? It will be easier for me to help you...

Profile
#9
Just came
Points:: 0
Joined:: Oct 10, 2022

My code screen is blank, i created them without writing any code. Actually, I want to collect the "Gider(red)" places in the "Toplam" column and print them in a field at the top. I would appreciate it if you could send a sample code about this.

Profile
#10
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hi Kadoryz,

sorry for misunderstanding :-)

Do you want to calculate the totals for the "Toplam" column?

Profile
#11
Just came
Points:: 0
Joined:: Oct 10, 2022

yes, just collect separately by income and expense :)

Profile
#12
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hi Kadoryz,

please look at this example.

So, we have data processor with a tabular part (scr 1). The tabular part has an attribute with the Number type (screen 2).

Then we create a form for our data processor and place the tabular part on the form (scr 3). Also, for the tabular part, enable the "Footer" checkbox (scr 4).

Then we do the following steps (screenshots 5 and 6).

After these settings, the totals will be calculated automatically (scr. 7)

Profile
#13
Administrator
Points:: 0
Joined:: Oct 3, 2019

Not all screenshots fit in one post...

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.