This can be resolved through a SQL scripting solution. Below are the steps for this:
**Please make a current backup of your company database, and perform these steps in a Test company first to verify it works the way you expect.
PAYABLES MANAGEMENT:1. Download the
PMCALC.zip that contains scripts for Payables Management:
https://mbs2.microsoft.com/fileexchange/?fileID=91a12810-1bbe-4d6e-afd5-64dff29cecde2. Go to the location you saved the zip file and extract the five SQL statements in it.
3. In SQL Server Management Studio, execute these SQL statements (from the PMCALC.zip file) against the company database:
create_table_taPMRECALC.SQL
smPM_Summary_stored_procedure_LASTYEAR.SQL
smPM_summary_stored_procedure_THISYEAR.SQL4. Open the ‘
LAST YEAR PM Recalc.sql’ script and copy it in to a query window. Edit the dates as needed for 'Last Year' and execute it against the company database. For instance, if your last closed year was 2015 and the dates were 01/01/2015 through 12/31/2015, then edit this script to look as follows:
exec smPMSummaryNOINVYTDLYR '01/01/2015', '12/31/2015'
5. Open the ‘
THIS YEAR PM Recalc.sql’ script and copy it into a query window. Edit the dates as needed for the 'current year' and execute it against the company database. For instance, if your current open year is 2016 and the dates are 01/01/2016 through 12/31/2016, then edit to this script to look as follows:
exec smPMSummaryNOINVYTD '01/01/2016', '12/31/2016'
6. Review your YTD and LYR values in your company for accuracy.
RECEIVABLES MANAGEMENT:1. Download the
RMRECALC.zip that contains scripts for Receivables Management:
https://mbs2.microsoft.com/fileexchange/?fileID=dddbed25-f461-4a7c-8d41-21a0783709662. Go to the location you saved the zip file and extract the five SQL statements in it.
3. In SQL Server Management Studio, execute the following statements (from the RMRECALC.zip file) against the company database:
create_table_taRMRECALC.SQL
smRM_summary_stored_proc_LASTYEAR.SQL
smRM_summary_stored_Proc_THISYEAR.SQL
4. Open the ‘
LAST YEAR RM Recalc.sql’ script and copy it in to a query window. Edit the dates as needed for 'Last Year' and execute it against the company database. For instance, if your last closed year was 2015 and the dates were 01/01/2015 through 12/31/2015, then edit this script to look as follows:
exec smRMSummaryLYR '01/01/2015', '12/31/2015'
5. Open the ‘
THIS YEAR RM Recalc.sql’ script and copy it in to a query window. Edit the dates as needed for the 'current year' and execute it against the company database. For instance, if your current open year is 2016 and the dates are 01/01/2016 through 12/31/2016, then edit this script to look as follows:
exec smRMSummary '01/01/2016', '12/31/2016'
6. Review your YTD and LYR values in your company for accuracy.