This time I thought I was doing the right thing using the wizard to make my application. I see that it didnt add TransView, so I found that post above and added it myself. But this TransView didnât act like the TransView I was using in my post 3 years ago. The first weird thing was that I had to check key field to even be able to type values in the text box.
I canât see any data in my transview when debugging. I set the Data EPBindings of my text box to TransView.myPartNum. When I enter a value in that field, I do not see it in the transview.
When I apply an event to my textbox onBlur, with the intent to check for nulls, the event never fires. I tried to use ctrl alt 1 and 2 to see the results of the rules, but they never seem to trigger. (debugging just shows âhotkey11â) Looking back Hanna said not to use onBlur and use datatable column changing. I changed the event, and still nothing.
And here is one way I have tried the event. I also tried using the stock onBlur. The condition is:
â{TransView.myPartNum}â !== âundefinedâ && â{TransView.myPartNum}â !==ââ
I have so many questions I donât know where to begin. Letâs start with, How can I make my part number field check for a value? If there is one, then I want to use it to filter the revision combo box, if there isnât one then pop a dialog.
Both had same result, nothing. I suspect my event isnât firing at all since i have dialogs on true and false, something should pop a dialog.
Edit: Confirmed! Even a stock onblur event does not trigger when leaving the text box. I put just a dialog after the onblur event and couldnât get it to trigger. I tried to convert the event trigger to Datatable and dataview, but nether of those worked either.
I donât see a value in your screenshot, did you set it to anything? I have â0â in my value field for the row-update, though it is really hard to see it in the screen shot.
I did miss that, but even after I added the â0â in, the TransView doesnât seem to get values when i type them into the bound textboxes. Also the onblur event on my part number text box still wont fire.
Maybe its your single quotes vs double quotes? But this was also in a modification to start production activity, so I didnât have to create a TransView.
On a custom dashboard I made, I have a text field that filters a grid. In that I did have to initialize fields and create a TransView.
I noticed mine had this field filled in, but your screenshot did not. Not sure what it does or if its required.
After that my dashboard departs. I start filtering the grid using the BAQ Options Where List.
I also vaguely seem to remember people referencing a bug in App Studio that you had to do the initialization before doing anything else to the field in the designer or it would make stuff not work. Its hard to remember since I read through a lot older posts.
No other events yet. I am just trying to get any one single event to work. I cant even get my simple onblur show dialog to work, much less initialize the TransView. I am regretting starting a new app from a Wizard. I though this was the new slick hotness. Its just as borked as the rest of Kinetic.
Well now Iâm fixin to start all over again. This time without the stupid wizard messing everything up. I am still not convinced it is even possible to create this dashboard in Kinetic. I swear if I donât get it this time, I am done. We are going on life support with classic and moving to a new ERP.
I am on year 3 and round 12+ of delete it and start over. At some point I have to cut my losses and run. Make no mistake, Kinetic is causing us losses.
So If I am going to do this right, what is the sanctioned method? Do I use dashboard to generate application, or use the app wizard(haha), or generate a new blank app?
Create Transview dataview (I donât know if it really matters and it 100% shouldnât, but I noticed you capitalized the V in Transview and itâs not normally like that. Again shouldnât matter but superstition and whatnot)
Window_onLoad event to init transview (donât let yourself get lazy about naming events when you create them because you canât go back and change the names later)
Panel Card and text box bound to Transview.PartNumber and test to see if you can enter a part number and it show up in the dataview in dev tools
Dataview wizard to add your baq dataview which will give a dataview and event to load it
Create an event to load your baq dataview when you want to, sometimes I start with a button event and then change to something more automatic later.