Feature Pack Independent BIIs
BODs and BDEs for LN are often implemented for multiple LN feature packs, such as FP6, FP7, etc. Implementations of the same interface can be created for Baan IV and Baan 5.0
Solution in the Generated Code
In case of data model differences between the feature packs or versions, multiple business interface implementations (BIIs) can be created in the LN Studio. However, this requires additional development efforts and makes maintenance more expensive. For that reason it is advisable to create a single BII and use that to generate the runtime in multiple feature packs or versions. Or generate the BII in a separate package and use a single version of that package in combination with multiple application versions.
However, in new application versions new table columns may be introduced. If those table columns are used in the BII, the BII cannot be generated for the older versions, in which the table columns are missing. For that reason the LN Studio generator is enhanced. The generated code has become fault tolerant for missing table columns.
If columns a, b and c exist in FP2 and FP5, but column d only exists in FP5, you can use a single implementation for both feature packs. The generated code will ensure that for FP2 column d is not selected or assigned, but for FP5 it is.