Skip to Content

Problem to add a LinkedButton for IncomingsPayments

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 18, 2008 at 02:44 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.