cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to add a LinkedButton for IncomingsPayments

former_member373665
Participant
0 Kudos
115

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

Accepted Solutions (1)

Accepted Solutions (1)

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Answers (0)