Skip to Content
0
Former Member
Oct 15, 2009 at 12:10 PM

Using UDO to link CFL to UDT

410 Views

Hi

I've got a matrix where I need to have a choose from list linking from one of the columns to a user defined table. I understand that I need to create a UDO linking to this UDT and then use the code of this UDO as the CFL ObjectType. I'm not familiar with using UDO's so I am have a little trouble linking my UDT to one. I currently have the following code but this doesn't seem to work. What do I need to do?

Dim UDOUDT As SAPbobsCOM.UserObjectsMD

UDOUDT = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)

UDOUDT.Code = "UDOCode1"

UDOUDT.TableName = "GFP_Machines"

oCFLCreationParams.MultiSelection = False

oCFLCreationParams.ObjectType = "SUDOCode1"

oCFLCreationParams.UniqueID = "CFL1"

Thanks

Steve