My Child class has a property declared as:
Friend Shared line38cProperty As PropertyInfo(Of System.Decimal) = RegisterProperty(New PropertyInfo(Of System.Decimal)("line38c"))In the Parent class I'm responding to the ChildChanged . Here I loop through Child.BLB and get a total of dollars based on a value in the BLB Item. After I have my totals (6) I need to set the appropiate properties in two different child classes (3 in each) by trying:
SetProperty(
Of System.Decimal)(ChildClass.line38cProperty, lineChargeable)But the error is:
Property load or set failed for property line38c (One or more properties are not registered for this type)
I prefer to use the SetProperty funcion to avloid having these properties as Read/Write. Since they are calculated fields they should never be exposed to somone entering a value to them directly
It is possible you need to either upgrade to 3.6.1 or add the _forceInit code as described in the Expert 2008 Business Objects book.
Copyright (c) Marimer LLC