LINK BUTTON PROBLEM
I have created one btns- (acting for add,find, update etc having same unique id )using VB.NET code.I want to write code according to the captions of the button...I mean for diff caption of the btn , diff action should perform?
So , plz anyone tell me how to code for it using VB.NET(for Business One)
Thnxs in advance..
Chetan
Chetan,
You will want to post your question in the SAP Business One Forum as this is the forum related to the SAP Business One SDK. The forum you have posted your question in is for the SAP Business One Integration for SAP NetWeaver.
HTH,
Eddy
Similar Messages
-
Flash link(button) problem via xml link (Flash popup error)
hi...
I'm getting a problem when i run a swf file from HTML/Outside(i mean to say from folder) and click on the button (button calling xml file which has link in it), i get a adobe flash popup error/msg. As shown below....
my codes are as follows
XML CODE:
<?xml version="1.0" encoding="utf-8"?>
<tree>
<link>
<port>http://www.marcomanie.com</port>
<news>http://www.asdfmanie.com</news>
<gallery>http://www.wesdmanie.com</gallery>
</link>
</tree>
My flash codes are as follows
LOADING AS
function loadXML(loaded) {
if (loaded) {
_root.port = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.news = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
_root.gallery = this.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue;
port.text = _root.port;
news.text = _root.news;
gallery.text = _root.gallery;
} else {
trace("file not loaded!");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("linker.xml");
BUTTON AS
on (release) {
getURL(_root.port, "_self");
Pls let me know what i have to do, to get away with that error
im very much new to these kind of errors, any fast help will be appreciated.
thank u
sunderfix your security settings to trust that swf:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l -
Hi
I've got a linked button in a column within a matrix that shows Sales Order Document Numbers. I've set it to link to the Sales Order form using the following code:
oColumn = oColumns.Add("OrderNum", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
oColumn.TitleObject.Caption = "Order Number"
oColumn.Width = 200
oColumn.Editable = False
oLink = oColumn.ExtendedObject
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Order
The problem I've got though is that if the Sales Order is created with a manually entered Document Number I get the following error when clicking on the linked button.:
"You are not permitted to perform this action [Message 200-30]"
I guess the reason it is happening is that the DocEntry and DocNum are different and the Linked Button is using the DocEntry as reference to which Sales Order needs to be opened when the linked button is pressed.
Is there anyway to stop this from happening and for the Linked Button to function as normal even if the Sales Order has a manually entered document number? So is there a way to allow the Linked Button to link through to a Sales Order using the DocNum not the DocEntry?
SteveCheers mate. I've just tried setting using the PressLink property of the EditTextColumn object however it's not letting me set the EditTextColumn to the column I have in my matrix. The code I have is:
Dim b As SAPbouiCOM.Column
Dim oEditTC As SAPbouiCOM.EditTextColumn
Try
If pVal.Before_Action = False Then
oForm.Freeze(True)
oEditTC = oMatrix.Columns.Item("DocEntry")
oEditTC.Visible = True
oEditTC.PressLink(pVal.Row)
oEditTC.Visible = False
oForm.Freeze(False)
End If
Catch test As Exception
MsgBox(test.Message)
End Try
The error I am getting is "Specified Cast Is Not Valid". The type of column I am trying to bind to is a "it_LINKED_BUTTON".
Steve -
How do I remove download links/button redirect to accurate download
When I go to some sites that have a download link underscored in blue or a button next to text or any other part of the page, I was able to click and download the file. When you point at the link or button you would see the path it will take to download the file. It would have the website name your visiting plus other codes.
But on returning to these sites, when I choose what I want to download, the link or button wants to go to accuratedownload.com. It presents the name of the item I want and with a .EXE extension. My main browser is Firefox version 26.0 on my XP PC. I test Internet Explorer and it produces the same results. Something has changed. I go to the site on my mobile phone, I am able to download the file from the same site and the links/buttons are not embedded with codes to go to accuratedownload.com. I do not know what to call this problem since I had no luck in finding solutions to redirection being embedded in a link or button on a web page that worked fine.
I've tried a reset Firefox, my profile, running Symantec Anti-Virus, Malwarebytes Anit-Malware, Clearing history and so on. The problem still occurs. Need Help.
Note: It would be nice if when the Download Screen pops-up, that we could rename the download file to a name we want (Saves time). Even if you rename the file, the history should record where it came from with the original name if it needs to be downloaded again.To let you know, When I did a reset and restarted Fire Fox without the Add on's. I tested each user account on my PC. Each user account that used Fire Fox or Windows Explorer showed the same symtoms.
Back to troubleshooting, I've completed a scan using Sothos Free Virus Removal Tool. After a lengthy scan of every drive, partition, USB Thumb Drive and so on that it found, in about 5.5 hours it found Mal/FakeAvCn-C, Mal/JavDlEx-A and CXmal/BadLnk-A and continued by clicking the Clean Up button and that took about 15 minutes for some reason. Then it asked to send the log to Sophos. I clicked send and it failed to get to them.
I tried going on the internet to test the cleanup by clicking on some links and buttons. I could not get on the internet. I found that the NIC card was not working. Don't know why now but probably was affected by the scan. I found myself troubleshooting and reinstalling NIC drivers several times before the NIC card started to run correctly.
I read you post and tried to change the proxy settings in Fire Fox to "No Proxy." The scan, clean up and proxy settings change did not remove the embedded paths in links or buttons that allow you to download or be sent to the intended location. It still had paths to accuratedownload.com and eachdownload.com.
Question: By default is the proxy setting suppose to be "Use system proxy settings"? Should I put this back to this setting.
Windows Explorer has the same problem. Is Fire Fox a stand alone product or does it build parts of itself using Windows Explorer?
=========
Besides the scans and removal done to the registry, the scans it did on the files and folders, the Sophos log shows the virus attached to files in Documents and Folders, All Users (and other user accounts), Application and data folders, Java and Cache, including any shortcuts and long cryptic files like (pg42l784fcuo452hsb6cfbkoke045p75f2e02887m).
When programs fail to delete or cleanup after themselves, what locations can be safely deleted manually? -
Link button does not link to the right record.
Hi,
I have created a matrix, and I have made one of the column type as link button. The matrix is loaded with Sales Quotation record, and the DocNo column is a link button. For example, when i pressed the link button of record with DocNo = 10, but the Sales Quotation form pop out is record with DocNo = 8, anyone encountered this problem??? anyone have any solutions on this???
I have tried this with other marketing document object, such as Sales Order and Invoice, the same problem occured... huh, one more thing, if i did not set the document numbering series, the code is working fine, once i set the document numbering series, then this problem will happen ... hope to hear from you guys ...thanks in advanced!!!Hi,
I suppose the reason of this behavior is that the link button relates using the DocEntry value, and not the DocNum fields value.
What we usually do is to have 2 columns, on the first the DocEntry, and in the second one the DocNum. Then we set the DocEntry Column´s width to 20, and then only the orange arrow is shown.
This way, you get the behavior and appearance you need.
Hope that helps.
Ibai Peñ -
Link button not working in matrix
Hai To All,
I created one form with only one matrix. On that i have 5 columns. In first column i have linkbutton link to user defined screen. What its not working.
My code is here
If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
Dim oMatrix As SAPbouiCOM.Matrix
Dim doc As String
oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
Dim oForm As SAPbouiCOM.Form
Dim blnBool As Boolean = False
For frm As Integer = 0 To app.Forms.Count - 1
Try
If app.Forms.Item(frm).UniqueID = "PI" Then
oForm = app.Forms.Item("PI")
oForm.Close()
Exit For
End If
Catch ex As Exception
app.StatusBar.SetText(ex.Message)
End Try
Next
If blnBool = False Then
app.ActivateMenuItem("PI")
oForm = app.Forms.Item("PI")
oForm.Select()
oForm.Freeze(True)
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
oForm.Items.Item("1").Click()
oForm.Freeze(False)
End If
End If
Regards,
AnithaPetr,
Actually this form is same as we discuss sterday that is the form should open automatically without any click. Now my problem is while form opening iam loading some data using query this also working fine. Here iam using linkbutton in matrix. If i click link button i want to open other form which is also created by me. My code is rite but y i dont knw the link button is not working.
here is the code written in itemevent
Case SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED And pVal.BeforeAction = False
If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
Dim oMatrix As SAPbouiCOM.Matrix
Dim doc As String
oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
Dim oForm As SAPbouiCOM.Form
Dim blnBool As Boolean = False
For frm As Integer = 0 To app.Forms.Count - 1
Try
If app.Forms.Item(frm).UniqueID = "PI" Then
oForm = app.Forms.Item("PI")
oForm.Close()
Exit For
End If
Catch ex As Exception
app.StatusBar.SetText(ex.Message)
End Try
Next
If blnBool = False Then
app.ActivateMenuItem("PI")
oForm = app.Forms.Item("PI")
oForm.Select()
oForm.Freeze(True)
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
oForm.Items.Item("1").Click()
oForm.Freeze(False)
End If
End If
Regards,
Anitha -
Command link / button action is not taking place if i use it in iterator.
Hi,
I am new to ADF, i am facing 1 issue while implementing ADF mobile browser application.
Issue: command link / button action is not taking place if i use it in iterator. its just refreshing the page it self and displaying as no records.
Scenario is i am populating the search results in results page from search page using iterator, i want to get the complete details in different page (results page -> details page) .
I have tried in different ways.like
case1:
<tr:panelGroupLayout id="pgl2" layout="vertical" styleClass="af_m_panelBase">
<tr:panelHeader text="#{classviewBundle.SEARCH_RESULTS}" id="ph1"/>
<tr:iterator id="i1" value="#{bindings.SubjectVO1.collectionModel}" var="subject"
varStatus="subIndx" rows="100">
<tr:panelBox text="#{subject.Subject} #{subject.CatalogNbr} - #{subject.CourseTitleLong}"
styleClass="af_m_listingPrimaryDetails" id="pb1">
<f:facet name="toolbar"/>
<tr:table var="ssrClass" rowBandingInterval="1" id="t1" value="#{subject.children}"
varStatus="clsIndx" rowSelection="none"
binding="#{SessionBean.subjectTable}" verticalGridVisible="true"
emptyText="No Records" width="100%">
<tr:column id="c9" sortable="false" styleClass="width:100%">
<*tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"*
id="commandLink2" styleClass="af_m_listingLink"
*action="#{pageFlowScope.BackingBean.searchaction}"></tr:commandLink>*
//remaining code
in this case commandlink action is not able to invoke serachaction() method
case 2:
<tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"
id="commandLink2" styleClass="af_m_listingLink"
action="classdetails}"></tr:commandLink>
in this case its not able to navigate to classdetails page.
I gave correct navigation cases and rules in taskflow,but its working fine when the command link is out of iterator only.
i tried with actionlistener too.. but no use.. please help me out of this problem .
*Update to issue:*
The actual issue is when i use command link/button in an table/iterator whose parent tag is another iterator then the action is not taking place.
the structer of my code is
< iterator1>
#command link action1
< iterator2>
#command link action2
</ iterator2>
< /iterator1>
#command link action1 is working but "#command link action2" is not...
Thanks
Shyam
Edited by: shyam on Dec 26, 2011 5:40 PMHi,
To solve my problem I used a af:foreach instead.
<af:forEach items="#{viewScope.DataBySubjectServiceBean.toArray}" var="text">
<af:commandLink text="#{text.IndTextEn}" action="indicator-selected" id="cl1">
<af:setActionListener from="#{text.IndCode}" to="#{pageFlowScope.IndicatorCodeParam}" />
</af:commandLink>
</af:forEach>
By the way you need to convert the iterator to an Array using a ManagedBean.
public Object[] toArray() {
CollectionModel cm = (CollectionModel) getEL("#{bindings.TView1.collectionModel}");
indicators = new Object[cm.getRowCount()];
for(int i=0;i<cm.getRowCount();i++){
indicators[i] = cm.getRowData(i);
return indicators;
public static Object getEL(String expr) {
FacesContext fc = FacesContext.getCurrentInstance();
return fc.getApplication().evaluateExpressionGet(fc,expr,Object.class);
Hope that helps-
Edited by: JuJuZ on Jan 3, 2012 12:23 AM
Add getEL Method -
Trouble with Linking Buttons to Articles in Other Folios
I am very new to DPS as in I just started working with it less than a week ago. My main problem now is linking buttons from one page in a Folio to another.
My set up right now is this:
I have a folio named "Cover" that has the landscape and protrait version of the articles.
I have a button placed on the articles that I want to link from Cover to a folio named "Menu" which also has both orientations
I understand the 'navto://', but I am not clear on how you connect folios of the same project.
Reading through the Adobe tutorials definitely walks me through setting this up, but not how to make it all work together easily.
Thank for any help.
-FrankYour terminology is somewhat confusing.
My best bet is that you want to link from a certain page in one article (e.g. "Cover") to a certain page in another (e.g. "Menu").
If that's correct, then
navto://Menu or navto://Menu#0
will send you to first page of "Menu" article
navto://Menu#1
will send you to the second page of "Menu" article
navto://Menu#2
will send you to the third page of "Menu" article
and so on... -
hi friends,
I am trying to insert a link button in my grid (column1)
I created a user form with a grid.
Now in that grid (first column) i want to insert a link button,which will call a system form(like sales order screen)
i'm pasting piece of code (vb.net)related to my grid
so plz send me code how to get link button in my grid and where i can insert that code
' Add a Grid item to the form
oItem = oForm.Items.Add("MyGrid", SAPbouiCOM.BoFormItemTypes.it_GRID)
' Set the grid dimentions and position
oItem.Left = 20
oItem.Top = 100
oItem.Width = 520
oItem.Height = 300
' Set the grid data
oGrid = oItem.Specific
oForm.DataSources.DataTables.Add("MyDataTable")
oForm.DataSources.DataTables.Item(0).ExecuteQuery("select DocNum from [@SALCO_H]")
oGrid.DataTable = oForm.DataSources.DataTables.Item("MyDataTable")
' Set columns size
oGrid.Columns.Item(0).Width = 50
'oGrid.Columns.Item(1).Width = 60
'oGrid.Columns.Item(2).Width = 130
' Get the added form object by using the form's UID
oForm = SBO_Application.Forms.Item("frmGrid")
Thanks & Regards
SARANThenks for u r reply , i gone through that link it is helpful for me but still i have a problem,
now i'm getting linkbutton but it is not performing any function,though i gave the code for that link button and related screen id like <b>2</b> for business partner or like <b>bplist</b>
and <b>one more problem</b> i was facing with grid is
i created a grid in my user screen and i want to get the <b>form settings</b> for that grid(if i click <b>(tools--->form settings)</b>.then it display form settings screen for perticular userscreen.
is it possible to get form settings for a screen having grid
Thanks & regards
SARAN -
Hello
I have a noob problem. I am trying to create an image button in my JSP page. I want to have an image as the background for the button with dynamic text on top of the image (in the foreground).
This is what I have so far.
<html:link href="javascript:submitLink('Monthly');"><html:img srcKey="button.buyPremium" altKey="motorInsuranceQuote.label.monthly" />Monthly Payment: <c:out value="${MotorInsuranceQuoteForm.monthlyPremium}" /></html:link>The problem with the above code is that it produces an image button that doesnt have the dynamic text on top of the image and centred. How can I go about doing this?
Thanks in advance for any help :-)sorry, may be my lack of awareness or my curiosity to solve the issue forced me to ask such a wide (a bit foolish too,l i agree) question. sorry
but can u tell which all packages i hav to download from http://jakarta.apache.org/commons/fileupload/ for the proper working of this. bcoz i can see too many projects there in the download area. so that forbade me from doing some scratch works in that code. help me if u can
aleena -
Link Button Not Display for Tax Amount
Hi Experts,
I have one Problem
I am creating A/R Invoice Document and I have assing Tax Code for Item
It will show Tax Amount but link button or drill button not display for tax amount
pls give me solution
Warm Regards,
Sandip KokateHI
How to Clear Chumb
And I am Selecting Tax Code but still it will not show Tax Amount Link button but Tax Amount is perfectly Match
Regards,
Sandip kokate -
Link button in grid column to UDO
Hi,
I read through the posts regarding linking to user-defined objects, but I found it very confusing. Some posts say that it is not possible to create a link button to a UDO; others say you need to use the extended-object property.
Does anyone have code that I could use to designate a grid column as a link to a UDO?
The code I'm using is:
oGrid.Columns.Item(1).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
txtColumn = oGrid.Columns.Item(1)
txtColumn.Width = 83
txtColumn.LinkedObjectType = ???
I need to fill in the "???".
If I designate an SAP B1 object type it works.
Thanks,
MikeRasmus,
Thanks for taking the time to provide a detailed explanation. I think though that SAP needs to solve these kinds of problems. It is my understanding that the main design goal of Business One is to provide an infrastructure that would reliably enable customization around it. There is no such thing as accounting software that does not need some kind of adaptation to make it work for specific kinds of business models. So a design that makes customization easier makes a great deal of sense.
If it is necessary to improvise in order to do what you need, then this design goal has not been met. It also means that Business One is not what is managing the process because you are effectively going around it. This in my view is actually worse than if Business One made these links work. By forcing us to go around it, we effectively loose the data protection that Business One should be providing. This is my take on it anyway.
We solved the problem by opening the appropriate form with the appropriate data in it by using the double-click event. The reason we have to do it this way is because the SDK will not even display the link button in a grid if its target is a UDO. This brings up another reason for the SDK to be more cooperative with these efforts. SAP has provided a detailed document describing the need to not deviate from Business Ones look and feel. Perhaps SAP needs also to provide an SDK that more reliably and easily enables that caveat.
If Business One had been designed from the ground up using SOA, its original design goal would be a lot easier to meet. Maybe this is the real problem.
Thanks,
Mike -
Dynamic link button from speed grade to premiere is grey.
Dynamic Link button from Speedgrade to Premier is grey. No problems Linking from Premier to SG, but no way to send the project back to Premier. The project is in Apple ProRes 4444. I have a Mac Pro last generation. Thanks for an urgent help!
Well... I have done everything you advice first SG, but it didn't work, so I have cleaned the whole CC, erasing any possible trace of it from my computer, then I have gone through the Cleaner Tool and reinstalled brand new the whole thing.
My builds now:
PrPro: 8.2.0(65)
SpeedGrade: 8.2x51
Exactly the same. Obviously, troubleshooting.
For what I understand, according to your comment, is that I ave to match the builds, which would mean either to low down PP to 51 or up SG to 65... Is ti that or am I getting crazy?
But how the hell to do it?
I have a 2 hours film with a 1 month grading work on it stuck in SG... Aaaaahhhhh!
(Oh, the good old times of FCP 7 and Color... NEVER A PROBLEM)
Best,
Luis -
hi guys,
I want to set a link button to user define table field.
I read the available topic in forum. But I am not able to get it. Please anyone help me regrading this problem.
If possible give explanation through code.
Thanks in advance.I´m sorry to tell that you can only show system objects and UDO objects using the link buttons. What I don´t know is if your for is for a UDO, SBO is able to know that it should open that form or it opens the standard one.
In case it doesn´t show the form you need, what you could do is use the linked button for a user defined object, set the linked object property to BoLinkedObject.lf_None and then handle the On_Click event and show your user form.
Regards,
Ibai Peñ -
Hi
In my application i am facing a different issue.. I placed a link button it should link to GRPO so i gave its linked object as 20. given the text field id as linkTo
now when i give some vale in text field and click on link button it is opening GRPO form but the document number is not same what i gave in the text box.
when i tried by entering the value in text what i have sen in GRPO when i click on it. now this time it trows an error that the entry does mot exist..
what is wrong with this ,,
Thanks Regarding.hi,
Even i faced the same problem.
what i did is...
on the click of link button GRPO form loads. Now collect the DocNum at the link button and use form load event as follows...
If pVal.BeforeAction = false And pVal.FormType = 143 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_Form_Load Then
Dim GRPOUID as string = pVal.FormUID
SBO_Application.Forms.Item(GRPOUID).Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
Dim oEdit as SAPbouiCOM.EditText = SBO_Application.Forms.Item(GRPOUID).Items.Item("8").Specific
oEdit.Value = DocNum 'give the docnum collected near to link button.
SBO_Application.Forms.Item(GRPOUID).Items.Item("1").click
End If
guess the above solves your problem.
regards,
varma
Maybe you are looking for
-
I have read the tutorial but i still cant get a home made icon in my tree-component. If i load it and teel to use it it doesn't show!!! what's wrong?? public DefaultMutableTreeNode tnRoot = new DefaultMutableTreeNode("FleetCommander"),
-
Hardware RAID on V440 - RAIDCTL reports strange size.
Got 4 disks in my system. Solaris installed on disk2. Others not used. So, did :- raidctl -c c1t2d0 c1t3d0 Now it looks like t3 has disappeared now when I do format (as expected). Output of raidctl is- bash-3.00# raidctl Controller: 1 Volume:c1t2d0 D
-
How to design search field in webdynpro java iView
Hi, I created one webdynpro (java) iView.I want to design one search fields like Google on webdynpro iView.How to achieve this requirement?Can someone explain me in steps? Thanks, Kundan Edited by: Kundan 2009 on Feb 26, 2010 10:06 AM
-
Odd noise when inserting a disk
I have a brand new macbook pro, less than a week old, and from the day I got it, every time I insert a disk, it makes this loud popping/clicking noise. Is this normal or maybe there is something wrong?
-
I was wondering if the fuzzy, jaggy icons that show up at the left in the Safari address bar could be turned off in some way. Or by getting a mac with a Retina display.