I am looking to set default value to ‘All Sites’ on Site field on AR Invoices → Get Shipment sliding page. By default it was set as ‘Current Site’. Please help me, I will appreciate anyone suggests how to customize or set this on Epicor Kinetic environment. Site has two list values one ‘Current Site’ and another one ‘All Sites’. So I need to set second value by default.
Open AR Invoice Entry and then launch Application Studio
On the left side click on the Events section and search for event InitGetShipmentsFilter
On the designer click on the row-update action, on the right side panel go to properties, then Parameters, then Columns.
On the dropdown select number 2, which should have the epbinding GetInvoicesFilter.PlantChoice, change the value from C to A, save and publish, or preview first if you want.
Thank you for helping on this. When I try to edit, it wasn’t allow me to update (clicked pencil too). It was locked. I copied layer to new name but no use. See screenshot below.
When you make a new layer, it is “Layered” on top of the Base layer. This means that Events from the layer on top cannot modify events on the layer below (they are locked)
Since InitGetShipmentsFilter lives in the layer below, and you cannot modify the base layer, the correct process here is to make a copy of InitGetShipmentsFilter (right click it in the events list, click copy)
This event copy will be set up with a trigger of “Override” - Set it up to Override - Event - InitGetShipmentsFilter
Name it what you like, (I usually do “XXX_InitGetShipmentsFilter_Override”)
I’m not familiar with all you can do in app studio, I wasn’t aware of the Override trigger, I was gonna suggest a new event of type after which runs after InitGetShipmentsFilter, seems both would work.