on 03-26-2015 5:31 PM
Does anyone know how to iterate through all active items in any given form. What I am trying to do is get all UIDs on a form and then configure a form via xml with the retrived IDs. I am working with SAP B1 9.0
Hi Jesus,
Here is how you would get all items on a form:
foreach (Item item in oForm.Items)
{
if (BoFormItemTypes.it_MATRIX == item.Type)
{
var matrix = (SAPbouiCOM.Matrix)item.Specific;
matrix.LoadFromDataSourceEx(true);
}
}
Hope it helps.
Thanks & Regards
Ankit Chauhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moved to B1 forums
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.