Unable to insert records in a subpage

poppinspoppins Member Posts: 647
edited 2015-07-23 in NAV Three Tier
Hi everyone,

I created two custom tables: Table 1 with key : field1 integer
Table 2 with key : field1,field2 where field2 is also integer
and two pages:
Page1 is based on Table 1, Page2(subpage of type ListPart) is based on table2 with the following properties:
MultipleNewLines = Yes, AutoSplitKey=yes, DelayedInsert=No
The problem is that I can't insert records from the subpage.

What shall I change to make it possible?

Thanks in advance :mrgreen:

Comments

  • rocatisrocatis Member Posts: 163
    Did you click the "Edit List" button...?
    Brian Rocatis
    Senior NAV Developer
    Elbek & Vejrup
  • mohana_cse06mohana_cse06 Member Posts: 5,503
    What do you mean "Cant insert records"

    are you getting any error?

    Please check standard Sales Order page for reference
  • poppinspoppins Member Posts: 647
    What do you mean "Cant insert records"

    are you getting any error?

    Please check standard Sales Order page for reference
    I am not getting any error.
    I am simply not able to insert a record, the line is not editable except for one field, and even when I try to write some value on that field, I can't...
  • poppinspoppins Member Posts: 647
    rocatis wrote:
    Did you click the "Edit List" button...?
    It is a subpage (ListPart), no such button...
  • rocatisrocatis Member Posts: 163
    The button is on the main page, not on the sub page.
    Brian Rocatis
    Senior NAV Developer
    Elbek & Vejrup
  • poppinspoppins Member Posts: 647
    rocatis wrote:
    The button is on the main page, not on the sub page.
    Thank you, you made me figure out the problem....
    The problem is on the type of page and subpage.
    The page is of type Worksheet (No Edit button :mrgreen: ) and the subpage is of type ListPart.This way, I can't insert in the subpage :oops:
    What types should I choose in order to be able to insert in the subpage? (both should display a list of records)
  • kvbkvb Member Posts: 107
    poppins wrote: »
    rocatis wrote:
    The button is on the main page, not on the sub page.
    Thank you, you made me figure out the problem....
    The problem is on the type of page and subpage.
    The page is of type Worksheet (No Edit button :mrgreen: ) and the subpage is of type ListPart.This way, I can't insert in the subpage :oops:
    What types should I choose in order to be able to insert in the subpage? (both should display a list of records)

    You should use Document type of a page in header instead of Worksheet
Sign In or Register to comment.