Builds of B1UP are always compiled on the version of the minimum required version (as of this writing that version is SAP 9.2 PL04). This can cause issues if you use Dynamic Code, UFFI or Advanced Tab on Master Data Manager and wish to use some of the SDK objects and properties that were added in a later version of SAP. This article explains how you can work around this limitation if you have access to Visual Studio.
Steps to do (per machine running the B1 Client):
- Using Microsoft Visual Studio, generate SAP Interops files for your current SAP version (You can use the attached VS Project)NB: Remember if your SAP is 32-bit you need to compile as "x86" and if your SAP is 64-bit you need to compile as "Any CPU"
- Take the two "Interop" Files highlighted above and place them in "C:\Program Files (x86)\SAP\SAP Business One\AddOns\BOY\B1 Usability Package" (or in 64-bit install folder if you use that)... This will replace the original files and let B1UP think it is compiled on you SAP Version.
Warning: Remember that when B1UP is upgraded the upgrade will overwrite your custom overridden files and need to be re-applied.