![]() |
#7 |
Участник
|
Собственно говоря, если одним запросом надо получить весь список, то это можно сделать так (в текущем случае итоговый счет "01.999"):
static void GetAccountsFromSummary(Args _args) { LedgerTable ledgertable; ; while select ledgertable where ledgertable.accountnum > (select LedgerTableinterval where LedgerTableinterval.AccountRecID == (select LedgerTable where LedgerTable.AccountNum == '01.999').RecId).FromAccount && ledgertable.accountnum < (select LedgerTableinterval where LedgerTableinterval.AccountRecID == (select LedgerTable where LedgerTable.AccountNum == '01.999').RecId).ToAccount && ledgertable.accountpltype >= 1 && ledgertable.accountpltype <= 5 { info(ledgertable.AccountNum); } } |
|
Теги |
план счетов, ax3.0 |
|
![]() |
||||
Тема | Ответов | |||
Параметры распределения в плане счетов | 2 | |||
Вариант реализации второго плана счетов, для критики | 19 | |||
Журнал одобрения счетов-фактур | 1 | |||
План счетов | 2 | |||
Коды счетов в плане счетов | 2 |
|