The release of R2 for AX 2012 has added 2 new fields (discount code and bar code) to the Discounts form in the Retail module. This now gives us the ability to scan or type in a coupon/discount barcode directly into POS. The steps below are performed on the general Discounts, but the same steps would apply for Mix and Match Discounts and Quantity Discounts. The only difference would be how the items are configured for discounts in the Lines sections of each setup. NOTE: In AX 2012 R3 with the addition of the Call Center module, discounts can now be used with sales orders created in AX. In order to do so, the user logged into AX must be a Channel user for a Call Center channel. This will make a call to the CRT to perform the discount calculation.
1. Set up the bar code masking: Retail > Setup > Bar codes and labels > Bar code mask setup (Example setup)
a. Mask ID = DiscCode
b. Description = Discount Code Bar Code
c. In the Type field, select Discount Code
d. Set up the Masking configurations (Example configuration below)
i. Barcode standard = Code 39
ii. Mask Prefix = 44
iii. Bar code mask segment
1. Type = Discount Code
2. Length = 10
3. Character = T
NOTE: When this barcode is scanned into POS, it uses this prefix and segment to identify the entry as a discount.
2. Set the bar code for use with Retail discounts.
a. Go to: Retail > Setup > Parameters > Retail shared parameters
b. Select the Bar code navigation
c. Select your bar code mask from step 1.
3. Set up a specific discount/coupon: Retail > Common > Pricing and Discounts > Discounts
a. Fill in the Discount and Name fields.
b. Enter currency: USD
c. Select a Price Group, or create a new one. (SP 01)
d. Enter a Discount Code (MITT2013)
e. This auto-creates the barcode based on our discount code bar code in step 1 (4400MITT2013)
NOTE: This is case sensitive when entering this into POS.
f. Select a concurrency mode:
i. Exclusive - this discount cannot be used in conjunction with another
ii. Best price - will determine the best price and use that discount
iii. Compounded - will apply this discount on top of other discounts as long as the other discount is stackable
g. Discount code required
i. Checked - this will require the code to be entered or scanned at POS in order for the discount to apply.
ii. Unchecked - otherwise this will auto apply the discount whenever the items tied to the discount are entered.
h. Validation period
i. Complete the validation period for when this discount can be used. Once this period expires, you can either reuse this discount or delete it.
i. Under Lines click Add
i. Add a product (0017 - Youth Catchers Mitt)
ii. Select a Discount Method = Discount percentage
iii. Enter the amount in the corresponding field. (Discount percentage = 10)
j. Lastly, change the Status to Enabled
k. Close out of the discounts form.
NOTE: Save and sync issues may occur if this form is not Saved or Closed. If this form is simply completed with no save or close performed, you may note that your discount does not work at the POS.
4. Add the Price Group to your store: Retail > Common > Retail Channels > Retail Stores (This is used to assign the discount to specific stores)
a. Select your store (S0001)
b. Click Price Groups
c. Click New
d. Select the price group used in Step 2.c from the dropdown menu. (SP 01)
5. Sync over your changes: Retail > Periodic > Data Distribution > Distribution Schedule
a. Run the N-1020 (Discount) to sync over the specific Retail discounts to POS
b. Run the N-1100 (Product and price parameters) to sync over the BarcodeMask and Discounts.
c. If Step 2 was used to create a new Price Group, then run the N-1040 to sync the new group at POS
d. If Step 3 was performed to add the Price Group to the store, then run the N-1070 (Stores and tenders) to update the Store at POS
6. Log into POS (close and reload POS if it was open)
7. Add item 0017
8. Scan or type in the case sensitive discount barcode (4400MITT2013)
9. You will see the discount (MITT2013) applied to the line item associated with that discount.
Damage that discount code cannot be used in a standard sale order .
first, I do not manage to create the discount code / barcode in the form "discount". I set up the as described and set up in retail shared parameters the "bar code setup. Any idea what is still missing
second, as Laurent I am looking for a solution to use the discount code functionality of AX for Retail in a sales order. Any Idea?
Is it possible to create disposable discount codes in AX 2012 R2?
It seems that the instructions don't necessarily apply to AX 2012 R2. I had to create a Bar Code in Bar code setup where I selected the DiscCode Bar Code Mask. This new Bar Code is what is selected in the Shared Parameters settings. Without doing so, the Shared Parameters setting doesn't recognize the new mask.
I have a different issue, however. If I select the Discount code required checkbox and try to scan the coupon, the POS doesn't recognize the bar code. If I uncheck this checkbox, the discount is automatically applied. Is there another step required to get the barcode to be recognized by the POS?
nice blog .. please recommend can i apply a particular discount on only one store? for example an opening discount on all items of 20% is offered on the new store, how this will be catered in ax 2012? waiting for your response :)
I want to print the discount barcode in the sales ticket, is this possible? only in random sales tickets or depending of the sales amount.
There is not an out of box option to add the discount bar code to the Receipt Format Designer. I am unaware of any workarounds to enable this particular function at this time.