AXForum  
Go Back   AXForum > Microsoft Dynamics NAV > NAV: Функционал
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Old 25.02.2005, 13:19   #1  
Dzemon is offline
Dzemon
Moderator
 
1,247 / 12 (3) ++
Join Date: 09.09.2004
Нужно состряпать отчетец, который их снесет.

Есть небольшая особенность при сносе Курс.разниц.
Вот кусочек кода, для сноса их в Банках:

GenJournalLine.VALIDATE(Correction,TRUE);
GenJournalLine."Amount (LCY)" := (-1)*"Bank Account Ledger Entry"."Amount (LCY)";
GenJournalLine."Debit Amount (LCY)" := (-1)*"Bank Account Ledger Entry"."Debit Amount (LCY)";

Причем для учета этой фигни, запускается 12 кодеюнит без проверки строки, т.е. Code(FALSE);

Попробуйте на "кролике", для Клиентов должно быть аналогично.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 17:30.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.