Create Page

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

Best Answer

Answers

  • RockWithNAVRockWithNAV Member Posts: 1,139
    And what did you tried so far?
  • RobyRRobyR Member Posts: 39
    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 Member Posts: 45
    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 Member Posts: 5,504
    why do you want header to be Card page? please check standard Sales Order page etc for reference.
  • GhizlaneGhizlane Member Posts: 45
    Table Header:
    sb50wqdcis8c.png
  • GhizlaneGhizlane Member Posts: 45
    Header is a table ,I want create page 'Plan control' that it has a part
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    I mean to say did you try header page as document type instead of card?
  • GhizlaneGhizlane Member Posts: 45
    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.