Design Question
mgifford
Member Posts: 44
I have a design question that I am stuck on. It seems simple enough, but when it comes down to putting fingers to keyboard - I decided I needed some advice.
In the Sales Order screen, the user would like to have a "function" that would popup a window and allow them to manually select a subset of the existing records on the screen, then I have a bunch of logic I will use to process those records - resulting in new records being created in a new custom table. I have the part figured out about the logic I need and how to create new records in my table. What I dont know is how to go about giving the user the ability to manually select the records.
My thoughts were:
Create a new form that includes a checkbox column that is still based on the SalesLine table (not sure how to add just an unbound checkbox)
Somehow use the existing form/subform to include a checkbox that is unbound.
Dont know how to do that either.
Any ideas?
In the Sales Order screen, the user would like to have a "function" that would popup a window and allow them to manually select a subset of the existing records on the screen, then I have a bunch of logic I will use to process those records - resulting in new records being created in a new custom table. I have the part figured out about the logic I need and how to create new records in my table. What I dont know is how to go about giving the user the ability to manually select the records.
My thoughts were:
Create a new form that includes a checkbox column that is still based on the SalesLine table (not sure how to add just an unbound checkbox)
Somehow use the existing form/subform to include a checkbox that is unbound.
Dont know how to do that either.
Any ideas?
0
Comments
-
OK, I think I jumped the gun, if I understand correctly, I can use the setselectionfilter to mark the currently selected records then process against those marked records right in the original screen.
Sound right?0 -
Only problem is that if I select from the bottom up, it prompts asking me if I want to rename the record...my code looks like this - right now i am just trying to prove the concept. This code is on the sales order subform called from a function on the main sales order form.
CurrForm.SETSELECTIONFILTER(Rec); Rec.MARKEDONLY(TRUE); FIND('-'); REPEAT MESSAGE('%1', "No."); UNTIL NEXT = 0; Rec.MARKEDONLY(FALSE);0 -
[Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
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