on 09-29-2008 2:44 PM
Hi Experts
I am preparing a new ADDon.
how to place a link button in the item no field and when the link is clicked it should reflect the item mater data with the item no given in that field.. can i any suggestion from u.. please.
get me some sample codes if possible.
thank you..
Hi
If you about link button in matrix you need: 1) set matrix column type="116" (LinkedButton in matrix column); 2) set LinkedObject property to ObjectType.
For example, you have column with ItemCode and you need to set this properties for column.
See line with <ExtendedObject linkedObject="4" LinkedObjectType="4" /> where Object Type = 4 corresponds to OITM.
In the case for the column CardType: <ExtendedObject linkedObject="2" LinkedObjectType="2" />
Hope this help you
Regards
Sierdna S.
<column uid="e1UItemCod" type="116" title="Item Code" description="Item Code"
visible="1" AffectsFormMode="1" width="83"
disp_desc="0" editable="1" right_just="0" val_on=""
val_off="" backcolor="-1" forecolor="-1" text_style="0" font_size="-1"
ChooseFromListUID="2" ChooseFromListAlias="ItemCode">
<databind databound="1" table="@USER_TABLE_NAME" alias="U_ItemCode" />
<!-- HERE YOU SET Linked Object 4 (OITM) for e1UItemCod -->
<ExtendedObject linkedObject="4" LinkedObjectType="4" />
</column>
Edited by: Sierdna S on Sep 29, 2008 4:25 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi i am using screen painter in the form i set these values
matrix
display desc = false
enabled = true
from pane = 0
height = 162
left =5
linkto=
rightjustified = false
topane=0
type= it-matrix
uniqid= matrix
visible=true
specific
matrixlayout=mt_normal
selectionmode=ms_single
for the column
alias= U-item
databound= true
desp= partno
dispaly desc=false
editable=true
rightjustified=true
table=@tbl_indent
title=partno
type=it_link_button
unliaid=col_2
specific
choosefrom listalias=
choosefromlistuid=
linkobjecttype=4
..
this is the column where i need link button..
can u please help me what to do further..
Hi..
ur using screen painter..
select linked button and give
linked object=item master object id
Regards
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mahendra Babu,
Here i have given one solution for you. Hope it wil be helpful for you. change the Column type as '116' and linked the column with the linkedobject type '4' .Below refer the column uid="1", i have linked the column with the itemcode.
<item uid="14" type="127" left="5" tab_order="0" width="580" top="68" height="195" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute/>
<specific SelectionMode="0" layout="0" titleHeight="20" cellHeight="18">
<columns>
<action type="add">
<column uid="0" type="16" title="#" description="" visible="1" AffectsFormMode="1" width="30" disp_desc="1" editable="0" right_just="0" val_on="1" val_off="0" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="1" table="" alias="u2"/>
<ExtendedObject/>
</column>
<column uid="1" type="116" title="Item Code" description="" visible="1" AffectsFormMode="1" width="92" disp_desc="0" editable="1" right_just="0" val_on="1" val_off="0" backcolor="-1" forecolor="-1" text_style="0" font_size="-1" ChooseFromListUID="CFL1" ChooseFromListAlias="ItemCode">
<databind databound="1" table="@PRDT" alias="U_ItemCode"/>
<ExtendedObject linkedObject="4" LinkedObjectType="4"/>
</column>
<column uid="2" type="16" title="Item Name" description="" visible="1" AffectsFormMode="1" width="139" disp_desc="0" editable="1" right_just="0" val_on="1" val_off="0" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="1" table="@PRDT" alias="U_ItemName"/>
<ExtendedObject/>
</column>
</action>
</columns>
</specific>
</item>
With Regards
G.shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.