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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 13.09.2014, 01:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
ax_gfm_framework_team: Dimension defaulting - Part 5 (Ledger dimension creation)
Источник: http://blogs.msdn.com/b/ax_gfm_frame...-creation.aspx
==============

Introduction

Continuing this series of blog posts, this post covers how default dimensions can be merged to create new ledger dimensions.

This blog post series includes:
Ledger dimension creation

Default dimensions exist as a way to provide values that later will be used to create ledger account combinations used in journals and accounting distributions. Default dimensions provide the dimensions other than MainAccount needed for a ledger account combination, and can be combined with a default account, or another ledger dimension in order to produce one. As defined in the Ledger account combinations series of blog posts, a ledger account combination is just a set of MainAccount and dimension values with structure and order applied.





Figure 1: Accounting distributions from the purchase order line

As shown in Figure 1 above, choosing the Financials->Distribute amounts option from the purchase order line the accounting distributions form opens. It already has a ledger account combination defaulted “604250-00000001--Chicago-00000004”. From the previous blog post, the values for the Project, BusinessUnit and Department dimensions have been populated and a MainAccount defaulted from the posting item group on the item, as the Purchase expenditure for expense account for a purchase order as shown in Figure 2 below.





Figure 2: Source of a default (main) account for the item on the purchase order line





Figure 3: SQL query and results showing default account source

The code required to merge the default dimension on the purchase order line with the default account from the item group is shown in Figure 4 below.



Figure 4: Code used to merge the default dimension with a default account

Similar to merging default dimensions, once merged, a newledger account combination is created as shown in the query in Figure 5 below:





Figure 5: SQL query and results showing merged default account and default dimension

In the next blog post, APIs used for most common defaulting pattern APIs will be described.




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
ax_gfm_framework_team: Dimension defaulting in accounting distributions, Part 5 - Defaulting for related documents Blog bot DAX Blogs 0 05.01.2014 00:16
ax_gfm_framework_team: Ledger account combinations - Part 5 (Ledger dimensions (A)) Blog bot DAX Blogs 0 16.02.2013 08:08
ax_gfm_framework_team: Step 5: Add code to distribute and journalize source document amounts Blog bot DAX Blogs 0 08.05.2012 04:13
ax_gfm_framework_team: Extending the Source Document Framework Blog bot DAX Blogs 0 28.04.2012 10:11
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11

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

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

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