
acc.entr.SaInRecvDbSSalItcCr.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beige-acc Show documentation
Show all versions of beige-acc Show documentation
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 6 as SRTY, DAT, 'RECEIVABLE' as ACDB, DBCR.NME as SADNM, DBCR.IID as SADID, 1002 as SADTY, SUM(SAINSRLN.SUBT) as DEBT,
'SSALES' as ACCR, SRVCT.NME as SACNM, SRVCT.IID as SACID, 1006 SACTY, SUM(SAINSRLN.SUBT) as CRED
from SAINSRLN
join SRV on SRV.IID=SAINSRLN.ITM
join SRVCT on SRVCT.IID=SRV.CAT
join SALINV on SALINV.IID=SAINSRLN.OWNR
join DBCR on DBCR.IID=SALINV.DBCR
where SAINSRLN.RVID is null :WHEAD
group by SRTY, DAT, ACDB, SADNM, SADID, SADTY, ACCR, SACNM, SACID, SACTY
© 2015 - 2025 Weber Informatics LLC | Privacy Policy