================================================================================
Layout movement commands in page extensions - movelast
================================================================================

pageextension 123 "Test Extension" extends "Test Page"
{
    layout
    {
        movelast(General; Status)
    }
}

--------------------------------------------------------------------------------

(source_file
  (pageextension_declaration
    (pageextension_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (extends_keyword)
    base_object: (quoted_identifier)
    (layout_section
      (layout_keyword)
      (movelast_modification
        target: (identifier)
        element: (identifier)))))

================================================================================
Layout movement commands - movefirst
================================================================================

pageextension 124 "Test Extension" extends "Test Page"
{
    layout
    {
        movefirst(Content; "Document Info")
    }
}

--------------------------------------------------------------------------------

(source_file
  (pageextension_declaration
    (pageextension_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (extends_keyword)
    base_object: (quoted_identifier)
    (layout_section
      (layout_keyword)
      (movefirst_modification
        target: (identifier)
        element: (quoted_identifier)))))

================================================================================
Layout movement commands - moveafter
================================================================================

pageextension 125 "Test Extension" extends "Test Page"
{
    layout
    {
        moveafter(CustomerInfo; VendorInfo)
    }
}

--------------------------------------------------------------------------------

(source_file
  (pageextension_declaration
    (pageextension_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (extends_keyword)
    base_object: (quoted_identifier)
    (layout_section
      (layout_keyword)
      (moveafter_modification
        target: (identifier)
        element: (identifier)))))

================================================================================
Layout movement commands - movebefore with quoted identifiers
================================================================================

pageextension 126 "Test Extension" extends "Test Page"
{
    layout
    {
        movebefore("Sales Info"; "Purchase Info")
    }
}

--------------------------------------------------------------------------------

(source_file
  (pageextension_declaration
    (pageextension_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (extends_keyword)
    base_object: (quoted_identifier)
    (layout_section
      (layout_keyword)
      (movebefore_modification
        target: (quoted_identifier)
        element: (quoted_identifier)))))
