question: how to get the input values from a report?

tomM21
Member Posts: 13
hi, i have a very simple question, though i dont know how to do it:
a)i have to create a very simple report(eg: iterating over SalesHeader+Lines), but prior spitting something out i have to do some lookups etc. therefore i need to know which SO-Numbers the user punched in.
b) how would i access those values punched in into a request form?
>> i dont not have a programming license, i can only create "regular" reports
thx for any pointer!
a)i have to create a very simple report(eg: iterating over SalesHeader+Lines), but prior spitting something out i have to do some lookups etc. therefore i need to know which SO-Numbers the user punched in.
b) how would i access those values punched in into a request form?
>> i dont not have a programming license, i can only create "regular" reports
thx for any pointer!
0
Comments
-
I don't know if this effects something else but it works.
The "No." field in your reports request form doesn't give you the assist lookup.
If you go to the sales header table & view the properties of field 3 "No."
If you change the Table relation to
"Sales Header".No. WHERE (Document Type=FIELD(Document Type))
Save & complile - now go to your report you will see the lookup now works as long as you specify the Type on the request form too. "Order", "Credit memo", etc...0 -
Savatage wrote:I don't know if this effects something else but it works.
After further thinking - this will probably effect the Sales Order List. When you click on the number it wont go to the order.
Line->Card or Shift-F5 - does solve that issue tho :-k0 -
hi all & thx for ur input. but thats not what i want(ed) to know: its quite easy: i need to know within a report-code-section which or how many eg; Sales_Order Numbers the user keyed in. that cant be that difficult, right?
thx0 -
add a textbox and set sourceexpr property to Format("sales order".count).
*edit: it's better to put the value in a variable in order to calculate it one time only and then show the variable...if you want further instructions, just ask them
@Savatage: :-k and what about the bottom left lookup?maybe the lookupformID is the key of this problem...otherwise, i didn't understand clearly what you told :whistle:0 -
sorry for the confusion. let me try to clraify things here:
if i run report ID: 206 : Sales _ Invoice, Nav4Sp1, as attached in the pictures, i need to know what the users keys into the fields, espcially the No.-field.
Lets say, the users enter "A" | "B" | "C", (see attachemnt), HOW do i access those values within the report -code>?
thx 4 ur time
tom0 -
ok, that could work, i've never used that one before. looke dit up in the help and looks like thats what i need. just one more question: i tested it (with a MEssage) within the OnPreReport-Section, but "visually" the report finishes gernating AND THEN the Messages pops up. where should i access that values to do some precalculations , PRIOR the reports gets actually generated?
is that possible?
thx again0
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