All Downloads are FREE. Search and download functionalities are using the official Maven repository.

acc.trade.invTot.sql Maven / Gradle / Ivy

Go to download

It consists of double entry accounting and trading (web-store) business logic. It's based on previous beigesoft-accounting and beigesoft-webstore projects.

The newest version!
select sum(TOT) as TOT, sum(TOFC) as TOFC, sum(TOTX) as TOTX, sum(TXFC) as TXFC
from
( select TOT, TOFC, 0 as TOTX, 0 as TXFC
  from :TGDLN 
  where RVID is null and OWNR=:OWNR
union all
  select TOT, TOFC, 0 as TOTX, 0 as TXFC
  from :TSRVLN 
  where OWNR=:OWNR
union all
  select 0 as TOT, 0 as TOFC, TOT as TOTX, TOFC as TXFC
  from :TTAXLN 
  where OWNR=:OWNR
) as ALLNS;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy