- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Coupon/Dis count Code
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-04-2012 01:38 PM - last edited on 01-04-2012 01:45 PM
It has been awhile since this was last addressed so I thought I'd give it a shot. We want to use coupon codes in MAS200. We would like to be able to enter a code in Sales Order Entry and have the assigned discount applied to the order. Is there programming that can be done or third party solutions that can be applied to accomplish this?
Using the Misc Item is not a bad idea except that you cannot set a percent off value.
Any suggestions will be appreciated.
Thanks!
Re: Coupon/Dis count Code
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-04-2012 01:41 PM
Welcome to the forums.
What version of MAS are you on?
This can be accomplished fairly easily with User Defined Scripting (version 4.40 and up).
Re: Coupon/Dis count Code
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-04-2012 01:44 PM
I am on v4.4 currently.
Re: Coupon/Dis count Code
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-04-2012 01:53 PM - last edited on 01-04-2012 01:54 PM
This can probably be accomplished in many different ways, but based on your description this is how I would tackle it.
Create a UDT for coupon codes. Add fields to the UDT: description, discount type (amount/percent), discount (maybe even starting and ending dates).
Create a UDF for the Sales Order Detail for the coupon code. The field will be validated against the UDT. This will make it so that a lookup will be presented to the user.
Add a post validate script that will apply the discount to the line.
These ae the general steps that would have to be taken. In practice there will probably be more scripting that have to be done (what happens when the quantity is changed after the coupon code is entered, what should happen if the user overrides the price, etc.)
EDIT: You should probably talk to your reseller about this by the way.
Re: Coupon/Dis count Code
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-04-2012 01:59 PM - last edited on 01-04-2012 02:00 PM
Thank you! That is very helpful information.
I will get with my reseller as he knows about scripting!
Re: Coupon/Dis count Code
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-04-2012 03:59 PM
Send Connex a note here on the forum. He has written a lot of scripts and is quite knowledgeable.
Re: Coupon/Dis count Code
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-12-2012 10:23 AM
I just wrote a script for this exact thing for one of my customers. It basically looks at a UDF "Coupon Code" on the Sales Order Totals tab and when the coupon is applied to the order, it pulls coupon information stored in the UDT "Coupon_Codes" and calculates the coupon amounts.
It works for all different types of coupons;
all Customers and all items,
specific customers and all items'
specific customers and specific items'
all customers and specific items'
either percentage based or amount based
if you are interested, send me a message with your contact information
Mike McNelis
e-mail me here
Re: Coupon/Dis count Code
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-12-2012 12:33 PM
asmith63 --
There are some video links in this post, one of which is about setting up coupons in sales order. Even if you won't be doing the scripting yourself, you might find it helpful in understanding the process.


