Trying to email customers who have only placed one order.
Im trying to create a report of my customers who have only placed one order in the past so I can create an email campaign. This will help me with customer retention.
If any knows how I can create a report that will filter out customers who have placed more than one order, please let me know.
Thank you
Sam Hashem
www.Hashems.com
Hi Sam,
Unfortunately we do not have a filter that will pull only customers who have one order.
The only workaround is to produce a "customer & orders" report and export. Then in Excel filter the report by customers to see how many orders each customer may have. If more than one you can simply remove them from the exported report.
Then you'll take the updated report and import as a new mailing list (must match the marketing list import template) to acheive what you require.
Kind regards,
-Sidney
Similar Messages
-
Query to find customers who have not purchased anything
I have a query to find customers who have purchased what we call consumables (using item property) over a given period:
SELECT T0.CardCode, T0.CardName, T0.DocDate, T0.DocTotal, T1.ItemCode, T1.Dscription,T1.quantity, T2.ItmsGrpNam
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry, OITG T2
WHERE T0.DocDate BETWEEN '[%0]' AND '[%1]' AND T1.ItemCode like '2ssy%' AND T2.ItmsGrpNam = 'consumable'
I have another to show customers who have a particular type of equipment:
SELECT T0.manufSN,T0.itemName, T3.Name, T2.Address, T2.Street, T2.Block, T2.City, T2.County, T2.ZipCode
FROM OINS T0 INNER JOIN OCRD T1 ON T0.customer = T1.CardCode INNER JOIN CRD1 T2 ON T1.CardCode = T2.CardCode Inner Join OCPR T3 ON T0.ContactCod = T3.CntctCode
WHERE T0.manufSN like 'P%' AND T2.AdresType= 'S'
What I would like is to find those customers who have this equipment (query 2) but who have NOT purchased and consumables in say the last year.
I have tried using Excel by finding duplicates and taking those in query 1 from those in query 2 but it's very messy.
Has anyone done anything like this or got any good ideas?
ThanksHi Ralph,
Well, I enjoy teaching, so let's start at the beginning. SQL is a fairly full-featured language, and it supports recursion and nesting. That's why the books online often describe elements of the SQL statements as "expression" - it may be more than a field or a simple function occurring there. Nesting is the little puppy we used here.
Now, in your first post, you said: "What I would like is to find those customers who have this equipment (query 2) but who have NOT purchased and consumables (query 1) in say the last year."
So, our common point between the two queries is the customer, the CardCode. That's what this part does: F0.CardCode = T0.Customer. In my internal convention, I used F for Filter. So we only want the results in the filter where the CardCode matches the CardCode/Customer from the main query tables. It's the sole contact point between the two queries.
You also said you wanted only the items where they had purchased no consumables, which basically translates into: a count of the records equals 0. Now, since all we're interested in from the second query, the consumables query is how many records we returned, we get rid of all the columns except for one that we apply a COUNT to. After that, it's a simple criteria: the result of the second query has to equal 0. This is how the criteria looks after you take out all the details and put only the important brackets in: (SELECT COUNT...FROM...WHERE...) = 0.
This might be confusing at first, because most of the time we return recordsets from queries, but a standard feature of SQL is to return a value of any data type if the query returns a single row and a single column. This wouldn't work at all if we had more than one column in our nested query (or would require lots of tweaking), and although it returns a number of results in the complete process of the whole SQL statement, it only returns one result for each row.
Regards,
Mark Dielmann
Edited by: Mark Dielmann on Nov 13, 2009 12:30 PM - Forum doesn't support advanced formatting on answered questions.
Edited by: Mark Dielmann on Nov 13, 2009 12:32 PM - Salutations and more formatting.
Edited by: Gordon Du on Nov 13, 2009 10:35 AM - There are maximum characters limitation for correct format -
Why does Adobe not inform customers who have iPhones below 5 that Reader is not compatible until very near the end after WASTING customer’s time? BIG NEGATIVE from here
When you view an App in the App Store or iTunes Store, the listing will show what iOS versions are supported by the app.
See this posting:
How do I get a version of Adobe Reader for an IPod touch with IOS 6.1.6 -
Well I have just placed my order for iWork06
Hi Everyone
As the subject says I have just placed my order. Although I am still going to use Pages 2 only for novel writing I think the reviewer comments addition is going to be the most useful for me. The table calculation and address book mail merge might be useful as well.
Can't wait, according to the Apple store I should have it in two days. I'll give you a review when it turns up, though I sure that all you folks in the US will get it before me.
ChrisI ordered my family packs of iWork '06 & iLife '06 today. They are expected to ship by Thursday. I don't do any writing that requires endnotes, or even footnotes, any more, so I can't help there.
I did get a nice personal demonstration of Pages 2 today. One thing I really wanted has been added to the preferences - setting the default zoom. There are also a lot of text formatting options added to preferences. Most of the other things that I could think of off the top of my head couldn't be done in the demo. But, it won't be long before we get our hands on the new version to try things out.
I did like the photo editing like in iPhoto that has been added & masking to shape & reflections look cool. Obviously, there is a lot more graphic/image handling in Pages 2.
Peggy -
When one or more family members who have been sharing one iTunes account wants to create their own iTunes account can they each upload the music/apps from the shared iTunes on their devices to the new iTunes account?
Yes. I would clarify your statement about the "shared" iTunes Library though. If you want each iOS device to have its own music library, you should create separate user accounts for them. Read:
iTunes: How to share music between different accounts on a single computer
How to use multiple iPods, iPads, or iPhones with one computer -
Iclould says 7GB of emails, but I have only few folders and few files?
I cloud control panel 3.0 says that my emails takes over 7GB but I have only few folders and not so many files visible in both webclient and outlook. How to find the root cause of the problem ? I exprienced webclient crash earlier when deleting/cleaning the trash. Now the trash looks empty.
If you sync it via iTunes to your computer the Camera Roll should be transferred during the sync to your computer.
-
Is there a way to hide songs/albumbs in itunes match only on certain devices?
for example, I have a huge collection of songs, and my wife only wants to see 'her stuff' on her iphone.
or am i going to have to create another account just for her, and either rebuy or manualy store the songs on her phone?Hi
You can only use one Apple id for your iTunes match.
At present there is no way to hide selected songs.
Whilst all the music will show on you wife's iphone, she could create playlist(s) on your computer to include only her songs.
Jim -
When I purchased my Mac I bought it with Apps installed, when I go to update them, it says I need to update on a different Apple account. I have only ever had one Apple account, what can I do? The Apps are iPhoto, iMovie, Pages, and Keynote. Thanks for your help. Looking forward to suggestions.
Please take each of the following steps until the problem is resolved.
Step 1
Follow the directions in this support article.
Step 2
Associate your Apple ID with your user account. Then sign in to the App Store with the same ID.
Step 3
Triple-click anywhere in the line below on this page to select it:
/Library/Caches/com.apple.appstore/adoption.plist
Right-click or control-click the line and select
Services ▹ Reveal
from the contextual menu.* A folder may open with a file named "adoption.plist" selected. If it does, move the file to the Trash. You may be prompted for your administrator password. Log out, log back in, and test.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combinationcommand-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.
Step 4
Contact Mac App Store Customer Service. -
Hey everyone. My apple tv is working great, however, its only accessing one playlist from my itunes on my computer. How do I get it to recognize the other playlists?
Try turning homesharing off and on again if these playlists have been created recently, otherwise there may be something in the playlists that are causing a problem, try experimenting with new smaller playlists to see if you can see any patterns.
-
Enforcing a strategy plan to only produce one order in a single month
Hello All,
I have created a strategy plan that kicks out orders monthly, quarterly, semi-annually and annually. I have used the cycle unit of "MON", so orders get generated in cycles of 30 days. Everything is working great.
Now, here's a business requirement: only one order can be created in a single month. So, if this strategy kicks out an order on 01/01/09, and they complete it the same day, the next order will be created for 1/30/09. What is the most effective way to enforce SAP to only allow creation of one order in a single month?
Thank you for your help in advance.
Alex
Reference:
http://www.sapfans.com/forums/viewtopic.php?f=7&t=334722Hi,
As Mr. Venu said along with the Key-date option the scheduling start date and call horizon is also important.
Reg,
NNR -
Can I order 2 different photo books I have created in one order and how do I do it?
I want to order 2 different photo books. When I clicked on buying the first one it looks like I will be charged the delivery fee straight away. It does not offer me to continue shopping. So I am not sure. How can I order both books in one order and be charged only one fee?
Thanks for your help.Each book must be a separate order. The same goes for calendars, cards, etc. You can order multiple copies of the same item on one order but not multiple items.
OT -
Customers who have migrated from 9i EE with Spatial to 10g EE with Spatial?
Hi,
My customer is planning to migrated from their 9i EE with Spatial to 10g EE with Spatial. They would like to have an informal discussion with another Oracle customer about best practices, tips, user experiences etc so they can plan for their migration. Oracle Advanced Support will be involved, but they would also like to chat with a customer who has conducted an Oracle EE with Spatial 9ir2 to 10gr2 migration, preferably on a Sun Solaris 9.0 platform. approx 50 gig db.
Can anybody recommend a customer that we could talk to?
Thanks,
Steve.Dave.
There were many discussions on this topic.
Try use "Search Forum" link and I belive that you find answer what you are looking for. -
Hi,
My mom and I have Apple devices (she has an iPhone 3G, and I have an iPod touch) .. I noticed that some of her apps require my password to my Apple ID and some of the other apps require her password for her Apple ID. When she first bought the phone, I used my Apple ID to download those apps since she was new to the Apple community. However, whenever she gets new updates, those apps still need my password (even though I've erased my account from her phone). Is there any possible way for her to update all of her apps using only one ID (hers) instead of using mine? It's very troublesome and I don't want to give her my password because she'll only end up losing it.
If anyone can answer this question, I'd greatly appreciate it.Sorry for the delayed response, yes i want to use my university account when replying to all emails. Note i just discovered something, when i forward my university email to my icloud account and than responded from either my imac of my macbook air (i.e. in icloud) it automatically goes to my university account in the "from" space (good news!!!). That is just what i wanted, . While that is the good news, the bad news is that my iphone and ipad still treat this email as being from icloud even though it is forwarded (redirected) from my university account. That is when i respond to an email (or for that matter create a new email in my icloud account) it automatically lists the icloud account as the "from" account and i have to go in and manually modify it. So i am 50% there to solving my problem (i.e. actually did nothing the systems just worked well) but i still need to figure out a way to make this happen on my ipad and iphone. Any help or suggestions, note the default button in the iphone and ipad for email work differently than the default in the composition menu of the imac or macair.
-
List of customers who are not having sales orders
Hi All,
Hi All,
I want to take list of customer numbers which are not having any sales activities(No sales transactions) from required date. Do we have any standard functionalty to find all these kind of customers.
I can get all customer numbers (Sold to party) from KNA1 table, then if we do somuch manual work, then we will be able to find those customers. In that manual work we may do some mistakes, that will not give 100% perfect result. So, we are searching for any standard functionality.
Please let us your views.
Regards
LakshmikanthThis depends on how "sales" are defined in your organization.
If we are talking about the sales documents (orders, contracts and such - VBAK table), then there is no standard report. The Sold-to customers that do not have any sales documents may be identified by creating a query (SQVI, for example) on table KNA1 with LEFT JOIN on VBAK table by KNA1-KUNNR and VBAK-KUNNR field. (VAKPA table may be used instead of VBAK for better performance, as long as it's being populated in your system.) The KNA1 records that will come out without any VBAK records will be the customers with no sale documents.
If the invoiced (i.e. billed) sales have to be considered, then most likely S_ALR_87012186 suggested above or the same query but with VBRK will work.
Please note that S_ALR_87012186 report uses KNC1 table, which is not updated when a sales document has just been created. I've just tested this report with a new customer with one contract and it came out as having "no sales" and there were no entries in KNC1. I bet this table is updated only when something is posted into Accounting. If this fits your requirements, then, naturaly, this report would be the way to go. -
HT204053 How do I change my iCloud email account I have a new one?
I have changed my email and successfully changed my iTunes and apple id's but my phone under the settings iCloud will not let me change it there? And it keeps telling me my password is wrong too and I know it is not can someone please helP me before I throw this phone against the wall!And what is ios?
Have you already tried to completely delete your iCloud account on your iPhone and then to add it back again by using your new email address.
Maybe you are looking for
-
Can i migrate mac os and programs from a mini tower to a macbook pro
can i migrate mac os and programs from a mini tower to a macbook pro
-
Hi, I have job history setting like this: I would like to see keep backup history for long time (this job setup last year). But I can only see job history earliest at 04/17 this year. Does anyone have idea what happen to this job history? What proce
-
FM CRMXIF_COND_REC_SLIM_SAVE not updating conditions table
Hi All, Even I am using the FM CRMXIF_COND_REC_SLIM_SAVE to update conditions in the conditions table SAP004 and SAPSC012 , but for me the conditions are getting updated in table SAPSC012 but not SAP004. I want to update using the conditoin record gu
-
I'm trying to get my extension to show up in Photoshop CS 5.1 on Mac and I haven't been able to do it. I've followed the instructions in Using the Adobe Creative Suite 6 SDK. I've set the PlayerDebugMode to 1 in preferences: Macintosh HD/Users/me/Lib
-
Hello All, I am trying to configure the proxy for credit card transaction in Trip module,For this the standard proxy class is being used. I am not able to find out what should be the input to the function module Hr_trv_credit_Card_transaction. This r