cancel
Showing results for 
Search instead for 
Did you mean: 

LinkedObjectType for Define Profit Centers

Former Member
0 Kudos

Hi all.

A need a LinkedObjectType for Define Profit Center but not found. A try a number 61 but not work.

SAP B1 2005B PL 40.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Nussi
Active Contributor
0 Kudos

Hi,

maybe you should try it with the LinkedObject property.

in C# it looks like:


((SAPbouiCOM.LinkedButton)(oForm.Items.Item("lnkLink").Specific)).LinkedObject = SAPbouiCOM.BoLinkedObject.lf_ProfitCenter;

regards

David

Answers (2)

Answers (2)

0 Kudos

Hi,

Any news about this issue/bug?

Still doesn't work (SBO 2007A SP01 PL 06 HotFix1)

Best regards,

Przemek

Former Member
0 Kudos

Thanks David, but not work.

A need a number of LinkedObjectType and not the LnkedObject.

EditTextColumn oCol = (EditTextColumn)oGrid.Columns.Item(3);

oCol.LinkedObjectType = ?????

Nussi
Active Contributor
0 Kudos

ok, its a column. didn't know that. my code was for linked buttons

so you were right from the beginning

objEditText.LinkedObjectType = 61

or

objEditText.LinkedObjectType = SAPbouiCOM.BoLinkedObject.lf_ProfitCenter

EDIT:

looks like a bug for me ! it doesn't work !

EDIT2:

i tried it now and there's always a error message in 2005 when i try to link it to profitcenter.

iam sorry

regards

David

Edited by: David Nussböck on May 23, 2008 3:49 PM