Erp-baq send parameter to baq

Trying my luck retrieving data from a baq in Application Studio
how do I set the erp-baq BAQ Execute Options to reference a parameter I have set in the BAQ
I have tried myParameter = ‘{view.field}’ for the Where which results in error, I have tried @myParameter = ‘{view.field}’ for the Where which also results in a different error. The Application Studio online Help is most unhelpful with this…

To use a BAQ with parameter inputs, please use the rest-erp event action (Ice.BO.DynamicQuerySvc::ExecuteByID) with the correct setup on the Method Parameters for the executionParams field… something like below sample…

   {
	"ExecutionParameter": [
		{
			"ParameterID": "PartNum",
			"ParameterValue": "{KeyFields.PartNum}",
			"ValueType": "string"
		},
		{
			"ParameterID": "CompanyCode",
			"ParameterValue": "{CallContextBpmData.Character01}",
			"ValueType": "string"
		}
	]
}

Hope that helps.

3 Likes

That worked - Thanks