以下是将 X++ 代码转换为 SQL Server 代码的结果:

SELECT taxTrans.TaxCode, SUM(taxTrans.SourceRegulateAmountCur) FROM taxTrans JOIN taxTable ON taxTable.TaxCode = taxTrans.TaxCode JOIN taxTransGeneralJournalAccountEntry ON taxTransGeneralJournalAccountEntry.TaxTrans = taxTrans.RecId JOIN generalJournalAccountEntry ON taxTransGeneralJournalAccountEntry.GeneralJournalAccountEntry = generalJournalAccountEntry.RecId GROUP BY taxTrans.TaxCode, taxTable.TaxName;


原文地址: https://www.cveoy.top/t/topic/4a8 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录