Passing multiple values in valueIn on App Open

So I’m so perplexed here. I’m trying to open a slideout that opens Issue Material and populates with the current selected job and mtl seq etc. I’m able to get it to open with the right job if I just pass that but I need to be able to pass Job Num, PartNum, AssemblySeq, MtlSeq. I’m assuming my syntax is just wrong but struggling to find the right syntax here. This is my current:

{ "type": "Erp.UI.IssueMaterialEntry", 
"options": { "valueIn": [
{ "JobNum": "{BackFlushExceptions.JobMtl_JobNum}" }, 
{ "PartNum": "{BackFlushExceptions.JobMtl_PartNum}" }, 
{ "AssemblySeq": "{BackFlushExceptions.JobMtl_AssemblySeq}" }, 
{ "MtlSeq": "{BackFlushExceptions.JobMtl_MtlSeq}" } 
] 
} 
}

I’ve tried SOOO many different options..

Suspicious Monkey GIF by MOODMAN

Do we even know if that form will accept those extra parameters?

uhhhhh honestly…i have no idea how to check that :upside_down_face: so…thats a big fat nope :grimacing:

try this?

{
  "type": "Erp.UI.IssueMaterialEntry",
  "options": {
    "valueIn": {
      "JobNum": "{BackFlushExceptions.JobMtl_JobNum}",
      "PartNum": "{BackFlushExceptions.JobMtl_PartNum}",
      "AssemblySeq": "{BackFlushExceptions.JobMtl_AssemblySeq}",
      "MtlSeq": "{BackFlushExceptions.JobMtl_MtlSeq}"
    }
  }
}

Yeah I had tried this before and getting that it’s not a valid entry (tried it again for sanity check and same result). Im honestly assuming the form just doesnt accept those parameters. But how on earth does one know what params are accepted for a form?

I just looked through the json, and it does not.

{
    "id": "AfterInitialize",
    "actions": [
        {
            "type": "event-next",
            "value": "MaterialQueue_SetProcessMultiple"
        },
        {
            "type": "condition",
            "param": {
                "expression": "context && context.initialValueIn && context.initialValueIn.ValueIn && context.initialValueIn.ValueIn.MtlQueueSysRowID",
                "onSuccess": [
                    {
                        "type": "event-next",
                        "value": "initializeFromMtlQueue"
                    }
                ],
                "onFailure": [
                    {
                        "type": "row-update",
                        "param": [
                            {
                                "columns": [
                                    {
                                        "epBinding": "TransView.FromMtlQueue",
                                        "value": false
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "condition",
                        "param": {
                            "expression": "context && context.initialValueIn && context.initialValueIn.ValueIn",
                            "onSuccess": [
                                {
                                    "type": "row-update",
                                    "param": [
                                        {
                                            "columns": [
                                                {
                                                    "epBinding": "KeyFields.JobNum",
                                                    "value": "%session.context.initialValueIn.ValueIn%"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    }
                ]
            }
        },
        {
            "type": "page-navigate-to",
            "param": {
                "page": "Main"
            }
        }
    ]
}

Hmm okay. Where do you see that json btw?

F12 Dev tools, network tab, getapp call.

OHH! Omg, thank you! Idk why I didn’t think to check that! Appreciate you!

Damn, you got to know me quick.. :rofl: