Script Overview
This screen reviews customer-group applications in the dealer table. A pending application has a blank approval flag. Approving it marks the application approved and copies that application's customer group onto the matching store account. Denying it marks the application denied and leaves the store account group unchanged. Group names are read from the customer group descriptions. No email is sent.
Operator Workflow
Step 1
Choose a Pending Application
-
Open the first list, labeled Select a customer to approve.
-
Only applications that have not been approved or denied appear here.
-
Choosing a name loads that application on this page.
Step 2
Review the Application
-
Confirm the requested customer group, contact details, and payment method.
-
Check the business name, address, phone, email, and tax ID.
-
Read the credit reference and the license image or PDF beside the form.
Step 3
Approve or Deny
-
Approve Customer marks the application approved and assigns that customer group on the store account.
-
Disapprove Customer marks the application denied and leaves the store account group unchanged.
-
A confirmation line appears above the lists after the update.
Step 4
Review an Approved Account
-
Open the second list, labeled Select an approved customer to view.
-
The same application details load, with Disapprove Customer available.
-
Close returns you to the window that opened this screen.
Technical Reference & Safeguards
- Pending queue: The first list reads dealer rows whose approval flag is blank, ordered by name.
- Approval: Sets the dealer approval flag to Y, reads that row's customer group, then writes the same group onto the store account.
- Denial: Sets the dealer approval flag to N only. The commented store-account reset to group 1 does not run.
- License preview: A stored license path is shown from the public site. PDF files embed in the page; other files render as an image.
- Notifications: This screen does not send email. Each update runs as its own statement on the shared connection.