|
|
发表于 2007/1/18 17:16:47
|
显示全部楼层
也是临时找的,你参考下:
select
ad.asset_id,
ada.asset_cost_account_ccid,
ada.asset_cost_account_ccid,
ada.deprn_expense_account_ccid,
ada.deprn_reserve_account_ccid,
ada.cip_cost_account_ccid,
ada.cip_clearing_account_ccid
from
FA_ADDITIONS_B AD,
FA_ADDITIONS_TL ADT,
FA_DISTRIBUTION_HISTORY adh,
fa_distribution_accounts ada
where
ad.asset_id=adt.asset_id
and adh.asset_id=ad.asset_id
and adh.distribution_id=ada.distribution_id
AND ADT.LANGUAGE = userenv('LANG') |
|