Request Form and dataport

kangal74
Member Posts: 15
Hi
I begin in Navision, and i need to make a dataport with only a request form.( i don't want to see the classic selection item)
In my request form , i have a control with Item."No." like sourceexp.
And i want export only the item selected in the request form.
I don't know , where i need to make the relation between the control of request form and the " classic selection" .
Thanks for your help.
Kangal74
I begin in Navision, and i need to make a dataport with only a request form.( i don't want to see the classic selection item)
In my request form , i have a control with Item."No." like sourceexp.
And i want export only the item selected in the request form.
I don't know , where i need to make the relation between the control of request form and the " classic selection" .
Thanks for your help.
Kangal74
0
Comments
-
I think I can follow you....
I will assume you are dealing with the Item table
and you want to export 1 item.
that 1 item # will be entered into a box on a request form..
if this is the case...
Create a Variable type CODE ...call it MyItemNo or something
on the Request Form Add a Textbox with SourceExp as MyItemNo.
OnPreDataItem() of the Dataport
SETFILTER("No.",MyItemNo);
dataport properties Import=No
Filename = c:\test.txt
if you don't have a code already to specify a filename & location0 -
-
I try all , and i tell you.
thanks .
kangal740 -
One other pointer I think you may need to get this to work. From the sounds of your request it sounds like you only want the Options tab form to be visible and there to be no data item filter screen.
To hide the Item's filter screen you must make sure that the Item's ReqFilterFields is "UnDefined" and DataItemTableView MUST be set to an appropriate key. This will then prevent the Item's filter screen from being shown and then only the Options tab will be visible when you run the report.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions