AXForum  
Go Back   AXForum > Microsoft Dynamics AX > DAX: База знаний и проекты
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Old 24.06.2005, 14:17   #1  
bagyr is offline
bagyr
Участник
 
74 / 10 (1) +
Join Date: 15.02.2005
Location: Томск
SysDataBaseLog
Здраствуйте!

Есть ли какой-нибудь готовый метод для поиска удалённых записей с определённым фильтром?

Например мне нужно найти удалённые записи из PriceDiscTable у которых AccountCode такое-то и т.п.

Сейчас я делаю примерно так :

PHP Code:
while
    
select from log
        where log
.Table == TableNum(PriceDiscTable)
            && 
log.LogType == //delete
{
    while (
enumerator.moveNext())
    {
        
tmp enumerator.current();
        
conpeek(tmp1);
        
FieldNum(PriceDiscTableAccountCode)+65536;
        if (
dStatus && (== i))
        {
            
acode conpeek(tmp2);
        }
    }
    if (
acode == "что-то")
    {
        
//делаю что-то
    
}

Old 24.06.2005, 15:59   #2  
bagyr is offline
bagyr
Участник
 
74 / 10 (1) +
Join Date: 15.02.2005
Location: Томск
Talking
Если кому-нибудь, кроме меня, это понадобится, берите этот класс (только что написал).
Attached Files
File Type: xpo finderdeleted.xpo (2.2 KB, 555 views)
Old 24.06.2005, 16:14   #3  
George Nordic is offline
George Nordic
Модератор
George Nordic's Avatar
Злыдни
 
4,480 / 1255 (50) ++++++++
Join Date: 17.12.2003
Location: Moscow
Blog Entries: 9
Спасибо.

Перенес в проекты.

С Уважением,
Георгий.
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ax 4.0 - ошибка в SysDatabaseLog.setDescription() Bishop DAX: База знаний и проекты 0 28.07.2008 18:15

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 11:25.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.