Product Definition

WinForms ERP Module

Overview

The Product Definition module manages master data of products in ACECloudify ERP. It supports full lifecycle operations including creation, editing, deletion, ordering, and export.

WinForms UI Structure

The form is implemented using Windows Forms with the following structure:

• Top: TileNavPane (Action Toolbar)
• Main: GridControl (Read-only product list)

GridControl Columns

ColumnDescription
Product CodeUnique product identifier
Product NameName of the product
GroupProduct category
BrandProduct brand
Base UnitBase unit of measurement
Package UnitPackaging unit
BarcodeProduct barcode
WeightWeight in grams
DimensionsLength / Width / Height
Display OrderSorting priority
StatusActive / Inactive

Operations

New Product

Opens Product Detail Form in Insert mode (ShowDialog). After save, grid refreshes.

Edit Product

Opens Product Detail Form in Update mode with selected row data.

Delete Product

Deletes selected product with validation against usage in other modules.

Export to Excel

Exports GridControl data using SaveFileDialog.

Set Display Order

Enables multi-select mode and allows ordering selected products.

Behavior Flow

1. Load all products on form initialization
2. Display in GridControl (read-only)
3. CRUD via TileNavPane
4. New/Edit opens dialog form
5. After save → refresh grid
6. Validation applied before delete/update

Business Rules

• Product cannot be deleted if used in other modules
• Barcode must be unique
• Display order must be numeric
• Grid is read-only
• All changes require refresh after commit

Referenced Forms (Child / Dialog Forms)

Product Detail Form

This form is opened from Product Definition in two modes:

• Insert Mode → New Product (TileNavPane → New)
• Edit Mode → Selected Product (TileNavPane → Edit)

Behavior:
• Opens as ShowDialog
• Returns result to parent form
• Triggers Grid refresh after close
• Used for both create and update operations