# New article/trade agreements

**URL:** https://www.dynamicsuser.net/t/new-article-trade-agreements/62532
**Category:** Developer Forum
**Created:** [January 19, 2017, 8:57am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532 "2017-01-19T08:57:24Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Hubertes](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@Hubertes](https://www.dynamicsuser.net/u/Hubertes)
#### Post date: [January 19, 2017, 8:57am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/1 "2017-01-19T08:57:24Z")

</div>

Hi all,

I have to create article/product for one service.

This service is very complex and I’m not sure if it is possible to use only one article for this case.

For example I have service. The prices for services depends on thickness of layer and kg.

I can create article and add there properties with different thickness of layer but I don’t know how to desaign trade agreements and pricing rules to be sure that everything will work correctly.

I mean that for A kg with A layer the customer has to pay X.

But for A kg with B layer the customer has to pay more - Y.

It is possible to apply some model which could contain all factors - kg and layer?

Ask me for more explanation.

---

<div class="post-metadata">

### Author: ![AmolKapurkar](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@AmolKapurkar](https://www.dynamicsuser.net/u/AmolKapurkar)
#### Post date: [January 20, 2017, 5:07am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/2 "2017-01-20T05:07:01Z")

</div>

Its is a sales trade agreement or Purchase trade agreement ?  
And which version of AX you have.

---

<div class="post-metadata">

### Author: ![Hubertes](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@Hubertes](https://www.dynamicsuser.net/u/Hubertes)
#### Post date: [January 20, 2017, 11:03am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/3 "2017-01-20T11:03:12Z")

</div>

It is sales trade agreement.  
AX 2012.

---

<div class="post-metadata">

### Author: ![AmolKapurkar](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@AmolKapurkar](https://www.dynamicsuser.net/u/AmolKapurkar)
#### Post date: [January 21, 2017, 4:18am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/4 "2017-01-21T04:18:25Z")

</div>

You can achieve this by customization. As we are dong this in AX 2009.

You need to add Kg & Layer fields on PriceDiscTable(Check form name in AX 2012) form and make it mandatory for such services. Using combination of these customized and existing fields you can achieve.

---

<div class="post-metadata">

### Author: ![Hubertes](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@Hubertes](https://www.dynamicsuser.net/u/Hubertes)
#### Post date: [January 23, 2017, 8:03am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/5 "2017-01-23T08:03:31Z")

</div>

Thanks but I can’t find it in AX.

---

<div class="post-metadata">

### Author: ![Hubertes](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@Hubertes](https://www.dynamicsuser.net/u/Hubertes)
#### Post date: [January 23, 2017, 8:16am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/6 "2017-01-23T08:16:22Z")

</div>

[mention:9db9a6e2054e4548aaf613f10ea81610:e9ed411860ed4f2ba0265705b8793d05] I can add to priscdisctable new columns with range of layer and unit but by this way I have double columns with range ( for kg and for mm ) and when I’m going to change unit in first column, unit of measurement is changing in the second column as well 😕

---

<div class="post-metadata">

### Author: ![AmolKapurkar](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@AmolKapurkar](https://www.dynamicsuser.net/u/AmolKapurkar)
#### Post date: [January 23, 2017, 8:34am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/7 "2017-01-23T08:34:25Z")

</div>

Pls explain with example.

---

<div class="post-metadata">

### Author: ![Hubertes](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@Hubertes](https://www.dynamicsuser.net/u/Hubertes)
#### Post date: [January 23, 2017, 8:49am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/8 "2017-01-23T08:49:47Z")

</div>

ok.  
So I have one line in trade agreements.  
This line contains different columns.  
For example columns name: from, to - which describe range of kg or other units.  
There is also unit of measurement. So I add there to this table new columns with range: from, to and unit of measurement.  
In the first group of columns ( from, to, unit of measurement ) I add values in kg and in the second group ( from, to, unit of measurement ) I add values in mm - layer range. Unfortunately when I’m changinng values in first group the values from second are changed as well.

---

<div class="post-metadata">

### Author: ![AmolKapurkar](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@AmolKapurkar](https://www.dynamicsuser.net/u/AmolKapurkar)
#### Post date: [January 23, 2017, 8:58am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/9 "2017-01-23T08:58:02Z")

</div>

If possible provide the screen shot of the form.

---

<div class="post-metadata">

### Author: ![Hubertes](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@Hubertes](https://www.dynamicsuser.net/u/Hubertes)
#### Post date: [January 23, 2017, 9:15am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/10 "2017-01-23T09:15:51Z")

</div>

![pastedimage1485162927182v1.png](https://us1.discourse-cdn.com/flex023/uploads/dugusers/original/2X/2/2eaafda1802a4960bf8fa1453f5acc5806114938.png)

Done.

---

<div class="post-metadata">

### Author: ![Hubertes](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@Hubertes](https://www.dynamicsuser.net/u/Hubertes)
#### Post date: [January 23, 2017, 10:41am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/11 "2017-01-23T10:41:10Z")

</div>

[mention:9db9a6e2054e4548aaf613f10ea81610:e9ed411860ed4f2ba0265705b8793d05] I have one more idea.  
I can customized it by additional column - size but if I want to choose some values from column “size” in drop down list is nothing. How to add some values there.

---

<div class="post-metadata">

### Author: ![AmolKapurkar](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@AmolKapurkar](https://www.dynamicsuser.net/u/AmolKapurkar)
#### Post date: [January 24, 2017, 3:42am UTC](https://www.dynamicsuser.net/t/new-article-trade-agreements/62532/12 "2017-01-24T03:42:46Z")

</div>

What kind of values you to add to the filed Size? If it is fixed then go with base enum.
