Create Page

GhizlaneGhizlane Posts: 45Member
Hi All,
I want create a page card with subform (Table with list) like in picture
what I should do ?

Best Answer

Answers

  • RockWithNAVRockWithNAV Posts: 841Member
    And what did you tried so far?
  • RobyRRobyR ItalyPosts: 39Member
    You have to create a page with type "listpart" and then in the card page define a "part" (same as field) and indicate the listpart page name/no.
  • GhizlaneGhizlane Posts: 45Member
    edited 2019-04-15
    I try this method but I didn't get the result as a list

    mr0jijm3fr2e.png


    this is a code of page line that I want to be a list in page(plan de controle):

    page 50202 Pageligne
    {
    PageType = ListPart;
    ApplicationArea = All;
    UsageCategory = Administration;
    SourceTable = Ligne;

    layout
    {
    area(Content)
    {
    group(Ligne)
    {
    field(Nom; Nom)
    {
    ApplicationArea = All;

    }
    field(Niveau; Niveau)
    {

    }
    field(Type; Type)
    {

    }

    }
    }
    }

    actions
    {

    }

    }

    this is a code of plan control :

    page 50201 "Plan de Contrôle"
    {
    PageType = Card;
    ApplicationArea = All;
    UsageCategory = Administration;
    SourceTable = Header;

    layout
    {
    area(Content)
    {
    group("Plan de contrôle")
    {
    field(Num; Num)
    {
    ApplicationArea = All;

    }
    field(Description; Description)
    {

    }
    field("Type de Plan"; "Type de Plan")
    {

    }
    }

    part("Ligne du Plan"; Pageligne)
    {

    }
    }
    }

    actions
    {

    }

    }

  • mohana_cse06mohana_cse06 Posts: 5,468Member
    why do you want header to be Card page? please check standard Sales Order page etc for reference.
  • GhizlaneGhizlane Posts: 45Member
    Table Header:
    sb50wqdcis8c.png
  • GhizlaneGhizlane Posts: 45Member
    Header is a table ,I want create page 'Plan control' that it has a part
  • mohana_cse06mohana_cse06 Posts: 5,468Member
    I mean to say did you try header page as document type instead of card?
  • GhizlaneGhizlane Posts: 45Member
    thanx I try to see 'sales order Subform' and I notice that the attribute "repeater" is solution.

    1g4zi168k5la.png
Sign In or Register to comment.