Ga naar inhoud

Form SupplierDetailsForm

  • Unit name: Forms.Details.Supplier
  • Form name: SupplierDetailsForm
  • Old form name: Form6 (Unit6)

Synopsis

Form to edit details of a supplier.

Functionalities

  1. The form has edits for the following fields:
    Name, Name2, Street, PostCode, Town, Tel, Fax, Contact,Email, SupplierNo,
    
  2. The form has a spinedit for the following field:
    MonthsBeforeExpiry
    
  3. The form has a checkbox for the following field:
    ActivateReturnMenu
    
  4. It has a label for the fields
    ID, SupplierNo
    
  5. The value of the fields ID, SupplierNo is generated on insert using:
      FormatDateTime('yyMMddhhnnss', now);
    
    (check whether this is still needed)
  6. The name edit is disabled on edit.
  7. Data is passed on by caller.
  8. Before post, check for duplicate. Error message if duplicate.

Tables/Views

  • SUPPLIERS

Needed Service Calls

None (yet, maybe check rename).

Reports

None.