# Reg. Discount & Discount % field in Sales Order form in Ax 2012

**URL:** <https://www.dynamicsuser.net/t/reg-discount-discount-field-in-sales-order-form-in-ax-2012/55930>\
**Category:** User Forum\
**Created:** [November 20, 2014, 5:51am UTC](https://www.dynamicsuser.net/t/reg-discount-discount-field-in-sales-order-form-in-ax-2012/55930 "2014-11-20T05:51:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tech\_help](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tech\_help](https://www.dynamicsuser.net/u/tech_help)\
**Post date:** [November 20, 2014, 5:51am UTC](https://www.dynamicsuser.net/t/reg-discount-discount-field-in-sales-order-form-in-ax-2012/55930/1 "2014-11-20T05:51:15Z")

</div>

Hi Pioneers,

In Axapta 2012, in Sales Order form, there are two fields, named: Discount & Discount Percentage (%). I kindly request you guys to guide me as how may I populate these fields **AUTOMATICALLY**. Means, On entering the “ **Product** ”, the value should automatically come to these fields. Please guide.

Thanks a lot in advance !!!

Regards

---

<div class="post-metadata">

**Author:** ![sunnysantu](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sunnysantu](https://www.dynamicsuser.net/u/sunnysantu)\
**Post date:** [November 20, 2014, 6:18am UTC](https://www.dynamicsuser.net/t/reg-discount-discount-field-in-sales-order-form-in-ax-2012/55930/2 "2014-11-20T06:18:30Z")

</div>

you will need to define the trade agreements for this item. Then, system automatically gets these discounts.

---

<div class="post-metadata">

**Author:** ![tech\_help](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tech\_help](https://www.dynamicsuser.net/u/tech_help)\
**Post date:** [November 20, 2014, 7:13am UTC](https://www.dynamicsuser.net/t/reg-discount-discount-field-in-sales-order-form-in-ax-2012/55930/3 "2014-11-20T07:13:05Z")

</div>

Thanks for your quick reply Santosh, I tried with “Trade Agreement”, but unable to achieve the result…can you please explain me once? which values do I need to select frm the lookups in that form ?

---

<div class="post-metadata">

**Author:** ![sunnysantu](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sunnysantu](https://www.dynamicsuser.net/u/sunnysantu)\
**Post date:** [November 20, 2014, 11:37am UTC](https://www.dynamicsuser.net/t/reg-discount-discount-field-in-sales-order-form-in-ax-2012/55930/4 "2014-11-20T11:37:36Z")

</div>

![4186.test.JPG](https://us1.discourse-cdn.com/flex023/uploads/dugusers/original/2X/b/b6264f0847fe528d55ce6cdbaca0480a4e8f9cfb.jpeg)

The above setup means…for all customers for Item A001 we are giving the discount. 5 USD discount (regular discount on the product) and 3% extra discount for thanks giving day. (just for your understanding)

---

<div class="post-metadata">

**Author:** ![AdamRoue](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdamRoue](https://www.dynamicsuser.net/u/AdamRoue)\
**Post date:** [November 20, 2014, 1:30pm UTC](https://www.dynamicsuser.net/t/reg-discount-discount-field-in-sales-order-form-in-ax-2012/55930/5 "2014-11-20T13:30:24Z")

</div>

> [@](#):
>
> Thanks for your quick reply Santosh, I tried with “Trade Agreement”, but unable to achieve the result…can you please explain me once? which values do I need to select frm the lookups in that form ?

That would depend upon what you are trying to achieve. 🙂

Post a screen shot of the journal and the sales line. Ensure the journal is posted and ensure discounts are activate in the price setup.
