on 09-20-2007 6:37 AM
Hai To All,
Iam in Purchase Module i want to modify predefined screen "Goods Return" on that screen i added one field named Reason in grid. On that field i want to select the value from Choose From List but i cant add CFL.
If anyone had idea tell me.
Thanks,
Regards,
Anitha
hi...
ur form u design or system form....
ur form means go to screen painter and create choose from list next
give corrrect object type.
u select to ur new item(field)give choose from list serial no.
Thanks...
Chiyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi anitha...
You does not need to add any column in the Screen .. just add a column into RPD1 Database Table by DI API Code... and after that a column will be add automatically into the matrix then you need to get the item uid of that Column and use that code of choose from list
public void AddChooseFromList(SAPbouiCOM.Application oSboApplication, SAPbobsCOM.Company oCompany)
{
try
{
ChooseFromListCollection = oForm.ChooseFromLists;
SAPbouiCOM.Conditions oCons = new ConditionsClass();
oColumn = oMatrix.Columns.Item("10");
// 10 is item uid
AddChooseFromList(oColumn, "4", "ItemCode", false, oCons, oSboApplication);
// item code is the OITM field...
}
catch (Exception ex)
{
//
}
}
and Code for Choose from List ...
after this
if u have any probelm...
send me your code.. i will solved that
if u get help .. please give rewards points...
regards
deepak gaur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ani,
Do u want to add a column in Matrix at Good Return Form.
Regards,
Lalit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U will try the following code for adding choose from list at matrix column.
SAPbouiCOM.ChooseFromListCollection oCFLs = null;
SAPbouiCOM.Conditions oCons = null;
SAPbouiCOM.Condition oCon = null;
oCFLs = oForm.ChooseFromLists;
SAPbouiCOM.ChooseFromList oCFL = null;
SAPbouiCOM.ChooseFromListCreationParams oCFLCreationParams = null;
oCFLCreationParams = ( ( SAPbouiCOM.ChooseFromListCreationParams )( SBO_Application.CreateObject( SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams ) ) );
oCFLCreationParams.MultiSelection = false;
oCFLCreationParams.ObjectType = "4";
//Object type="4" for ItemMaster Data
oCFLCreationParams.UniqueID = "CFL1";
oCFL = oCFLs.Add( oCFLCreationParams );
//Add Column to user data source and then assign the CFL UID to the column.
oColumn.ChooseFromListUID = "CFL1";
Regards,
Lalit
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.