Create field product to pull data from the Product field in the Product tab

The 1C:Enterprise developers forum

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

In the Sales Order Document Form, I have created a tabular section named "Delivery Term", which includes a field called Product. I would like this product field to pull data from the Product field in the Product tab. For example, in Delivery Term in screenshoot (1.2), when selecting a product, only 2 specific products (shown in the image) "Keyboard A4Tech" and "HP Laser Jet Pro MFP M426fdn" should appear. Please refer to the attached screenshots 1.1 and 1.2 for reference.

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

Hello,

I would try to use the "OnChange" procedure and fill in the table you added with data on delivery times there.

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

Quote
Aleksandr Biryukov wrote:
Hello,

I would try to use the "OnChange" procedure and fill in the table you added with data on delivery times there.

Can you explain what code to fill in OnChange?
For example, in Delivery Term, when selecting a product, only 2 specific products (shown in the image) "Keyboard A4Tech" and "HP Laser Jet Pro MFP M426fdn" should appear (take from Product in tab Product).

Edited: Gigha - Oct 18, 2024 05:49 AM
 
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.