Sage 300 - sql query for recalculating AP Balances - reconciling to GL

Hi, I am trying to determine why my GL and AP control accounts dont balance.

Yes, I know I can isolate GL only transactions from my control account, but I would like to build a more robust answer.

To this end, I would like to build a query in sql views that recalculates a vendors balance based on the invoices and payments that have processed.

I am sure someone has done this, but hoping someone might share their query.

Thanks

JCS

Parents Reply
  • 0 in reply to Jay Converse Acumen
    Played it safe, joined APPJD to APPJD as you noted, got GL Batch numbers, and went back to comparing to GL table. Put two side by side in Excel....there seemed to be numerous differences, the majority netting to zero in the next batch.....not sure why the GL would act that way....but in comparing, there was one batch with NO match to GL - and it totalled exactly what I was looking for. Problem solved. thanks Jay.
Children