PANTHEON™ Help

 Категории
 Главна страна - Добре дојдовте во помош за PANTHEON
[Collapse]PANTHEON
 [Collapse]PANTHEON упатства
  [Expand]Водич за PANTHEON Farming
  [Collapse]Водич за Datalab PANTHEON™
   [Expand]Помош
   [Expand]ПОС
   [Expand]Подесувања
   [Expand]Нарачки
   [Expand]Материјално
   [Expand]Производство
   [Expand]Сервис
   [Expand]ПОС
   [Expand]Финансии
   [Expand]Кадри
   [Expand]Работна површина
   [Expand]Анализи
    Додатно
   [Expand]Аналитика
   [Expand]Пораки и предупредувања
   [Collapse]Системско окружување за Даталаб програми
    [Expand]Безбедносна политика
    [Expand]Инсталација
    [Collapse]Автоматско извршување
      Додавање на Планирана Задача во Windows 95
      Автоматско извршување на Windows Server
      Автоматско извршување на Windows 10
      Автоматско извршување на MS Windows 2000
     [Collapse]SQL Server Jobs
      [Collapse]Refresh Stock
        Refresh Stock Job Using Enterprise Manager
        Refresh Stock Job Using T-SQL Commands
       E-Mail Reminders for Overdue Receivables
       DB Maintenance Plan
      Автоматско извршување на MS Windows XP
    [Expand]PANTHEON системска околина
    [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: 453,1256 ms
"
  2548 | 2938 | 29689 | Review
Label

Refresh Stock Job Using Enterprise Manager

Refresh Stock Job Using Enterprise Manager

Refresh Stock Job Using Enterprise Manager

This topic describes how to run PANTHEON's Refresh Stock function using SQL Server jobs.

In Enterprise Manager, find and expand the desired SQL Server, go to Management, SQL Server Agent, right-click Jobs and select New Job...

034022.jpg

 

Enter the job Name, but don't change the Category. The Description is optional. Click the Steps tab.

034023.jpg

 

Here you define steps that should be exsecuted. Click New to add a new step.

 

034024.jpg

 

Step 1 - Refresh Serial Numbers

Step name The name of the step. As this one will refresh serial numbers, name it Refresh serial numbers.
Type Use TSQL, the default.
Database Select the database on which you want to run the job. This example uses NovoPodjetje.
Command Enter SQL commands that should be executed, in this case two stored procedures.
exec pPA_SerialNoItemRecalc '', null, null
exec pPA_SerialNoStatusRecalc ''

Click OK to save the step.

034025.jpg

054320.gif Learn more about stored procedures in PANTHEON's database at Datalab's Developer Site under Database Info |DB Info P55 | Procedures, Views, Triggers.

Step 2 - Refresh Prices

Again click New... to add another step.

 

Step name The name of the step. This one will Refresh prices.
Type Use TSQL, the default.
DataBase Select the database on which you want to run the job. This example uses NovoPodjetje.
Command Enter SQL commands that should be executed, in this case three stored procedures.
exec pPA_PriceCalc '', null, null, ''
exec pPA_PriceCalcOwnPrice '', null, null, ''
exec pPA_MoveAssmblyRecalc ''

Click OK to save the step.

034026.jpg

Step 3 - Refresh Stock

Again click New... to add another step.

 

Step name The name of the step. This one will Refresh stock.
Type Use TSQL, the default.
DataBase Select the database on which you want to run the job. This example uses NovoPodjetje.
Command Enter SQL commands that should be executed, in this case a stored procedure.
exec pPA_StockRecalc ''

Click OK to save the step.

034027.jpg

4. korak preračuna - Preračunaj glave dokumentov

Ponovno kliknemo New za kreiranje novega koraka. Tu vpišemo:

 

Step name The name of the step. This one will Refresh document headers..
Type Use TSQL, the default.
DataBase Select the database on which you want to run the job. This example uses NovoPodjetje.
Command Enter SQL commands that should be executed, in this case a number of stored procedures.
exec pPA_CashRegRecalc null, null
exec pPA_GLRecalc null, null
exec pPA_OrderHeadRecalc null, null
exec pPA_OrderDispDocRecalc '', null, null
exec pPA_MoveHeadRecalc null, null, 'F'

Click OK to save the step.

034028.jpg

 

Now all the necessary steps are set up. This basically does the same as the Refresh Stock function in PANTHEON.

034029.jpg

Setting a Schedule

Now you just have to set up a schedule for the job so you don't need to run it manually. Go to the Schedules tab and click New Schedule...

034030.jpg

 

Type in a name for the job schedule and set the Schedule Type to Recurring. Click Change... to set  recurrence parameters.

 

034031.jpg

 

Select that the jobs occurs Daily and Every 1 Day. Under Daily frequency, select Occurs once at: and set the desired time (during the night is recommended). Click OK several times to close all dialog windows. The new job is now listed in the Jobs panel.

 

054321.gif You can schedule a job to run every couple of hours by settings Daily frequency to Occurs every: and specifying the time interval.

Note that running job during business hours may slow down normal work because of the increased server load.

 

034035.jpg

 



 

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