Wednesday, August 1, 2012

Dynamics GP - A remove range operation on table 'gldivisionalclosingpltemp' cannot find the table


Error Detail

[Microsoft][SQL Server Native Client 10.0][SQL Server]Could not find stored procedure 'TWO.dbo.zDP_GL50500L_1'.

[Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'TWO.dbo.GL50500'.

-------------------------------------------------------------------------------------------------
Create the missing table manually using


USE [TWO]
GO

/****** Object:  Table [dbo].[GL50500]    Script Date: 08/01/2012 14:03:40 ******/
SET ANSI_NULLS OFF
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING OFF
GO

CREATE TABLE [dbo].[GL50500](
[USERID] [char](15) NOT NULL,
[ORD] [int] NOT NULL,
[SGMNTID] [char](67) NOT NULL,
[Ledger_ID] [smallint] NOT NULL,
[CURNCYID] [char](15) NOT NULL,
[TranslationCurrencyID] [char](15) NOT NULL,
[CURRNIDX] [smallint] NOT NULL,
[DECPLCUR] [smallint] NOT NULL,
[RATETPID] [char](15) NOT NULL,
[EXGTBLID] [char](15) NOT NULL,
[XCHGRATE] [numeric](19, 7) NOT NULL,
[RTCLCMTD] [smallint] NOT NULL,
[DENXRATE] [numeric](19, 7) NOT NULL,
[MCTRXSTT] [smallint] NOT NULL,
[CurrencyTranslationType] [smallint] NOT NULL,
[REARNAMT] [numeric](19, 5) NOT NULL,
[ORIGAMT] [numeric](19, 5) NOT NULL,
[Translation_Amount] [numeric](19, 5) NOT NULL,
[RERINDX] [int] NOT NULL,
[DEX_ROW_ID] [int] IDENTITY(1,1) NOT NULL,
 CONSTRAINT [PKGL50500] PRIMARY KEY NONCLUSTERED
(
[USERID] ASC,
[ORD] ASC,
[SGMNTID] ASC,
[Ledger_ID] ASC,
[CURNCYID] ASC,
[TranslationCurrencyID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO



No comments:

Post a Comment