on 2006 Aug 03 12:28 AM
Hi,
Does anyone know how to define/create a ChooseFromList (in XML or via code) with BP contacts that can have conditions to filter out the list based on CardCode? I have looked through the BoLinkedObject list and don't see contacts in there. I have also troed to set the ObjectType to "OCPR" but SAP raises an Invalid ObjectType error.
Any ideas?
Thanks,
David
Hi David,
Try instead of ObjectType = "OCPR" with ObjectType = "11" (obtained with this query "SELECT ObjType FROM OCPR"). That should do it. To have it filtered with the CardCode, just add a condition like this:
oCon.Alias = "CardCode"
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
oCon.CondVal = "C00001"
The alias is just the field name.
Hope this helps,
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
9 | |
8 | |
7 | |
4 | |
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.