New parameter of array data type for Erp.BO.POSuggSvc/GenerateShowCreated

Hi all,

We had a huge leap forward from 2023.02.11 to 2024.02.07. Somewhere between those releases, the signature of Erp.BO.POSuggSvc/GenerateShowCreated was changed, and a new generateOptions parameter was added.

Now, I am struggling to figure out how to create an array for the REST-ERP widget. I tried as shown in the image:

I also tried using comma-separated values like BuyerID="{GenerateOptions.BuyerID}", but nothing seems to be working.

Has anyone encountered similar issues?

After trying to create an array from the data, I noticed that each time the parameter is passed as a string:

So, I assume I need to use another option here, maybe a dataset. But how can I pass a dataset in the following structure?

generateOptions: [{“BuyerId”: “Some Buyer”}]

The closest I’ve gotten so far is this:

With the following setup:

This is from the POSugg_Generate upgraded event in the PO suggestions form. I suppose everyone encountered the same issue, didn’t they?