Creating the Playlist Subform page
In Chapter 2, Tables, a homework assignment was to create Page 50003 Playlist Document. We should have used the Page Wizard to create that page, giving us something like this following screenshot:
Another necessary part of a Document page is the Subform (someday to be known as a Subpage) page. Our Subform page can be created using the Page Wizard to create a ListPart based on Table 50003 Playlist Line. After we Finish the Wizard, we'll save and compile the page as 50004 Playlist Subform. The result will look like the following image:
To make the Document work the way we are used to having NAV Document forms work, we need to set some properties for this new page. See the bolded properties circled in the following image:
We have set the DelayedInsert, MultipleNewLines, and AutoSplitKey properties to Yes
. These settings will allow the Playlist Lines to not be saved until the primary key fields are all entered (DelayedInsert), will support simple...