Integrated Application Platform › Forums › General › explorerlistview and explorerlistmodellinked › Re: Re: explorerlistview and explorerlistmodellinked
I see that the btschinf_qty_batch field is in the table schema but is capitalized. This means the rule should be triggered the first time that field is accessed after reading from the database. The rule should also execute whenever a dependency of the rule changes. Dependencies are the other fields that the rule is using to determine its value.
If you want to force the rule to execute, you can loop through the explorerlist_data field from the Access record (the main schedule record). This will be an object containing each of the records from the ExplorerListView. Then you can call Record’s Invalidate method on each record and pass the field name (btschinf_qty_batch). Then if you access the field the rule will be evaluated on that record. Invalidate does not actually “refresh” the rule, it just tells the record that the next time anything references that field, that the rule should be re-evaluated.
In the case of adding the quantity records for each order, you could try adding a BrowseControl to your ExplorerListView layout. You would have to name it with the key field from the ExplorerListView records and also use Browse’s linkField option which would be the matching key field in the quantity records. I’m not sure how well that is going to work because I haven’t tried it. That’s quite a bit to display on one screen.