Ga naar inhoud

Form ArticleDetailsForm

  • Unit name: Forms.Details.Article
  • Form name: TArticleDetailsForm
  • Old form name: unit5 (form5)

Synopsis

Form to edit details of an article.

Functionalities

  1. 3 tabs 'Basic', 'Messages' 'ADR'
  2. Tab 'Basic', Edits for the following fields:
  3. Name.
  4. Name2
  5. Weight
  6. Volume
  7. ALentgh AWidt, AHeight (spinedit, float)
  8. EANCode
  9. EANCode1
  10. EANCode2
  11. EANCode3
  12. ExpiryTime.
  13. Notes1.
  14. Notes2.
  15. Notes3.
  16. Comments.

  17. Tab 'basic', Dropdowns for

  18. Weight units (next to weight)
  19. Volume units (next to volume)
  20. Dimension units (next to dimension)
  21. Supplier (Suppliers list)

  22. Tab 'Basic', checkboxes for

  23. Fragile
  24. PackedAlready
  25. FlotNo
  26. FExpiryDate
  27. Accesories
  28. AExpFirst

  29. Tab Basic, labels for:

  30. PCNAME
  31. FillDate
  32. Tab 'Messages', edits for:
  33. Pop_up_flag (Reception)
  34. Pop_up_flag_del (Delete)
  35. Pop_up_flag_mov (move)
  36. Tab 'ADR', edits for the following fields:
  37. ADR_UN
  38. ADR_NAME
  39. ADR_CLASS
  40. ADR_PACKAGE
  41. ADR_CLASSIFICATION
  42. ADR_LABEL
  43. ADR_LQ
  44. DANGEROUSWEIGHT
  45. Button to execute OK action.
  46. Button to execute Cancel action.

Actions

OK

  1. Enabled when an article code and description have been entered. The article code must be at least 2 characters long.
  2. When executed, checks that the article code does not yet exist. When it has changed, sets EANCODE4 to the article code.
  3. Checks input for valid values.
  4. If all is OK, transfers data to business class, sets ModalResult to mrOK.

Cancel

  1. Always enabled.
  2. When executed, sets form ModalResult to mrOK.

Tables/Views

  • Article lookup list to check if the article exists.

Needed Service Calls

None.

Reports

  1. DetailedArticleStock Before printing this report, use ArticleMovesParametersForm popup to get from and to dates. (AllowShowAllMoves must be False)
  2. ArticleLabel Before printing this, the number of copies is requested and passed on to the reporting engine.