cancel
Showing results for 
Search instead for 
Did you mean: 

Linked Object for a Grid Column

Former Member
0 Kudos

Hi,

I'm using linked object (for Sales Order) for a grid column, which is placed in a user defined form.

i.e, When I click the orange arrow in the Grid column, it should open the sales order.

It's working fine for the company A, but doesn't work for company B.

When the Add-on is running for that particular company (B), I can see orange link arrow in the grid. But, when I click that arrow, I get the error message "Sales Order 17 is not found". (Actually, sales order 17 exists)

Following is the code that I'm using:

Dim colDocNo As SAPbouiCOM.EditTextColumn

colDocNo = objGrid.Columns.Item(0)

colDocNo.LinkedObjectType =SAPbouiCOM.BoLinkedObject.lf_Order

Thanks in advance.

-Geetha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Geetha,

I know for lf_Invoice linked object types you have to specify the OINV.DocEntry value not OINV.DocNum. Maybe it is the same for Orders? If you run the following SQL in company B does it return any records?

SELECT * FROM ORDR WHERE DocEntry = 17

If no records are returned then that's the problem. Otherwise I'm not sure.

Regards,

Andrew.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andrew,

Thanks for your reply.

Just before sometime, I too found out the same problem. (The docentry and docnum values are same for Sales Orders in company A, in which it is working. And, that's not true for the other company(B) ).

Have a nice day.

Regards,

-Geetha