
We are using Page Scripting to build automated tests in Dynamics 365 Business Central (BC27 and BC28).
The same Page Script works correctly on standard pages such as Sales Order, but fails on our custom page specifically when setting Item No. on a lines subpage.
Error: i.filterAsYouType is not a function
The failure always occurs on a subpage (Part)
The Item No. is selected from the lookup list
Alt+Down or the lookup (…) button is used
The value is not typed manually