Linked button and Textbox
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.
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).
Pedro Magueija replied
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