Saltar para o conteúdo principal

EXT_Article_Select

Function to ask MSS to open the article selection screen.

Input parameters:

  • inFilterArticlesWithoutStock – To hide articles without stock from the list;
  • inFilterCatalogArticles – To show only articles flagged as article from catalog;
  • inFilterServiceArticles – To hide articles of type service from the list;
  • inFilterCompetitorCode – To show only articles related to a certain competitor code;
  • inFilterFromUser – To filter by any user defined expression;
  • inRememberFilter – Remember last filter, possible values TRUE (default) / FALSE;

Output parameters:

  • outResultCode – Return code: 0 – Done / < 0 User canceled selection;
  • outSelectedArticle – When outResultCode = 0 gets the code of the selected article;
  • outSelectedArticleDescription – When outResultCode = 0 gets the description of the selected article;