Create two DataViews. One for your Jobs, then one for the related parts.
When the OnBlur event activates, use dataview-filter-set and filter the part DataView by the current job.
What screen are you working in? The dataview for your jobs would be where ever that info is sourced from.
For the parts, yes–create a BAQView for your query.
I am working in a custom dashboard. The dashboard contains a BAQ that lists the contents of UD08. Ideally the user types in the job number as the start of the data entry process. I will keep playing with the dataviews on my end. Thank you for your help!
You wouldn’t need a view for it then. I was assuming you had two dropdowns.
If JobNum is just a textbox, then you don’t need to worry about a dataview for it. Just bind it appropiately–say TransView.JobNum or something.
I just hate this experience so much! Nothing seems to be working, but there are no errors or anything to point me in the right direction.
I have a Job text box with ID: TextBox-c38d0 I have an OnBlur event setup that triggers a dataview -filter-set action. Dataview = MyParts, Filter = JobAsmbl.JobNum=TextBox-c38d0.Value. No EpiBinding.
I have a part combo box with ID: ComboBox-b4259. No EpiBinding.
I have a dataview for my parts, which is just a view of the PartsForJob BAQ.
The PartsForJob BAQ has a parameter for job number. I was filling in this parameter with custom code in my classic form. But I don’t see a way to do it here in Kinetic. The side menu keeps popping out asking me for a job number. I don’t want that. I just want to type it in the first text box.
So, something I can’t stand is the row filter on the combo only lets you filter from the bound dataset–not from others which would make this task SO much easier.
You can either remove the parameter and do as I did or you can do the same steps, but add your parameter value in the Execution Settings instead of using the where clause.
I keep getting “Query with ‘JobPart’ id is not found…” My setup is just like the screenshots you posted. Should queryID under MethodParmeters by set to my BAQ ID “PartsForJob”? I removed the parameter from my BAQ.
It can be, sure, but we’re attempting to work around the initial call that would happen for the view since the row filter doesn’t work the way we want.
So, we’re creating a dataview as a placeholder for the data we bring back from our manual REST-ERP call.