Error when launching Start Production Activity screen from UD screen

Hello guys,

I’m trying to Launch the MES Start Production Activity screen from a UD screen (UD20), but I’m getting an error after opening the base Standard Production Activity screen.

private void btnStartActivity_Click(object sender, System.EventArgs args)
{
LaunchFormOptions lfo = new LaunchFormOptions();
//lfo.ValueIn = “105”;
lfo.IsModal = true;
lfo.SuppressFormSearch = true;
ProcessCaller.LaunchForm(oTrans, “Erp.UI.StartProductionActivityEntry”, lfo);
}

I believe I’m missing certain parameter?

Thanks

The MES screen is assuming that you are launching it from the MES system, where a user would have to be logged in and clocked it. Are you launching this from MES (customized?)? Or are you trying to launch this from the regular desk top client?

1 Like

You’re right Brandon, my apologies I was testing it from the client instead of the MES.

1 Like