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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 27.11.2012, 15:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Malaysia: Posting a general journal
Источник: http://axmas.blogspot.com/2012/11/po...l-journal.html
==============


1. Open General ledger | Journals | General journal, and find previously created
journal or manually create a new one. Note the journal's number.

2. In the AOT, create a new job named LedgerJournalPost with the following code
(replace the text 000420_010 with the journal's number from the previous step):

static void LedgerJournalPost(Args _args)
{
LedgerJournalCheckPost jourPost;
LedgerJournalTable jourTable;
jourTable = LedgerJournalTable::find('000420_010');
jourPost = LedgerJournalCheckPost::newLedgerJournalTable( jourTable, NoYes::Yes);
jourPost.run();
}
3. Run the job, and notice the Infolog, confirming that the journal was
successfully posted:



4. Open General ledger | Journals | General journal and locate the journal to make
sure that it was posted:






Источник: http://axmas.blogspot.com/2012/11/po...l-journal.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dynamicsaxtraining: Vendor returns Blog bot DAX Blogs 0 11.10.2012 00:11
emeadaxsupport: Microsoft Dynamics AX 2012 Retail Statement Posting Error: Account number for transaction type Ledger journal does not exist Blog bot DAX Blogs 0 27.09.2012 20:13
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
Shekhar: Dynamics AX 2009 – Import fixed asset journal lines for posting accumulated depreciation Blog bot DAX Blogs 0 17.01.2011 20:12
C# and AX Development: Posting a ledger journal Blog bot DAX Blogs 0 17.03.2009 19:05

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 02:40.