We have a custom page in our Acumatica to enter Work Orders. The first field on the page is obviously the WO number. I have the WO number on many of the custom reports we have made. I tried to hyperlink to the WO number on one of my reports by changing the NavigateMethod property to Server as I have done for the SO number many times. The WO displays on the report as a hyperlink but clicking on it produces nothing. Right clicking and choosing open in new tab opens a tab for about.blank. What do we have to do so that the WO number will produce the same behavior in the report as, say, the SO number from the Sales Order Entry page?
Sometimes the above solution won't work (most probably if you route to your own custom screen),
I think the proper implementation is using Main.aspx? in the Navigate URL
and no need of Server navigate method
So your navigate URL will be for Standard Acumatica screen (Invoices and Memos-AR301000)
Navigate Method: Client
Navigate URL: 'Main.aspx?ScreenId=AR301000&DocType=INV&RefNbr='+ [ARInvoice.RefNbr]
Target:either main or _blank
follow the same way to compose the URL for custom screens as well
On a TextBox field use the following three properties:
NavigateMethod, NavigateUrl and Target
Here is an example for a PO:
NavigateMethod: Server
NavigateUrl: ='?ScreenId=PO301000&OrderNbr=' + [POOrder.OrderNbr]
Target: _blank
You can craft the NavigateUrl by going to the page you want to redirect to in Acumatica and selecting the key (ex: the WO field). Then you can copy the URL param from the browser URL bar to your report NavigateURL property. Replace hardcoded key with the WO parameter in your report by concatenating it in NavigateUrl formula.
Target is the standard hyperlink target property, '_blank' will open the link in a new page.
Target reference:
https://www.w3schools.com/Jsref/prop_form_target.asp
Related
I am stuck at a specific point in coding VBA. Using VBA I am logging onto an Intranet portal which is a file management system and opening a series of dynamic web pages one after the other. Using VBA I am trying to get a checkbox element checked. Once this element is checked, all sub-elements appearing in a table below get checked automatically. After this I need to initiate download of all the selected files. However, I cannot get the checkbox element "checked".
Here is the HTML as it appears on the web-page. I cannot share the link as it is intranet and confidential.
Link to the HTML as I am not allowed to post images yet
Here is my VBA code:
Set inpute = objIE.Document.queryselector("div[id=gridx_Grid_2] div div div table tbody tr td span[aria-checked=false]")
inpute.setAttribute("aria-checked") = True
inpute.Click
When the above code is run, the "aria-selected" attribute changes to "true" in the HTML but Click has no effect on the checkbox.
I have tried using the getElementbyClassName method and using Click after that to no avail.
Please help me out on this issue. Do let me know in case you need any other information.
This solution from Zwenn worked perfectly:
First of all, a checkbox has no click event. On topic: Because the whole List of other checkboxes will be marked by marking the one in question, I'am pretty sure the one in question triggers a HTML event like change when you mark it manually. You must check which event it is and trigger it with VBA. You can look for the event with FireFox or Chrome, but not with the IE. Look here how to do that and how to handle with events:
Automate IE via Excel to fill in a dropdown and continue
– Zwenn 14 hours ago
When a sub report spans on multiple pages, the main report looses all control of pagination. This results in the report cutting off at the end of the first page when in PDF mode.
Example:
Our invoices use multiple sub reports to get shipment and sales order details.
When the invoice gets emailed out by the system to customers, the data beyond the first page is missing.
Question: How can we get a sub report to display all the data it should?
Per Acumatica support we tried toggling "keep together" and adding a page break after, but it did not work.
Note that when printing the report in html display mode, the data does display correctly. It also displays correctly if we save as PDF via the browser print screen.
See images for illustration:
Here is the complete solution that worked and explanation (Based on Acumatica support response):
When a subreport is printed as a part of the main report, and the information in the subreport takes more than one page, the system does not break the page flow and prints all information in one long grid. When the report is exported to PDF, the information from the subreport is incomplete. The following steps will allow you to insert a page break in the subreport:
Place the Subreport is a separate GroupHeaderSection
Allow some space between the Subreport control and the section borders
Allow Space
In the GroupHeaderSection properties tab, set the Keep Together parameter to False
GroupHeader Params
Set the PageBreak parameter to After, so that the Subreport Page Footer is printed as the last line of the Subreport
PageBreak result
The next section of the main report will start on the following page.>
Maybe you can try the following:
go to the master report rpx file and find the section where you put the master report.
And then find the KeepTogether attribute under Behavior, and set it to be false.
Please let me know if it works.
I am a newbie in sharepoint/infopath.
I am trying to edit an existing field in sharepoint which seems to be loaded from infopath.
The flow of the program is as follows:
I open a form (which is integrated using infopath) from sharepoint. The form has some multiple choice questions and at the end there is a submit button. After clicking "submit", I am transferred to a list view which displays the "number of correct answers" and "your percentage" columns (I can have multiple attempts and they are displayed in the list).
I am trying to edit the calculations of the percentage. When I open the infopath form, I can see that there is a field called "Your percentage". I displayed the setting and there is no formula.
Where can I edit that field?
Thanks!
Use the button Rule Inspector to check all the rules cotained on the form, the button is located on the data ribbon:
There you can see all the rules, just look up for the one that calculates the percentage.
Hope this helps.
I have couple of JSP pages in my application with couple of "input" tags of type "text"
What I observed is, in Chrome, if the text field is in a "form" tag and if there is a form submission and when user comes back to the same page and tries click down arrow, it shows previously entered value. But if there is no form submission, that is page transition happens with AJAX call, chrome is not showing this previously entered value.
But in IE and Firefox it is not the case, I mean it is not showing the previous value that user entered before even with form submission.
My questions are:
1. How Chrome is showing previously entered value only when "input" tag is in "form" and with form submission?
2.Why IE and Firefox is not showing previously entered values. Do I need to do any settings in these browsers to show previuosly entered value?
The feature that you are referring to is Autofill. You can access additional details on it at: http://www.google.com/support/chrome/bin/answer.py?answer=142893
IE: Go to Internet Explorer Menu/Tools/Options/Content/AutoComplete/
click Settings > Check the options that you want.
Firefox:
http://support.mozilla.com/en-US/kb/Form%20autocomplete;
Add Floating Menu Item to the Page Library "E.g. Copy Item".
Once user selects option, It should
Copy entire selected row's information including Page.
Let user rename the page.
Create a new row in the same Page Library.
Save the copied information in the newly created row.
Thank you for your help
Instead of writing out the entire answer, here's some guidance on a way of doing this:
1) Create a CustomAction in the EditControlBlock for the Page Content Type (or related) containing a UrlAction that goes to a custom ASPX Page, passing required parameters through the aforementioned UrlAction (look into {ListId} and {ItemId} tokens). In this ASPX page, have a field to enter the new Page Name, and then a button to complete the copy and return to the list.
Here is a good starting point:
http://msdn.microsoft.com/en-us/library/ms460194%28v=office.12%29.aspx
Everything else in bold you should research.