SELECT
Taxableincome,
Taxdeductableexpense,
Depreciationwriteoff,
Nontaxableincomes,
Nontaxdeductableexpense,
Outstandinginvoices,
Liabilitiesinvoices,
Throughitem,
StoreValue,
StoreGoods,
StoreMaterial,
Smallassetvalue,
Cashbeginning,
Cashend,
Bankbeginning,
Bankend,
AssetRemainderPrice,
AssetRemainderPrice0,
AssetRemainderPrice1
FROM SUMMARYOFECONOMY({$Period_ID}, {$DateTo}, {$StoreSelID},
{$StoreCardCategoryGoodsSelID}, {$StoreCardCategoryMaterialSelID},
{$ExclStoreCardCategorySelID}
)
SELECT
Taxableincome,
Taxdeductableexpense,
Depreciationwriteoff,
Nontaxableincomes,
Nontaxdeductableexpense,
Outstandinginvoices,
Liabilitiesinvoices,
Throughitem,
StoreValue,
StoreGoods,
StoreMaterial,
Smallassetvalue,
Cashbeginning,
Cashend,
Bankbeginning,
Bankend,
AssetRemainderPrice,
AssetRemainderPrice0,
AssetRemainderPrice1
FROM SUMMARYOFECONOMY(
(SELECT
FIRST
1 ID FROM Periods WHERE DateTo$Date = (SELECT (DateFrom$Date) FROM Periods WHERE ID = {$Period_ID})
)
, 0, {$StoreSelID},
{$StoreCardCategoryGoodsSelID}, {$StoreCardCategoryMaterialSelID},
{$ExclStoreCardCategorySelID}
)
<field> = {:VALUE}
(<field> >= {:LOW}) and (<field> < {:HIGH})
<field> = {:VALUE}
<field> IN ({:LIST})
<field> = {:VALUE}
<field> IN ({:LIST})
<field> = {:VALUE}
<field> IN ({:LIST})
<field> = {:VALUE}
<field> IN ({:LIST})
Generated by ABRA Software a.s. 27.10.2021 16:35