Home Page link  

stored procedure writing directly in RMS

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here

 Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
stored procedure writing directly in RMS ClothingStore 02-15-2007
Posted by ClothingStore on February 15, 2007, 9:51 am
Please log in for more thread options
Is there any examples of writing stored procs directly in RMS? For example I
have a stored procedure I have written that gets fired off from CR8.5. The
stored proc has one section that does an insert into a temp table and at the
end of the stored proc does a select of the temp table. Any time within the
stored proc when doing an insert the last select does not work. If I do not
do an insert within the stored proc everything works as normal. I even tried
having my stored proc call another stored proc when it gets done, but because
of that insert it has problems. Is there anything written anywhere or
documented about some of the issues with stored proc writing directly into
RMS?
Thanks

Posted by Glenn Adams [MVP - Retail Mgmt on February 15, 2007, 10:10 am
Please log in for more thread options
Try adding the following line to the beginning of your SP:

SET NOCOUNT ON

This suppresses the "Rows affected" message that your insert is sending
back...

The SP is all within SQL Server, it really has nothing to do with RMS
specifically.

Glenn Adams
Tiber Creek Consulting
http://www.tibercreek.com
glenn@tibercreek.com
----------------------------------------------
Please DO NOT respond to me directly but post all responses here in the
newsgroup so that all can share the information.


ClothingStore wrote:
> Is there any examples of writing stored procs directly in RMS? For example I
> have a stored procedure I have written that gets fired off from CR8.5. The
> stored proc has one section that does an insert into a temp table and at the
> end of the stored proc does a select of the temp table. Any time within the
> stored proc when doing an insert the last select does not work. If I do not
> do an insert within the stored proc everything works as normal. I even tried
> having my stored proc call another stored proc when it gets done, but because
> of that insert it has problems. Is there anything written anywhere or
> documented about some of the issues with stored proc writing directly into
> RMS?
> Thanks

Posted by ClothingStore on February 15, 2007, 2:49 pm
Please log in for more thread options
Glenn, you are awesome, thank you. It did the trick and works great. I
appreciate all that you do on this site and the questions you answer. It's
great.

"Glenn Adams [MVP - Retail Mgmt]" wrote:

> Try adding the following line to the beginning of your SP:
>
> SET NOCOUNT ON
>
> This suppresses the "Rows affected" message that your insert is sending
> back...
>
> The SP is all within SQL Server, it really has nothing to do with RMS
> specifically.
>
> Glenn Adams
> Tiber Creek Consulting
> http://www.tibercreek.com
> glenn@tibercreek.com
> ----------------------------------------------
> Please DO NOT respond to me directly but post all responses here in the
> newsgroup so that all can share the information.
>
>
> ClothingStore wrote:
> > Is there any examples of writing stored procs directly in RMS? For example
I
> > have a stored procedure I have written that gets fired off from CR8.5. The
> > stored proc has one section that does an insert into a temp table and at the
> > end of the stored proc does a select of the temp table. Any time within the
> > stored proc when doing an insert the last select does not work. If I do not
> > do an insert within the stored proc everything works as normal. I even
tried
> > having my stored proc call another stored proc when it gets done, but
because
> > of that insert it has problems. Is there anything written anywhere or
> > documented about some of the issues with stored proc writing directly into
> > RMS?
> > Thanks
>

Similar ThreadsPosted
Upload customer info stored in CSV format directly to RMS November 18, 2005, 1:36 pm
How to execute Stored Procedure from QSRules.Session object in .NE November 17, 2006, 7:06 am
Invalid stored procedure error while trying to create a store in H June 19, 2007, 3:34 pm
Writing Add-Ons for Microsoft RMS October 27, 2006, 2:03 pm
Failure to post batches directly in Quickbooks Pro July 14, 2005, 11:07 am
Reorder/restock directly from supplier (no backstock) April 19, 2006, 4:06 pm
A server error occured while writing to the Journal - POS December 7, 2005, 10:35 pm
MULTI STORE ORDER WRITING-SIMPLIFY August 28, 2006, 12:37 pm
Need help with RMS, "Kit" procedure. January 25, 2007, 4:26 pm
item adding procedure April 17, 2006, 10:36 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap