on 10-11-2007 4:01 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.