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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 13.11.2018, 16:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
d365technext: Settle Clearing Entries (Postdated Check) Status
Источник: http://d365technext.blogspot.com/201...ted-check.html
==============



Settle Clearing Entries (Postdated Check) Status



Recently I face the issue that after posting of payment journal status of post dated check not changed from Open to Post. I have lots of R&D in this but no luck,

So I write a batch job where will change the status of custVendPosted check for me.





LedgerJournalTable _ledgerJournalTable;
LedgerJournalTrans _ledgerJournalTrans;
CustVendPDCRegister custPDC;
Counter _counter=0;


while select forUpdatecustPDC
wherecustPDC.PDCStatus==PostDatedCheckStatus::Open
&& custPDC.MaturityDate > systemDateGet()
existsjoin _ledgerJournalTrans
wherecustPDC.LedgerJournalTrans==_ledgerJournalTrans.RecId
existsjoin _ledgerJournalTable
where_ledgerJournalTrans.JournalNum==_ledgerJournalTable.JournalNum
&& _ledgerJournalTable.Posted==NoYes::Yes
{
_counter++;
custPDC.PDCStatus=PostDatedCheckStatus::Posted;
ttsBegin;
custPDC.update();
ttsCommit;


}
info(strFmt("Total Number %1 of records updated on %2.",_counter,today()));





Источник: http://d365technext.blogspot.com/201...ted-check.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
stoneridgesoftware: Required Setup for Check Digits in Dynamics AX Advanced Warehouse Management Blog bot DAX Blogs 0 26.07.2018 03:39
stoneridgesoftware: AP Check Voiding Options in Dynamics NAV Blog bot NAV: Blogs 0 06.10.2017 21:11
stoneridgesoftware: Version Control in Dynamics AX: Check-in a project and all of its pending objects Blog bot DAX Blogs 0 11.11.2016 04:26
emeadaxsupport: Microsoft Dynamics AX Module Status Setting for Fiscal Periods Blog bot DAX Blogs 0 17.11.2014 16:11
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

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