am new in Kentico and am working on project that will be like E-book store want to ask if there is any way to make Group of users and assign discount for them like 10% on all purchase or something i notice that i can assign discount on product level as Kentico Discount Doc but this is not my desire .. i just want to create group of users and assign them all discount i think in making it as a role but i don't think it will work like that .. any one has idea?
Yes, you can create an order discount and specify for which user role the discount will be available. https://docs.kentico.com/display/K8/Working+with+order+discounts#Workingwithorderdiscounts-Addingorderdiscountstargetedonselectedcustomers
Also you can use macro rules for configuration https://docs.kentico.com/display/K81/Configuring+discount+rules
Or you can create a custom ShoppingCartInfoProvider and check a user role, if it's correct, you will add discount to an order.
Related
Using Sales Force Automation in NetSuite, you can create Sales Teams (via Setup->Sales->Sales Teams->New). From what I can gather, these appear to be a kind of Group of employees (you can list them via a saved search). You can then use them to assign an entire Sales Team to a customer (which really means assigning all of the people in that Sales Team to the customer - NetSuite doesn't keep a record of which Sales Team you assigned, just its members).
We have multiple (hundreds) of sales teams defined. One for this state, one for that state, one for this group of counties in this other state, one for that state but just for customers who are under a certain threshold of revenue, etc., etc. So we get employees who are on multiple sales teams - again, some employees are on tens or hundreds of sales teams.
What I want to do is operate on those sales teams via a mass update or similar. For example, I want to be able to remove John Smith from all Sales Teams (I stress that by this I do not mean remove him from all customers in which he is in the sales team; I mean remove him from the defined Sales Team), or add Sue Brown to all Sales Teams involved in a specific state. Again, I stress that I don't mean to make changes to the people or sales teams assigned to customers - if I made this change, it would not change anything in relation to any customers; it would ONLY change the Sales Team itself.
But I can't even search for Sales Teams (or groups) and get the names of all the members in the search result.
How are Sales Teams structured/stored in NetSuite? Can they be operated on in this way?
I do not have this feature enabled in my account, so I cannot see first hand. However in Suite Answer I found Answer Id 9772 that explains how to perform a Mass Update of sales team members, i.e. to add or remove an individual from a Sales Team and the different mass update types.
How can i provide discount coupon for each item in shopping cart of kentico ecommerce?
It's not out-of-the-box functionality, because you can apply only 1 coupon code to order, but you can write a custom code for it. In Kentico you can override some methods from data providers (Example for Shipping option InfoProvider, so you can create a similar class for ShoppingCartInfoProvider or another
You can have global discounts or discounts for specific products. Go to E-commecrce\Product coupons. You can define percentage or fixed amount.
Come up with a coupon code. When a user enters this code in the shopping cart - discount automatically applies
more info here
I've encountered the following problem - I already have a working cube that processes lots of data on a schedule. The requirement I got now was to restrict the data in the cube according to specific logins. I'm aware of dynamic SSAS cube security through roles or even logins but I don't see them helping me as I have a kind of a hybrid scenario, and it is as follows:
For example, imagine you have a cube processing sales and income of an international trading company, and you belonged to a role of country directors; what I want to do is adjust permissions so that every country director sees all the measures and dimensions, but they see sales/income only from their country.
Is this possible?
All help is appreciated.
EDIT: I might not have made the best example above. My scenario is slightly different, in a way that there isn't a business rule that would place any two users in a same group. Basically, every user has to see only data that somehow refers to him/her. And this really can't be done manually as there's over 4000 users...
Best regards,
MK_
Yes, both Tabular and Multidimensional SSAS have row filtering options. In your scenario you need:
A Country dimension
Create a role for each Country that has directors
Assign each director to their specific role
Row filter each role by their correspondant Country dimension
I have a sharepoint list "Notes" with columns [Title] and [Department].
I fetch values for column [Department] from another list called "Departments" (columns [Id] and [Name].
I want this:
Everytime I add new record in "Notes", I want to set permission for this record according to permission set on the value in column Department.
So, basicaly, I SOMEHOW need to first set permissions, which users or groups has rigths for each department in list "Departments". After that, I need to inherit this permission in "Notes" list from the value of [Department].
For example:
Departments list would look like this
Billing (some permission for users or groups)
Operations (some permission for users or groups)
Sales (some permission for users or groups)
I want to add new record in "Notes" like "Hello, new item" and I chose department "Billing".
Now, I want that only users/groups which has rigths to see Billing records can see this record. No one else.
And so on... as soon as I add new record with [Department] Operations, I want only users/groups which have rigths to see Operations record to see only these records.
Is there any solution for me? I think it should has something to do with sharepoint designer workflow "Replace permission" but I never figured it out how to set as described above.
Thanks,
Jan
As you mentioned, the "Replace List Item Permissions" Action is the only way to achieve this without creating a custom event receiver. Here is a blog post about it: http://spcycle.blogspot.com.tr/2012/01/how-to-create-workflow-to-change-item.html.
Having said that, I don't think securing sensitive information at item level in a shared list by using workflows is a good idea. What if the workflow stops working someday for some reason? Not a rare case when you upgrade your SP deployment to the next version... People would keep using that list by relying on the assumption that their information is secured and I can imagine that that can create a lot of trouble for some. Besides if the number of items in that list is going to be "high" you will have performance issues and potentially hit the soft limits of SharePoint.
I would create a separate list for each department to store their notes or create a folder in the Note List for each department, lock it down to the corresponding department and ask that department's users to put their notes into their department's folder.
I'm using Kentico version 8.2, and am trying to allow a user to enter multiple coupons. In the ECommerceContext.CurrentShoppingCart object you have a ShoppingCartCouponCode that you can set. This then adds this coupon to the Discounts collection on that object.
If I change the ShoppingCartCouponCode to something else, then the Discount collection gets recreated with a single item of the new discount again, and loses the old discount.
If I store a copy of the discount collection, then apply the new coupon entered, and then append the copied collection to the new generated Discount collection then that works for only a couple of discounts. I am concerned that doing it this way will cause issues elsewhere.
So has anyone implemented this functionality before and how did/would you go about it?
EDIT: Although it seems like Product Coupons should allow you to do this, they don't work quite the way you would think. When a Product Coupon is applied to the cart, the ShoppingCartDiscountCouponID field for that cart's record in COM_ShoppingCart is updated to include a foreign key reference to the ID of discount coupon in COM_DiscountCoupon. So there can definitely be only one Product Coupon applied to the cart at any one time.
So instead of being a discount on a particular product, they seem to be more like flags that allow you to apply discounts to the entire cart if a particular product is in the cart and the correct coupon code is entered.
However, that doesn't mean we can't do some customization to achieve this affect ourselves. Our first step will be to change the ShoppingCartContent control in CMSModules > Ecommerce > Controls > ShoppingCart to allow multiple coupon codes to be entered. That's the easy part.
The second part is to change how discounts and carts are associated. This could require modifying Kentico's system tables, so do so at your own risk. You'll basically want to decouple foreign key reference from the COM_ShoppignCart table and create a many-to-many relationship between carts and discounts. Personally, I would leave the system tables and API alone and just create another custom table that mapped CartIDs to DiscountIDs (you will probably have to do the same with Orders, too since cart data is applied to order data when an order is created).
The last part is changing how discounts are actually calculated.
Earlier I suggested creating a custom DiscountCouponInfoProvider. Turns out, what you actually want to do is create a custom ShoppingCartInfoProvider and override one of the following methods:
CalculateOrderDiscount()
CalculateItemsDiscount()
I apologize if this isn't descriptive enough, but this will be a significant modification to how Kentico handles Product Coupons, so I don't have a lot of time to get into specifics. However, I would estimate that it would take a least a few weeks to accomplish.
old answer
Hmm, you could create discounts that represent combinations of two or more discounts and apply those if a user selects the right combination.
Or, what I would prefer if I had the time to build it, would be to create a custom DiscountCouponInfoProvider that changes how discounts are applied.M