Показать сообщение отдельно
Старый 27.11.2012, 15:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 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, напишите личное сообщение администратору.