Home » Categories » NRO Online Help » Customers

Bulk Updating the Ecommerce Customer Flag for Customer Records that have an Email Address Indicated in the Email-1 field on the Main Tab in NCR Counterpoint


Purpose:
This update script will set the Ecommerce Customer flag in NCR Counterpoint customer records to Yes, if the customer record has an email address indicated in the Email-1 field on the Main tab. It will also perform a basic check that the contents of the email-1 field contains an @ symbol.
Solution:
This script is run using NCR Counterpoint's SQL Script Utility, found under Start Button / Programs / CounterPoint SQL / Utilities / SQL Script Utility .  Copy (Ctrl + c) and paste (Ctrl + v) this script into the Script window of the utility. Click the lighting bolt in the toolbar to execute the script.
Update AR_CUST
set IS_ECOMM_CUST = 'Y'
Where EMAIL_ADRS_1 is not NULL and EMAIL_ADRS_1 like '%@%'
go
TIP: Before running any update script against your NCR Counterpoint database, we advise backing up copies of the tables affected by the script. Also, you can remove the "Where" statement, if you want all your customers flagged as Ecommerce, regardless of whether or not there is an email entered into the Email-1 field.
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
Configuring Product Alert Settings
Added on Thu, May 24, 2012
Changing The Default Customer Group for New Customers
Added on Fri, May 25, 2012
Sharing Customer Accounts Across All Stores
Added on Thu, May 24, 2012
Configuring Customer Password Email Sending Options
Added on Wed, May 23, 2012
Managing or Editing Customer Accounts
Added on Fri, May 25, 2012
Ecommerce Template Customer
Added on Wed, Apr 17, 2013
Purchasing or Renewing Your SSL Certificate
Added on Wed, Mar 6, 2013
Loyalty points and NRO
Added on Tue, May 29, 2012
Enabling Guest Checkout
Added on Tue, May 29, 2012
Requiring Shoppers to Log In Before Viewing Items
Added on Tue, May 29, 2012