Ga naar inhoud

Form KitArticlesForm

  • Unit name: Forms.Grids.KitArticle
  • Form name: TSubArticleGridForm
  • Old form name: Unit5

Synopsis

Show an overview of compound detail articles for a compound article (a kit).

Functionalities

  1. Label to show master article code.
  2. Label to show master article description.
  3. Grid to show list of kit articles for the master article: view ArticleLink, filtered on master article.
  4. Button to execute AddKitArticle action.
  5. Button to execute DeleteKitArticle action.
  6. Button to execute EditKitArticle action.
  7. Master article is passed through a business processor.

Actions

AddKitArticle

  1. Enabled when there is a master article.
  2. When executed, a new record is inserted, and the KitArticleDetails form is popped up, passing it the new record.
  3. If the user confirms the dialog, the kit article record is saved.
  4. If the user cancels the dialog, the kit article is cancelled.

EditKitArticle

  1. Enabled when there is a master article and a current kit article.
  2. When executed, the KitArticleDetails form is popped up, passing it the current kit article record.
  3. If the user confirms the dialog, the kit article record is saved.
  4. If the user cancels the dialog, the kit article edit is cancelled.

DeleteKitArticle

  1. Enabled when there is a master article and a current kit article.
  2. When executed, asks the user for a confirmation.
  3. When the user confirms, the current kit article is deleted.
  4. The action is logged in the user history.

Tables/Views

  • ArticleLink

Needed Service Calls

Audit.UserHistory

To log the delete (optional: see if this can be done on the server, in a business processor)

Reports

  1. Kit Article History