cancel
Showing results for 
Search instead for 
Did you mean: 

Question on DI SERVICES

Former Member
0 Kudos

Hi,

If I would like to manage an object that is not present in the list of DI SERVICES available (like Warehouse, SalesPersone, etc), how can I do?

Regards

Marco

Accepted Solutions (0)

Answers (1)

Answers (1)

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Marco,

If the object is not available via the DI Services or as a DI Object then you cannot. What object(s) are you trying to work with?

Eddy

Former Member
0 Kudos

I'm searching for:

- Sales Person

- WareHouse

- Bill Of Material

Marco

Former Member
0 Kudos

Hi Marco,

Sometimes the name of the SDK Objects is not the same as the UI form's name.

The objects you need exist as DI Objects.

Sales Person

Dim oSalesEmployee As SAPbobsCOM.SalesPersons = oCompany.GetBusinessObject(BoObjectTypes.oSalesPersons)

Warehouses

Dim oWarehouse As SAPbobsCOM.Warehouses = oCompany.GetBusinessObject(BoObjectTypes.oWarehouses)

Bill of Material and Production Order

Dim oBOM As SAPbobsCOM.ProductTrees = oCompany.GetBusinessObject(BoObjectTypes.oProductTrees)

Dim oProductionOrder As SAPbobsCOM.ProductionOrders = oCompany.GetBusinessObject(BoObjectTypes.oProductionOrders)

Best Regards,

Vítor Vieira