Hello all! I made a layer on the Kinetic Print Invoice screen. The Print Invoice screen can be loaded from Financial Management → Accounts Receivable → Reports → “Mass Print AR Invoices” path, but it can also be loaded by simply clicking Invoice → Print Invoice in the AR Invoice Entry screen:
I can get my layer loaded just fine when it’s loaded from the menu, but when users use "Print Invoice’ button from the AR Invoice Entry screen, my new layer does not load. I tried creating a process and was able to set that process to load my new layer, but that failed too. How do I get a layer to load by default when its opened from a screen?
I’ve been scratching my head on this one, especially after creating the process didn’t work…
I have NOT tried this Jeremy, but I wonder if it is the same as classic?
In Classic, we have to create a customization name that has the same name as the sub-form customization - even if it is blank. So, you could try creating a layer on the AR Group with the same name.
You have to create a layer for the parent form and then find the event that opens the subform and override it/disable and create your own to call the app-open widget with your custom layer.
For clarity, and to help anyone in the future, here is a full description of the issue:
I made a Layer on the Print Invoice screen, this layer loads by default just fine when I open the form from the menu. MenuID: ARRP6600 Form: Erp.UIRpt.ARInvForm Layer Name: PrintInvoice
Screenshot from the menu:
I can’t be the first human to try and get a layer to load on a subform by default in Kinetic… right? As Mr. Wonsil suggested, I made a layer and set it to load by default in Menu Maint on the AR Invoice Entry screen, I even tried creating a process calling maint record:
This has me stumped b/c I’m doing the same thing Kinetic is, or at least I think I am. Perhaps I’ve missed something? I don’t think I need anything on the subscreen, right? It’s already setup to retrieve these LFOs that Epicor sends it.
Sorry to bother about this. It’s a dead horse to you. I’ll wrap up, and post a summary when I can. Hopefully, it answers a lot of people’s questions going forward thereby helping you. I appreciate your help in this.
Got it working. I assumed since I was passing the same LFOs to the subscreen that Epicor was OOTB, that I didn’t have to do anything else. Obviously, I was wrong. I had to dump the Launch Options (LFOs) Epicor had in the AR Invoice Entry screen entirely, and create on my own.
Then, in the Print Invoice Form (my subscreen), I created an event hooked up to BaseLoad. There, I created a condition that checks to see if there are Launch Options passed in, and if so, I set ReportParam.InvoiceNum = the .InvoiceNum LFO.