The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Oct 15, 2024
Company:

I create Document InvoiceExchange, create DocumentForm. See screenshot 5.1. Amount in InvoiceExchange
Field Sales Invoice in Page Invoice List Detail get data from DocumentRef.SalesOrder. See screenshot 5.2. Amount in InvoiceExchange
When get data in Field Sales Invoice in Page In Invoice List Detail, I want field Amount in Page In Invoice List Detail auto-filled taken from DocumentAmount from that SalesOrder. See screenshot 5.3. Amount in InvoiceExchange
How to do that?

Edited: Gigha - Oct 18, 2024 11:37 AM
 
#2
People who like this: 0 Yes / 0 No
Administrator
Rating: 28
Joined: Oct 3, 2019
Company:

Hello Gigha!

you should use the "On Change" event. Please look at the screenshots. Also for your convenience I have attached dt file with a small example.

Download 1.png (64.28 KB)
Download 2.png (16.22 KB)
Download 3.png (12.86 KB)
 
#3
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Oct 15, 2024
Company:

Thank you, it works

 
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.