We have some label printing that is triggered by an epibtn in a dashboard customization, that I am trying to untangle. This was configured years before I got here.
There is a method the epibutton is triggering that is referencing a vbs script. At least that is my understanding looking at it. I admittedly am awful at coding.
Where would I find this “RawInventory.vbs”?
Ok, I thought it was referencing a script, but it is creating one. Makes sense. Good to know. I thought it had to be ref a file since the script goes to our label printer, instead of our normal printer. So i was expecting some logic somewhere, but I guess the printer designation is somewhere else.
Yes it is used in a different method, printing a diff label .
that vbs file most likely resides on the App server in the folder or sub folder of the Epicor installation. It might even reside in the client folder on the workstations.
Just a reminder that VB is being deprecated in customizations in favor of C#. Aaaaannndd, customizations in C# are being deprecated in favor of new layers (Application Studio) in Kinetic.
This looks like C# to me though. VB doesn’t have braces ‘{}’ in it.
The only place that has VB left in Epicor that I’m aware of is SSRS functions.
It looks to me like the code (in c#) creates a string for the argument to be sent to an external VB script (the automation that is between a batch file and a PowerShell script).
That external VBS takes the argument does some voodoo and probably sends it to the printer.
It would be best to fully integrate the printing process within Epicor