Hauser-Industries/Hauser-Backlog-Report ? reverse-engineered prompt
Reverse engineered prompt
Build me a Windows desktop app for viewing Hauser sales order backlog from NetSuite in a clean read only report.
When the app opens, it should take me to a connection screen first, let me sign in through NetSuite, choose the approved role, and only unlock the report if the login and role check are valid. If sign in is denied or the wrong account or role is used, keep me on the connection screen and do not open the report.
The main screen should show a backlog table with a connection status indicator, customer filtering, sales order search, clear and refresh controls, paging, loading and empty states, and both horizontal and vertical scrolling. If a work order is available, let me expand the row to see the details. Keep optional fields blank instead of filling them with placeholders.
Also include read only diagnostics on the connection screen for testing authentication, SuiteQL, customer lookup, and sales order inspection. Use mock data in local development when needed, and keep all NetSuite access and tokens out of the UI. Look up current docs online if you need to.