I am constructing some membership management views and reports for my client and need to understand exactly what some of the CB and CBS data fields mean/are used for.
For instance my client wants a report showing new members by month, with their definition of new member equating to a first take up of one of a sub-set of CBS plans but not showing the first take up of one of this sub-set when it replaces another subscription within this sub-set.
In the cbsubs_subscription table there are two fields <replaces_plan> and <replaces_subscription> which look like they would be relevant to the query construction. I could of course just do some trial and error construction but I hope there is some accessible documentation giving field definitions that would assist this and other query constructions.
You can check the CBSubs documentation, but I'm not sure if there's a database description in it or not. What exactly do you need explained further? replaces_subscription is the subscription row ID that the subscription is replacing for example. replaces_plan is the plan_id of the subscription that it replaced.
If I understand correctly you want to query for new subscriptions to a specific plan based off the current month?
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.