Home Page link  

Assign previous purchases to newly created customer

 

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

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
Assign previous purchases to newly created customer Trinidad 02-04-2006
Posted by Trinidad on February 4, 2006, 6:47 am
Please log in for more thread options
How do I assign previous purchases to a newly created customer? For example
a customer my have made a few purchases last year and declined to give
information at that time. Now they are willing to be entered into RMS,
however the previous purchases are not associated with them in RMS.

Thx

Posted by Rob on February 4, 2006, 3:23 pm
Please log in for more thread options
***********************************************************
MAKE A BACKUP OF YOUR DATABASE BEFORE DOING ANY UPDATE QUERIES
IF YOU ARE UNCOMPFORTABLE WITH MAKING THESE TYPES OF CHANGES
CONSULT YOUR LOCAL RMS PARTNER FOR HELP
***********************************************************

First you need to find the customer's ID from the Customer table in the
database. Use the following SQL query and replace '00' with the customers
account number.

SELECT ID
FROM Customer
WHERE Customer.AccountNumber = '00'

Then you need to update each transaction with the customer's id using the
following query, where 'xx' is the customer's id from the previous query and
'yyy' is the transaction number.

UPDATE [Transaction]
SET CustomerID = 'xx'
WHERE TransactionNumber = 'yy'

Rob

"Trinidad" wrote:

> How do I assign previous purchases to a newly created customer? For example
> a customer my have made a few purchases last year and declined to give
> information at that time. Now they are willing to be entered into RMS,
> however the previous purchases are not associated with them in RMS.
>
> Thx

Posted by Trinidad on February 10, 2006, 5:16 pm
Please log in for more thread options
Thanks Rob!

"Rob" wrote:

> ***********************************************************
> MAKE A BACKUP OF YOUR DATABASE BEFORE DOING ANY UPDATE QUERIES
> IF YOU ARE UNCOMPFORTABLE WITH MAKING THESE TYPES OF CHANGES
> CONSULT YOUR LOCAL RMS PARTNER FOR HELP
> ***********************************************************
>
> First you need to find the customer's ID from the Customer table in the
> database. Use the following SQL query and replace '00' with the customers
> account number.
>
> SELECT ID
> FROM Customer
> WHERE Customer.AccountNumber = '00'
>
> Then you need to update each transaction with the customer's id using the
> following query, where 'xx' is the customer's id from the previous query and
> 'yyy' is the transaction number.
>
> UPDATE [Transaction]
> SET CustomerID = 'xx'
> WHERE TransactionNumber = 'yy'
>
> Rob
>
> "Trinidad" wrote:
>
> > How do I assign previous purchases to a newly created customer? For example
> > a customer my have made a few purchases last year and declined to give
> > information at that time. Now they are willing to be entered into RMS,
> > however the previous purchases are not associated with them in RMS.
> >
> > Thx

Similar ThreadsPosted
Sales Data .bck file & how to append it to newly created file May 29, 2007, 10:52 pm
Customer Purchases Totals Report December 1, 2008, 5:01 pm
Customer and Stock balances as on any previous dates July 19, 2005, 3:17 am
Show all global customer purchases at all stores January 27, 2006, 5:23 pm
Total Purchases in Customer record incorrect July 15, 2008, 3:12 am
Assign Sales Rep to customer August 7, 2007, 9:22 am
Possible to offer quantity discount based on customer purchases? January 5, 2006, 1:16 pm
Reports for previous year(s) February 14, 2007, 6:59 pm
appending to a previous entry January 14, 2008, 9:52 am
order of purchases February 1, 2007, 4:14 pm

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