Standart Report Dataset Field title

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2023
Company:

Hi Friends,

There is a NetSales report, I added it to extension and I want to change the report titles dynamically with code, how can I do it, can you help me?

 
#2
People who like this:0Yes/0No
Administrator
Rating: 29
Joined: Oct 3, 2019
Company:

Hi Selim,

please specify which title you want to change? And at what point? At the moment of opening?

 
#3
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2023
Company:

Hi friend,

I am running the report based on different currencies, when I press the generate button, I want the columns of the report that I marked to change to USD, EURO

 
#4
People who like this:0Yes/0No
Administrator
Rating: 29
Joined: Oct 3, 2019
Company:

Hello Selim!

There is a way to do this!

You need to make changes to the "OnComposeResult" procedure (pls see screenshots).

For your convenience, I have also attached a file with this report.

Download Scr_1.png (10.21 KB)
Download Scr_2.png (15.36 KB)
 
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.