CustomersBO.OrdersBO.OrderItemsBO.ItemPrice
How can I do that for SF Business Object?
So far, the error has nothing to do with setting values to the created new row. When using BO.NewRow() SF will populate it with the default values which are good enough in my case.
In order to make it work I added a "New" command to initialize the Private BO variable like this:
Private
Then I made some changes to the property code to make sure the BO is filled all the time, like this:
_insuranceCompany.FillByPrimaryKey(
_insuranceCompany.NewRow()
_insuranceCompany.CurrentDataTable.AcceptChanges()
So far the code above is working fine.