AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.06.2013, 15:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,607 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Timesheet workflows in Project management and accounting AX 2012
Источник: http://blogs.msdn.com/b/axsupport/ar...g-ax-2012.aspx
==============

There are two types of workflow types that have been added to set up workflow in Microsoft Dynamics AX 2012 specific to timesheet:
  • Review timesheet workflow (TSDocumentTemplate) - approval workflows for project timesheets at the document level
  • Review timesheet line workflow (TSTimesheetLineTemplate) - approval workflows for project timesheets at the line item level
Review timesheet workflow is the main workflow of timesheets, which is used for the approval process during timesheet entry. The setup of Review timesheet workflow contains two workflow elements for the approval depending on approval level you desire in your system:
  • Approve timesheet: It is used to define the approval at document level or timesheet header level.
  • Timesheet line-item workflow: It is used to define the approval at the detail line level. In such case, you should set up a new workflow of type Review timesheet line workflow and join the new workflow to this workflow element belonging to the main workflow type Review timesheet workflow.




Review timesheet line workflow must be added to the main Review timesheet workflow, because it cannot operate on its own. To define Review timesheet line workflow:

1. Click Project management and accounting.

2. Click Setup and then click on Project management and accounting workflows where you will select Review timesheet line workflow.



3. Configure the workflow structure according to your needs using supported elements (Approve a timesheet line, Condditional decision, Manual decision, Parallel activity, Subworkflow)



4. In this example we have assigned the approval to workflow participant – Project manager. In this case the line approval task will be assigned to Project manager responsible for the project specified on the line.





5. Once you are finished close the workflow, save it and activate it.



Now it is necessary to link Review timesheet line workflow to the main workflow Review timesheet workflow:

1. Click Project management and accounting.

2. Click Setup and then click on Project management and accounting workflows where you will select Review timesheet workflow.



3. Configure the workflow structure like in previous step, but note the new element Timesheet line-item workflow. Add this element to the workflow processing and open its properties.

4. There are two possibilities in the current design of AX 2012:
    • Use a single workflow for all line-items

    • Use separate workflow for each line-item – could be useful when different workflow process is required for each Project ID:




Note: You must define at least two conditions and an associated workflow within a line-item workflow element.

6. Once you finish the workflow setup - close it, save it and activate it.



Testing

When a new timesheet with 2 lines is submitted to the workflow – system splits the processing into two separate streams:







User can check each line workflow by selecting the line and click Actions > View history:







Note: In Microsoft Dynamics AX 2009, the approval level is defined within timesheet parameters. It is removed in Microsoft Dynamics AX 2012.




Источник: http://blogs.msdn.com/b/axsupport/ar...g-ax-2012.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Final Microsoft Dynamics AX 2012 R2 Content Available! Blog bot DAX Blogs 0 04.12.2012 06:12
dynamicscare: Enhancements to Project Management & Accounting in Dynamics AX 2012 Blog bot DAX Blogs 0 05.04.2012 21:11
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
Microsoft Dynamics AX 2012 Guides: Project Management and Accounting Add-in Installation Guide and Dataset Information Vadik DAX: База знаний и проекты 0 11.04.2011 11:54

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 04:35.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.