Ga naar inhoud

Form PaletteContentForm

  • Unit name: Dialogs.PaletteContent
  • Form name: TPaletteContentForm
  • Old form name: form37 (unit37, scanner app)

Synopsis

Form to show pallette content

Functionalities

  1. Edit to enter palette number. On Enter key, the ShowPalette action is executed.
  2. Button to execute ShowPalette action.
  3. Grid to show palette content from view INVDETAILS
  4. Button to execute Close action.
  5. Property to read/write palette number. When written, ShowPalette action is executed.

Actions

ShowPalette

  1. Enabled when the edit contains a palette number.
  2. When executed, refreshes the PaletteContent view with the new palette number.

Close

  1. Always enabled.
  2. Close the dialog with ModalResult mrOK

Tables/Views

PaletteContent

SELECT
  *
FROM
 INVDETAILS
WHERE
  (LOCATION='R.00.00.A') AND
  (COLNO=:Palette)
ORDER BY
 ARTCODE ASC;

Needed Service Calls

None.

Reports

None.