Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Dynamic Liist with filter in Catalogue List Form

Forum

Search UsersRules
Dynamic Liist with filter in Catalogue List Form
#1
Active user
Points:: 0
Joined:: May 21, 2023

I created a list form for one of my catalogues which is subordinate to another catalogue. In the list of attributes for this list form I have 2 attributes: List of type DynamicList marked as the Main attribute for this form and Header attribute of type CatalaogRef.Headers. The list for which I am creating this list form is subordinate to Headers catalogue. Now I have a hard time to figure out how to specify a filter for my dynamic list so that it will select only catalogue items with the Owner that I specify in my Header attribute which I manually select on my list form.

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

Hello Peter,

could you attach a sample code or some screenshots?

This way it will be easier for me to help you :-)

Profile
#3
Active user
Points:: 0
Joined:: May 21, 2023

Hey Alex,

I solved the problem already - figured out myself. The solution to this problem is that in Query wizard for Custom Query for my DynamicList on Tab "Conditions" I specified "<mySubordinateCatalogName>.Owner = &Header" with "Arbitrary" checkbox checked, where "Header" is my form list attribute of type CatalogRef that I placed on my list form to select it manually.

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

Great!

I'm glad you did it! If you have any other questions, you can always count on our advice :-)

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.