Show lookup based on boolean
divyesh10
Member Posts: 71
I have created a boolean in structure table . and i have made lookup of that structure table in purchase order page.
i want to show only those field on lookup of purchase order page where boolean is true . How can i do that?
i m new to navision
i want to show only those field on lookup of purchase order page where boolean is true . How can i do that?
i m new to navision
0
Comments
-
The structure values are showing based on Table relation property set on Structure field in Purchase Header table.
Go to the property and set Table Filter on the Table relation property0 -
Sir actully i have created three boolean .
Raw material , store and fuel.
so if raw material boolean is true then in purchase order of Raw material it should only display the record whose boolean is true for raw material.0 -
For Purchase Orders only Raw Materials should show always?
or is there any field in Purchase order based on which list should show?0 -
yes there is a field purchase type in purchase order
i have to set as if purchase type = Raw material
then in lookup of structure in Purchase order page it should only display that record of structure whose Raw material boolean is true.
if purchase type = Store
then in lookup of structure in Purchase order page it should only display that record of structure whose Store boolean is true.0 -
Then you need to use Conditions also in Table relation Property
Check No. field in Purchase Line table for example.0 -
IF (Purchase Type=FILTER(DEBIT-NOTE)) "Structure Header" WHERE (Debit-Note=FILTER(Yes)) ELSE IF (Purchase Type=FILTER(CAPITAL)) "Structure Header" WHERE (Capital=FILTER(Yes))
is this correct? Sir0 -
Test it in Test Database and let us know the result.0
-
thanks alot for your help sir..

it works0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
