Skip to content

Commit b899087

Browse files
authored
Update ExportForIntacct.sql
1 parent d1cd50f commit b899087

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

SageIntacct/ExportForIntacct.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ FROM Contribution AS c
3030
WHERE c.FundId <> @ProjectOfMonthFund
3131
AND c.ContributionTypeId <> 99
3232
AND c.ContributionDate >= @StartDate AND c.ContributionDate < dateadd(day, 1, @EndDate)
33-
--AND c.ContributionDate between @StartDate AND @EndDate
3433
AND bh.BundleStatusId = 0
3534
GROUP BY t.BatchRef, bht.Code, CONVERT(VARCHAR, c.ContributionDate, 101), CONVERT(VARCHAR, t.Settled, 101), c.FundId, cf.FundName, cf.FundAccountCode, cf.FundIncomeAccount, cf.FundIncomeDept, cf.FundIncomeFund
3635

@@ -61,7 +60,6 @@ FROM Contribution AS c
6160
WHERE c.FundId <> @ProjectOfMonthFund
6261
AND c.ContributionTypeId = 99
6362
AND c.ContributionDate >= @StartDate AND c.ContributionDate < dateadd(day, 1, @EndDate)
64-
--AND c.ContributionDate between @StartDate AND @EndDate
6563
AND bh.BundleStatusId = 0
6664
GROUP BY t.BatchRef, bht.Code, CONVERT(VARCHAR, c.ContributionDate, 101), CONVERT(VARCHAR, t.Settled, 101), oe.Data, o.OrganizationName
6765

@@ -89,7 +87,6 @@ FROM Contribution AS c
8987
LEFT JOIN lookup.BundleHeaderTypes AS bht on bht.Id = bh.BundleHeaderTypeId
9088
WHERE c.FundId = @ProjectOfMonthFund
9189
AND c.ContributionDate >= @StartDate AND c.ContributionDate < dateadd(day, 1, @EndDate)
92-
--AND c.ContributionDate between @StartDate AND @EndDate
9390
AND bh.BundleStatusId = 0
9491
GROUP BY t.BatchRef, bht.Code, CONVERT(VARCHAR, c.ContributionDate, 101), CONVERT(VARCHAR, t.Settled, 101), c.FundId, FORMAT(c.ContributionDate, 'Y', 'en-US'), cf.FundName, cf.FundAccountCode, cf.FundIncomeAccount, cf.FundIncomeDept, cf.FundIncomeFund
9592

0 commit comments

Comments
 (0)