Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Linked button and Textbox

Hi Experts,

I'm new to SAP B1 SDK, I would like to ask for a tutorial or "how to" know how to pass a data from UDF where linked button is connected to another UDF like textbox.

like this

As you can see my image here is just only an example. I would like to pass the value of 26 to the textbox (it is located in module number 1) when I clicked the liked button (it is located in module 2).

Former Member
replied

Hi John,

The LinkedObjectType should be an object of B1 (such as "13" for Invoice or "2" for BusinessPartners). But this would only make B1 automatically open the corresponding form with the corresponding record loaded.

To do as you intend you need to catch the click event (with BeforeAction = true) and then do as I mentioned above.

If you need to know how to catch events (and even if you need more info about the linked button) you can check the SDK Help Center document (installed with the SDK) and the samples (you have many samples with event catching and using linked buttons). These are all installed with the B1 SDK.

ps: you don't need to call me Sir


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question