on 10-17-2007 6:14 AM
Hi Experts
I've used a matrix on a ADD form using UIAPI in SAPB1 and I've binded each column with UDF.
I want to get the item list (List of item)when I'll use the "Tab" button in the column of item name, like Purchase Order form.
Is it possible?
If yes, then please guide me in coding of it.
Subrata,
Use the same procedure to itemlist but objecttype differs.
U refer the C:\Program Files\SAP\SAP Business One SDK\Help\SDK_EN.chm
There search for bolinked object.........
And also learn from
C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\17.ChooseFromList
If this answer is helpful give reward points,
Regards,
Anitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First u have to add DBDataSource on ur form by
oDBItem = oForm.DataSources.DBDataSources.Add("table name");
Bind column to DBDataSource
oColumn.DataBind.SetBound(true,"table name","column name");
then assign the CFL to column by following code
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 ) ) );
// Adding CFL for the column.
oCFLCreationParams.MultiSelection = false;
oCFLCreationParams.ObjectType = "4";
oCFLCreationParams.UniqueID = "CFL1";
oCFL = oCFLs.Add( oCFLCreationParams );
//Assign the CFL Id to EditText
oColumn.ChooseFromListUID = "CFL1";
Regards,
Lalit Narayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.