GRD_INVHEAD Grid Component
Purpose
The application administrator uses the GRD_INVHEAD grid component on the ASWINVOICES.A5W page to select invoices.

The GRD_INVHEAD Grid Component in the Grid Builder [Picture]

The GRD_INVHEAD Grid Component in the Browser [Picture]
Description
The GRD_INVHEAD component is a read-only tabular grid based on a view that combines the invoice_header and customer tables. The records are ordered by date (newest to oldest), and then by invoice number.
The GRD_INVHEAD component has a calculated field named blank that is initialized to NULL. The blank field only exists to provide a place for the freeform template that creates the button. The buttons contain inline JavaScript which opens the ASWINVDET.A5W page as a popup.
blank = "" |
Containers
Notable Grid Control Property Settings
Control |
Property |
Description |
Blank |
Column Properties > Freeform layout |
"True" |
Column Properties > Freeform template |
Clicking the Detail button uses inline Javascript to open the ASWINVDET.A5W page as a popup and display the order information for the invoice specified by inv_no. <input name="Open" type="button" value="Detail" onclick="window.open('aswinvdet.a5w?inv={Invoice_Number}', 'mywindow', 'status=0, toolbar=0, location=0, menubar=1, resizable=0, scrollbars=1, height=480, width=640, left=160, top=215')"/> |
See Also
Supported By
Alpha Five Version 7 and Above