Creating a sub form for lines

sarahgabr
Member Posts: 10
Hello,
I am trying to find information on how to create a page with a subform. So headers at the top in the form of a card page and a list page at the bottom with the lines, the data comes from two tables.
Its like the sales order page with the header at the top and the lines at the bottom.
How do I create a subpage or subform that isn't a fact box but a list page in itself?
I am trying to find information on how to create a page with a subform. So headers at the top in the form of a card page and a list page at the bottom with the lines, the data comes from two tables.
Its like the sales order page with the header at the top and the lines at the bottom.
How do I create a subpage or subform that isn't a fact box but a list page in itself?
0
Answers
-
Did you tried taking help from Page 42 and Page 46.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
please check page 46 for reference.
0 -
Create two pages of type Document and ListPart.
- Header Table will be source table of Document Page
- Line Table will be source table of ListPart Page
- In Document Page create a Page part and set PagePartID and SubPageLink as shown below :
0 -
You can follow this walkthrough on how to create "Document" type pages (header page with subpage of lines)...
https://msdn.microsoft.com/en-us/library/dd338599.aspx0 -
The document tells me how to add a subform, sales lines to the sales header page but it doesn't tell me how to create a subform with the lines. When I create a card page and I want to add a subform it's the subform I want to create just like the salesorder subform.
I tried creating two standard pages and linking them but it doesn't work, the bottom page is empty.0 -
can you the screenshots how did you link them..0
-
make sure that you need to create header page as type document and subform as listpart type.0
-
You can use the page wizard to create the subpage...
1) Click New in object designer
2) Select the table for your subpage in the "Table" field at the top
3) Click on "Create a page using a Wizard"
4) Select "ListPart" and Click OK
5) Add fields as required and click on Finish
...now you have your subpage0 -
This is what I have managed to create with a document as the header and a list part as the lines is that correct, do I have to create a list part?
0 -
if you have created lines page as listpart type then fine.
can you show the properties of lines subpage in header page like subpagelink etc0 -
If you will do exactly the same what has been done on page 42 and 46 you will achieve your goal.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
How do I upload a screenshot?0
-
you will find attach image/file option on top list of reply box.
0 -
I did the walk thorugh but it tells me to set the subformlink property and I don't have one, I'm using nav 20130
-
If you have created the subpage already (as a listpart) then just follow the instructions in the walk though link, in particular the section headed "Adding a Part Control to Display Sales Lines"0
-
It should be SubPageLink Property - Here you need to put the filter value between the two Pages.
Like Page 42 is made on Sales Header and and Page 46 is made on Sales Line and No and Document No are the key values between these two tables so similarly you need to put the filter value between your tables.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
I've done it as you have told me but the list part is on the right hand side of the screen not on the bottom, is there a way to tell it to go to the bottom of the screen?
By the way I can't attach a screenshot for some reason.0 -
OK do one thing.
Make a Copy of these 2 Pages - 42 and 46. Save it on a new Custom ID(50000 Series).
Now Remove the backhand Table from Both the Pages and add your Tables ID. Remove all the Columns and add all your Columns from the Field Menu.
Remove the Factboxes. Now Try.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
This is what my screen looks like, Ive tried everything do you have any ideas how to get the subform to go to the bottom of the page and not the right of the page?0
-
sarahgabr,
I believe you have double indented the Part Page(Subform) that you have attached in the main page. Please remove one Indentation it will work.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/1 -
I've done it, the name needed to be indented properly, thanks everyone for your help!0
-
Did you saw my comment above.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/1
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