on 01-02-2014 10:34 AM
Hello experts,
as the topic says i've some problems after updating to 9.0.
We have an Addon which uses SAPbobsCOM (DIAPI) and SAPbouiCOM (UIAPI).
After replacing the .dll's it seems that i can't access a few Objects of the DIAPI.
For example BoFieldTypes. It says that the BoFieldTypes isn't unique in the SAPbobsCOM namespace.
Same with many other objects like BoFldSubTypes, BoGenderTypes (but only with the Enums started with Bo)
Any idea's what i can do?
Hi Jan,
This is an addon developped by you, or provided by somebody else?
If by you, I guess the addon is composed by different modules... Verify all references, one should be with the old proxies.
If by somebody else... It is better to ask the developper to do the migration.
Regards,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jan,
- Open you project addon (visual studio)
- Klik folder reference
- Remove previous reference SAPBOBCOM & SAPBOBUI
- then add again new reference SAPBOBCOM & SAPBOBUI for version 9
- rebuild the addon
- test again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jan,
If I am not wrong, it should not behave like this. I have also upgraded my add-ons to version 9.0 and haven't experienced such problem.
Can you check some points:
1. Check whether the namespace SAPbobsCOM is not used twice in your class.
2. When you are using BoFieldTypes use it using SAPbobsCOM.BoFieldTypes or SAPbobsCOM.BoFldSubTypes etc.
3. Have you properly removed your previously used references and recompiled your project too. ?
Check these points at your end and reply accordingly.
Hope it is helpful.
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.
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.