Has anyone been able to figure out if it’s possible to call/use the Kinetic edge agent to print from customizations done with app studio layers and custom SSRS forms?
I can provide more details if necessary. As I’m not a developer I don’t know what’s needed to fully understand what I’m asking.
I am confused. If you are in sales order and want to print a pro forma invoice or a sales order acknowledgement they are there in the overflow menu.
If you want to have a custom version of the standard report, you would create another report style and inform the users it was there to select from the list of report styles.
If you want the custom report style to be the default you set the which report style to be the default.
The edge agent just does the rest.
If however you are talking about printing a different report, say a dynamic baq report or a BAQ report, then printing from a button and calling a function is probably going to be the easiest. At this point others chime in please…
There are plenty of examples of printing a report with an Epicor function in Epiusers.
Printing a custom report from a button can be done with a simple event in your form layer (assuming you “generated an application” for the report).
Example:
I have a “War Room Report” which I have an application for (Menu Maint. image below):
Add a button on the form where ever you want/need it:
Add an onclick event (behavior) that calls app-open with the report’s application as the target:
Preview:
Passing Values in gets a little more involved…
Thanks for the replies. Here is some more detail about our current classic UI customization. It is on the “End Activity” screen that is launched via MES as a custom separate tab. The custom tab has a number of fields that default to info pulled from the current job/operation that our shop floor operators are ending. They can override this data with search buttons. Once they have all the required and optional fields filled out they then click on another custom button on the same screen to “print” a shipping label. This then brings up the MS Windows print dialog box where they can select from a list of installed printer objects. This is just the base MS Windows print dialog, nothing to do with Epicor/Kinetic. Behind the scene the values that they entered into the custom fields are passed to a SSRS form and that is what prints.
I need this same functionality to work in the Kinetic web UI. The developer that I’ve had working on this has been having issues getting the same printing workflow to work. Please advise.
So… where are you on this right now?
- Customize End Activity screen to launch custom tab with custom fields prior to printing.
- Button to print shipping label with custom data.
- Print dialog, to select from a list of installed printers.
Typically in the overflow menu, there is an option to “Network Print”
This opens a Network Printer dialog and you can choose from printers you’ve added as network printers within Printer Maintenance.
I don’t know that there’s a way to get the MS Windows print dialog back as a whole.
Gotcha, for our purposes we’ll be using a local printer and not a network one, but that detail doesn’t really matter. The edge agent will be installed and in use regardless. I think the issue begins with our developer not being able to add the print option either with an overflow menu or by adding a custom button that calls the print option. The custom tab from the classic UI is now still a custom tab on the “End Activity” slide out panel in the Kinetic web UI. A custom print button has been added. I think the difficulty was getting this custom print button to call the base printing engine which then uses the edge agent to print the custom SSRS form.
So, are you good now? Apologies, I can’t tell if you’re still stuck or not
Hey David, we are still stuck. Our developer isn’t able to tie the custom print button to call the epicor print engine/edge agent to send the SSRS form print to a local printer.
So, is this what Kinetic calls “Client Print”? I haven’t set that up manually… its just native to standard report forms/applications.
If that’s the case… you could either look at the events from a report print application and try to rebuild them yourself. Or, (IMO) it would be WAY easier to do what I mentioned above in Post #3:
Put your report print in in its own application and have your “print” button open a slider via app-open event and then then Client Print option should already be there.
My first customization in the Kinetic UI so very green here. I’ve done this same custom BAQ report for a Bartender RMA Rcpt Tag. I’ve got a button in a new layer, and to your quote on passing in values, I cannot figure out how to grab the needed fields values from the current RMA Receipt Form and pass these values onward to the Custom Print Prompt fields (either silently or on behalf of the user), on the custom print slide out now. (Everything downstream in the flow is ready and waiting - parameters the BAQ prompts for, the RDD calls Criteria Prompts and the Report Criteria Report Style needs, and the Bartender Label and map file are all waiting to work…if I can only feed these prompts and add a file name and printer path to the flow. How are various values on the form grabbed and passed onward in this UI and tools?
I can’t say I’m well practiced at this portion. Check out the below for breadcrumbs. Hopefully it’ll give you the gist.
You’ll need to know where each value is being held on the current form (binding) and then add json to the app-open Launch options to pass those values.
Ah! It is done in the json script!
I kept looking for something like the old school C# coding components available in the Infragistics UI like within BPMs, but then if using BPMs was the only option, I was trying to figure out how to move the data along in the flow. I’ve been out of Epicor for a couple of years and in that time, all these changes have taken place. So I am dusting off my epicor brain, trying to relate all these new tools to that and often coming up short. Thank you for the tip and lead!