Hi Manuel, You can try the SQL Maintenance (Microsoft Dynamics GP >> Maintenance >> SQL. You can perform the same steps as the PSTL but this allows you to drop and recreate the tables in one window. Backup your table first by running the following SQL Script: select * into PM00204_YYYYMMDD from PM00204 Just change the YYYYMMDD as the date. Select the Company Database from the list >> Product would be Microsoft Dynamics GP >> highlight the Purchasing 1099 Period Detail. Mark the Drop table and the Drop Auto-Procedure first to process then highlight the same table but mark the Create table and Create-Auto-Procedure as the 2nd process. Once you have performed the above steps, re-insert the data back into the table (just make sure you change the YYYYMMDD). insert into [dbo].[PM00204] ([VENDORID], [TEN99TYPE], [YEAR1], [PERIODID], [TEN99BOXNUMBER], [TEN99AMNT], [TEN99FRNORUSDTL], [TEN99STATECD], [TEN99STATIDNUM], [TEN99TAXEXMTCUSIPNUM], [TEN99DIRSALECB], [TEN99STATNMBR], [TEN99FATCAFILEREQ]) select ([VENDORID], [TEN99TYPE], [YEAR1], [PERIODID], [TEN99BOXNUMBER], [TEN99AMNT], [TEN99FRNORUSDTL], [TEN99STATECD], [TEN99STATIDNUM], [TEN99TAXEXMTCUSIPNUM], [TEN99DIRSALECB], [TEN99STATNMBR], [TEN99FATCAFILEREQ] from PM00204_YYYYMMDD I hope this helps. Cheers, Leh
↧