on 06-21-2010 11:56 AM
Hi, All
Matrix Event KEYDOWN Open Form Batches u2013 Setup UI-API ?
This Code: System Receipt PO
if (pVal.FormMode == 3)
{
if ((pVal.BeforeAction == true) && (pVal.ItemUID == "1"))
{
SAPbouiCOM.Matrix oMatrix=null;
oMatrix = ((SAPbouiCOM.Matrix)(oForm.Items.Item("38").Specific));
if (oMatrix.RowCount > 0)
{
if (B1_Application.Menus.Item(ClsConstID.B1_MODULE_SAVEDRAFT_MENU_ID).Enabled == true)
{
BubbleEvent = false;
// Save as Draft
B1_Application.ActivateMenuItem(ClsConstID.B1_MODULE_SAVEDRAFT_MENU_ID);
//I want to opening form batches u2013setup, and add batch number for draft batch
Help me post code ?
//
//
}
else
{
BubbleEvent = false;
B1_Application.StatusBar.SetText("Menu Save as Draft is disabled.", SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error);
}
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
help, post code example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.