on 09-28-2005 2:17 PM
Hey Guys,
Can anyone tell me how I can update the Item properties (QryGroup10, QryGroup11, etc...) using the DI API in SBO version 2004?
There is a Properties property in the Items object in the help but I do not have any examples of how to use it.
When I type it into Visual studio and try to compile I get the following error:
<i>Property, indexer, or event 'Properties' is not supported by the language; try directly calling accessor methods 'SAPbobsCOM.IItems.get_Properties(int)' or 'SAPbobsCOM.IItems.set_Properties(int, SAPbobsCOM.BoYesNoEnum)'</i>
Anyone used this property before in C# or VB.NET?
Hi Laura,
The properties are set with the Properties property of the business partner object.
Dim oItem As SAPbobsCOM.Items
...
oItem.Properties(1) = SAPbobsCOM.BoYesNoEnum.tNO
...
The (1) is the property number that you want to set. You can get the property numbers from the OITG table (ItmsTypCod).
Hope it helps,
Adele.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.