E9.2 Select Specific Row Using SelectRow Command API

TimTim

Member
I am new to JDE API. I cannot figure out how to make the form request select a specific row. I have been using a SelectAllRows command so far and iterating through after going to form B. Any help as to how I am doing the command wrong would be greatly appreciated.

Code:
form = {

    "endpoint": "appstack"

    "token": "*********************************",

    "formName": "P43081_W43081A",

    "version": "AV0002",

    "action": "open",

    "outputType": "VERSION2",

    "formRequest": {

        "maxPageSize": "5",

        "returnControlIDs": "8",

        "formActions": [

            {

                "command": "SetControlValue",

                "value": "187530",

                "controlID": "164"

            },

            {

                "command": "DoAction",

                "controlID": "6"

            },

            {

                "command": "SelectRow",

                "Value": "1",

                "controlID": "1"

            },

            {

                "command": "DoAction",

                "controlID": "114"

            }

        ],

        "formName": "P43081_W43081A",

        "version": "AV0002",

        "formServiceAction": "R",

        "bypassFormServiceEREvent": true

    },

    "stackId": 0,

    "stateId": 0

}
 
Top