When you add a profit center, a distribution rule is automatically created with the same name and one line. The rule distributes the cost or expense 100 percent to the profit center, and the rule cannot be changed.
Dim oPCService As SAPbobsCOM.IProfitCentersService
Dim oPC As SAPbobsCOM.IProfitCenter
Dim oPCParams As SAPbobsCOM.IProfitCenterParams
Dim oPCsParams As SAPbobsCOM.IProfitCentersParams