dschleicher
Active Member
Auto Suggest is great, but it isn't as user friendly as it could be. For instance, when in Accounts Payable and using it in the Supplier Number field, it will not only display Suppliers, but all Address Book records - Customers, Employees, Organizations, etc. In payroll, I set up an Auto Suggest on the ENDYOW field (which is the item for the Employee Indentification field) using the F060116 - this prevents Suppliers, Customers, etc. from being displayed, but it displays terminated employees, which generally speaking are not desired. There is no way to add any data selection to the Auto Suggest Business View to limit the returned records.
Therefore, I came up with an idea that I hoped would work. We created a SQL View named F56EMPAS, and added criteria based on Pay Status (PAST) in the SQL View to only include Active employees. We then created a virtual table in JDE with the same name - F56EMPAS. I then used this table in my Auto Suggest Business View. However, while the Auto Suggest did work with this setup, it ignored the criteria in the SQL View, and displayed all employees regardless of Pay Status.
Does anyone know of anything I could do differently to make this idea work? Or has anyone else come up with a different method of adding data selection to an Auto Suggest Business View?
Thanks,
Therefore, I came up with an idea that I hoped would work. We created a SQL View named F56EMPAS, and added criteria based on Pay Status (PAST) in the SQL View to only include Active employees. We then created a virtual table in JDE with the same name - F56EMPAS. I then used this table in my Auto Suggest Business View. However, while the Auto Suggest did work with this setup, it ignored the criteria in the SQL View, and displayed all employees regardless of Pay Status.
Does anyone know of anything I could do differently to make this idea work? Or has anyone else come up with a different method of adding data selection to an Auto Suggest Business View?
Thanks,