on 2008 Dec 17 12:46 PM
Hi,
I want to add a linkedbutton associated wiht a IncomingPayments but a don,t find the corresponding object.
I have already added a linkedbutton associated wiht a VendorPayments so object is lf_VendorPayment.
This is my code:
//Vendor Payments
olink = oColumns.Item("DocEntry").ExtendedObject
olink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_VendorPayment
//IncomingPayments
olink = oColumns.Item("DocEntry1").ExtendedObject
olink.LinkedObject = SAPbouiCOM.BoLinkedObject.???????????????????
anyone can help me?
thanks
Request clarification before answering.
Hello Mariano ,
//IncomingPayments
olink = oColumns.Item("DocEntry1").ExtendedObject
olink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Receipt
The name is a little bit different from the orginal, but the Object Id is static.
Here is a tip how can find the exact linkobject type.
1.Open B1, get the exact main table name from System Information.
e.g. ORCT is the table for Incoming Payment.
Then RCT is the Object Name for Icoming Payment
2.Search keyword "Objects ID" in SDK online help. Open the Object ID list
3.Search keyword "RCT" in the Objects ID List. Then get the Object ID of Incoming Payment.lt is 24.
4.Search Object Id "24" in BoLinkedObject Enumeration. Then get the linkobject type. It is lf_Receipt
Kind Regards, Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.