cancel
Showing results for 
Search instead for 
Did you mean: 

Linked Button object question

Former Member
0 Kudos
156

Hey Everyone,

I have created some code to replicate the choose item functionality for master item data. I take the itemcode selected and put this in a text box.

How do I use the Linked BUtton object to allow the user to click the yellow arrow and view this object? Do I have to code the click event, etc.. on my own? Or is there built in SDK functions to make this work?

Any help would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

AlexGrebennikov
Active Contributor
0 Kudos

Hi Laura!

As i know 'ChooseFromList'-service will be exposed in v2005.

More at https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/businessone/s-u/sa... business one 2005 release notes.htm#_toc103594943

There is also no any standard method to relate LinkButton and your 'ChooseFromList'-implementation.

All you need is to handle LinkButton-click and then execute your code for 'ChooseList'.

The code-scheme in ItemEvent-handler can be like that:

if (event = ItemPressed && item = LinkedButton)

{

myChList = new ChList();

oEditText.Value = myChList.SelectItem()

}

hope it'll help

Former Member
0 Kudos

Sorry I may have been a bit confusing with my wording. I don't want to open the choose list object from the link arrow. I want the link arrow when clicked to open the master item data form for the itemcode entered into the edittext box. (The same as the customer edittext box on the sales order form)

Thanks for the help.

AlexGrebennikov
Active Contributor
0 Kudos

ups...

excuse me. it was not clear for me, sorry.

try to relate your LinkedButton with EditText by LinkTo-property and set MasterItemData-enumeration as target type of LinkedButton.

Former Member
0 Kudos

Thanks Alexey that did the trick.

Answers (0)