case "2305":
{
SAPbouiCOM.Form oForm = Support.oApplication.Forms.GetForm("142", 1);
FrmPedidoCompra frmPedidoCompra = new FrmPedidoCompra(oForm);
frmPedidoCompra.CreateButtonNovaDataEntrega();
break;
}
I have this code and i want to know why it returns the message: Form - Not found [66000-9]. 142 is the type of Purchase Order, isn't it?
I tried everything. Trade 142 by 139 for example, but the error continues.
Is this form already opened? Because this method does not open new one it just returns exsisting one if there is any.
From documentation: