PANTHEON™ Help

 Категории
 Главна страна - Добре дојдовте во помош за PANTHEON
[Collapse]PANTHEON
 [Collapse]PANTHEON упатства
  [Expand]Водич за PANTHEON Farming
  [Collapse]Водич за Datalab PANTHEON™
   [Expand]Помош
   [Expand]ПОС
   [Collapse]Подесувања
    [Expand]Партнери
    [Expand]Иденти
    [Expand]Производство
    [Expand]Вработени
    [Expand]ПОС
     Календар
    [Expand]Сметководство
    [Expand]Царина
    [Collapse]Програм
     [Expand]Програма за доверба
     [Expand]Видови документи
     [Expand]Облици на испис
      Текстови на документи
      Начин на достава
     [Expand]АРЕС
     [Collapse]Администраторска конзола
       Опции на десен клик на Администраторската конзола
      [Collapse]Подесувања
       [Expand]GDPR
       [Expand]Сертификати
        Корисници и лозинки
       [Collapse]Параметри на програмот
        [Expand]Документација
        [Expand]е-Бизнис
        [Expand]Подесувања
        [Expand]Бои
        [Expand]Интернет
        [Expand]Претпријатие
        [Expand]Партнери
        [Collapse]Иденти
          Профил на допир
         [Expand]Општи податоци
         [Expand]Полиња по желба
          ЕАН
         [Collapse]Пребарување по желба
           Пребарување идент
           Подготовка на информации за приказ
           Advanced Assigning of Identifiers
          Профили на допирен екран
        [Expand]Производство
        [Expand]Нарачки
        [Expand]Материјално
        [Expand]Финансии
        [Expand]Кадри
       [Expand]Автоматско покренување на задачи
        Планер на задачи
        Екстра Мени
       Мени
      [Expand]Безбедност
      [Expand]Корисници и групи
      [Expand]Верзии/Надоградба
      [Expand]ОТОС
      [Expand]База на податоци
      [Expand]ЗЕУС
     [Expand]Тековен корисник
     [Expand]Картички за доверба
      Ад-хок анализа
     [Expand]Елементи на контролна табла
      Извештаи на контролна табла
      SQL уредувач
    [Expand]Документација
   [Expand]Нарачки
   [Expand]Материјално
   [Expand]Производство
   [Expand]Сервис
   [Expand]ПОС
   [Expand]Финансии
   [Expand]Кадри
   [Expand]Работна површина
   [Expand]Анализи
    Додатно
   [Expand]Аналитика
   [Expand]Пораки и предупредувања
   [Expand]Системско окружување за Даталаб програми
   [Expand]Официјални објаснувања
    Речник на термини
   [Expand]Дополнителни програми
   [Expand]Застарени производи
  [Expand]Водич за PANTHEON Ретал
  [Expand]Водич за PANTHEON Вет
 [Collapse]PANTHEON кориснички прирачници
  [Expand]Кориснички прирачник Datalab PANTHEON™
  [Expand]Корисничко упатство за PANTHEON Ретал
  [Expand]Корисничко упатство за PANTHEON Vet
  [Expand]Корисничко упатство за ПАНТЕОН Земјоделство
[Collapse]PANTHEON Web
 [Collapse]Водич за PANTHEON Web
  [Expand]Водич за PANTHEON Web Light
  [Expand]Водич за PANTHEON Chronos Mini
  [Expand]Водич за PANTHEON Web Terminal
  [Expand]Водич за PANTHEON Web Legal
  [Expand]Архива на стари производи
 [Collapse]Кориснички прирачник за PANTHEON Web
  [Expand]Најава во PANTHEON Web
  [Expand]Како да започнете со PANTHEON Web
  [Expand]Кориснички прирачник за PANTHEON Web Light
  [Expand]Кориснички прирачник за PANTHEON Web Terminal
  [Expand]Кориснички прирачник за PANTHEON Web Legal
  [Expand]Стара архивa на производи
[Collapse]PANTHEON Гранула
 [Collapse]Водич за PANTHEON Гранули
  [Expand]Гранула Кадри
  [Expand]Гранула Патни налози
  [Expand]Гранула Документи и задачи
  [Expand]Гранула Контролна табла
  [Expand]Гранула B2B нарачки
  [Expand]Гранула Сервис на терен
  [Expand]Инвентаризација на фиксни средства
  [Expand]Гранула Попис на магацини
 [Collapse]Кориснички прирачник за PANTHEON Гранули
   Започнување
   Користење на PANTHEON Гранули во фиктивната компанија Текта
  [Expand]Гранули и активација
  [Expand]Гранула Кадри
  [Expand]Гранула Патни налози
  [Expand]Гранула Документи и Задачи
  [Expand]Гранула Б2Б нарачки
  [Expand]Гранула Контролна табла
  [Expand]Гранула Сервис на терен
   PANTHEON Гранула - FAQ
  [Expand]Инвентаризација на фиксни средства
  [Expand]Гранула Попис на магацин
   Архива
[Expand]Кориснички сервер

Load Time: 515,6221 ms
"
  4199 | 4875 | 51031 | Localized
Label

Advanced Assigning of Identifiers

Advanced Assigning of Identifiers

Advanced Assigning of Identifiers

010379.gif010380.gif010381.gif010411.gif010382.gif010383.gif

Special examples on entering ID can be proceeded with a stored procedure which will convert the entry (usually scanned value) in data that the program requires to function in a normal way. This way, you can handle following cases:

  • EAN/UCC 128 code
  • Codes with a product variation
  • Atypical codes or
  • Other combinations.

If a stored procedure exists on the server, the program will definitely run it. If the procedure does not exist on the server, the program will function in an usual way.


The parameters for the procedure are fixed. Take care, the procedure returns the record set with at least following fields:

  • ISOK: it can be T or F and report if the operation succeeded;
  • ERRMSG: is a user warning when an error occurs;
  • IDENT: Item ID;
  • KOLICINA: Quantity;
  • SERIALNO: Serial number.

The program can beside these fields return other fields that are in Pantheon, except user fields which are in the table PROMETPOZ.

 

000001.gif If you enter items through the stored procedure, you cannot move with the ENTER key to the next field. Functionalities of cursor and TAB keys do not change.

 

000001.gif When the procedure will return an item, the program will check if this item is correct (if it is entered in the Items register).
It is the same for the check of serial numbers.

 

000001.gif
set nocount on 

is a mandatory command because the procedure must return always just one record set.

 

000001.gif The range of characters in the ERRMSG field will always display, if ISOK = 'T' or 'F'.
This way, you can use this possibility to display a certain warning.

 

000001.gif

If you use this type of searching (entering) IDs, then you cannot use:

and have to integrate it in the procedure manually!

 

Example of a scanned code with an identifier, ID, quantity and serial number

Let us say, there is an item with the following ID form (i.e. food article):

01EEEEEEEEEEEEEEKKKKKDDDDDDD

where

  • 01 - is an identifier for a compound item;
  • EEEEEEEEEEEEEE - is a 14 digit EAN code of the item;
  • KKKKK - is a 5 digit quantity in grams (ITEM is standardized in KG);
  • DDDDDDD - is an expiration date of the item.

If an item does not have na 01 identifier at the beginning, than the item is regarded as a normal item and will be transferred in the Pantheon.

The stored procedure that has to be set up for this case is as following:

 

create procedure [dbo].[dl_HE_MSIdentSetText]
@cKljuc Char(13),   -- the key for the document on which you have run the entry of the code
@nPoz SmallInt,     -- line on which the entry of the code was activated (not required!!)
@cSubjekt Char(30), -- customer or supplier of the document
@cText VarChar(512) -- entered value
as

set nocount on
if Left(@cText,2) = '01'  -- is this a compound code?
  select 'T' as acISOK, '' as acERRMSG, SubString(@cText,3,14) as acIDENT,
         (cast(SubString(@cText,18,5) as money) / 1000) as anQty,
         SubString(@cText,24,10) as acSERIALNO
else  -- no, then return the scanned as item
  select 'T' as acISOK, '' as acERRMSG, @cText as acIDENT,0 as anQty,'' as acSERIALNO

 

Example of a scanned code with a product variation

Let us say, there is an item with the following ID form (i.e. shoes):

EEEEEEEEEEEEEEBBBBVVV

where:

  • EEEEEEEEEEEEEE - is 14 digit EAN code of the item;
  • BBBB - is 4 digit code of the color;
  • VVV - is 3 digit code of the size.

Item are mixed up so you can scan any of the items. The item will tell you if it contains a product variation or not.

The stored procedure that has to be set up for this case is as following:

 

create procedure [dbo].[dl_HE_MSIdentSetText]
@cKljuc Char(11),   -- the key for the document on which you have run the entry of the code
@nPoz SmallInt,     -- line on which the entry of the code was activated (not required!!)
@cSubjekt Char(30), -- customer or supplier of the document
@cText VarChar(512) -- entered value
as

set nocount on

declare
  @cIdent char(16),
  @cTipSerijske char(1)

set @cIdent = Left(@cText,14)
set @cTipSerijske = null
select @cTipSerijske = SERIALNO
  from IDENT
  where IDENT = @cIdent
if @cTipSerijske is null
  select 'F' as ISOK, 'Ni identa' as ERRMSG, '' as IDENT,0 as KOLICINA,'' as SERIALNO
else
  if @cTipSerijske = 'P' then
     select 'T' as ISOK, '' as ERRMSG, @cIdent as IDENT,0 as KOLICINA,Right(@cText,7)  as SERIALNO
  else
    select 'T' as ISOK, '' as ERRMSG, @cText as IDENT,0 as KOLICINA,'' as SERIALNO 

 



 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!