Trade agreements (Price/ discount agreement) in D365 F&O - Setup

Hello readers, Its been a while since my last post. Hope you are all well and safe😊

In this post, I am going to explain the Trade agreements in AX. It is also called as Price/discount agreementsHope !! it will give you more insight on the way agreements are setup with vendors and customers.

As the name suggests, it is used to setup the prices (sales prices & purchase prices) and the discounts (Line discounts, Multiline discounts & Total discounts) for the item, customer and Vendor combinations.  Once price and discount rules are set up in the trade agreements, the valid prices and/or discounts are fetched and applied to quotations, orders, and invoices in AX.




A. Types of agreements


Following four types of agreements can be created for sales and purchase:


1) Price agreements: for setting up the sales and purchase prices for item & customer or item & vendor combinations which are used for fetching the item prices in sales and purchase orders. Prices are for each item hence it can only be setup for item code Table
2) Line discount agreements: for setting up the line discount for item & customer or item & vendor combinations which are used for fetching the discounts for sales or purchase order line
3) Multiline discount agreements: for setting up the discount for items & customer or item & vendor combinations which are applicable for multiple sales or purchase order lines. As Multiline discount is for multiple items combination, it cannot be setup for single item. It can always be setup for Item code Group or All
4) Total discount agreement: for setting up the discount for items & customer or item & vendor combinations which are applicable for the entire sales or purchase order. As Total discount is for the entire order, it is always application in the order header irrespective of any items in the sales or purchase order lines, hence it cannot be setup for item code Table or Group. It can always be setup for item code All

B. Agreement combinations


The price and discount can be setup for the following combinations of item, Customer and vendor:



C. Preference

Here preference is given to the item code or account code in the following manner while searching for the trade agreement for sales or purchase:

Table: First preference is given to code Table. When trade agreement is searched, it checks for the agreement created for single customer (Account code: Table) or single vendor (Account code: Table) and/or single item (Item code: Table) which are given in the sales or purchase order

Group: When trade agreement is not found for code Table, then second preference is given to code Group. When trade agreement is searched, it checks for the agreement created for the group of customers (Account code: Group) or group of vendors (Account code: Group) and/or group of items (Item code: Group). Item/ customer/ vendor which are given in the sales or purchase order should be part of those groups. 

How to create price/discount groups for customers/vendors/ items are given below in this post.

All: When trade agreement is not found for code Table or Group, then third preference is given to code All. When trade agreement is searched, it checks for the agreement created for All items (Item code: All) and/or All customers (Account code: All) or All vendors (Account code: All). Items, customer or vendor which are given in sales or purchase order are part of code 'All'.

D. Prerequisites

Before we create any trade agreement in AX, it is important to complete certain prerequisites:

1. Activate trade agreement

It is important to activate certain trade agreement combinations in order to create the trade agreement for those combinations. It will reduce the risk of wrong combination being used and also improve the system performance as trade agreement search engine only searches for the active combinations trade agreements.

A. To activate price/ discount between item & customer

Path: Sales and marketing > Setup > Price/discounts > Activate price/ discount

Here you can activate item and customer combinations against the price, line discount, multiline discount and total discount by ticking the appropriate checkbox.


B. To activate price/ discount between item & vendor

Path: Procurement and sourcing > Setup > Price/discounts > Activate price/discount 

Here you can activate item and vendor combinations against the price, line discount, multiline discount and total discount by ticking the appropriate checkbox.



2. Product, storage and tracking dimension groups setup

It is very important to keep the Product, storage & tracking dimension groups setup in mind while creating the trade agreement. The dimensions which are active in the product/storage/tracking dimension groups are very important while creating the trade agreement as these dimensions are used in the order and trade agreement search engine searches through these active dimensions while searching for the price or line discount for a specific item in the sales or purchase order. It includes active 'For sales prices' and 'For purchase prices' dimensions from the dimensions groups while searching for the prices for sales and purchase. It follows the following order in search for price/discount:

1. Firstly, it searches the trade agreement for the active product/storage/tracking dimensions which are used in the order for which price or line discount is requesting
2. If not found, it searches the trade agreement for the active product dimensions which are used in the order for which price or line discount is requesting
3. If not found, it searches the trade agreement with no active dimensions from product/storage/tracking dimension groups are specified

For example: If size is the product dimensions specified for the item, site and warehouse are the storage dimensions specified for the same item, serial number is the tracking dimensions specified for the item in the order, then 
- It first checks the trade agreement for the size, site, warehouse and serial dimensions for the item. If not found then, 
- It checks for the trade agreement for the size dimension for the item. If not found then 
-Finally it checks the trade agreement where no size, site, warehouse and serial dimensions are specified. 


3. Setup trade agreement journal names 

It is important to setup trade agreement journal names as these journal names are used to create price /discount agreement journal for setting up different prices and discounts for different items, customers and vendors. Different journal names can be setup for different purpose such as price agreement journal, Discount agreement journal, Price adjustment journal, Price&discount journal from RFQ etc. so it will be easier to select appropriate journal names for specific purpose. In this way it will be easier to consolidate all the similar trade agreements for reporting and analysis purpose. Journal names are created at the following path:

Procurement and sourcing > Setup > Price/Discounts >Trade agreement journal names

                                            or

Sales and marketing > Setup > Price/Discounts >Trade agreement journal names

Following default relation can be setup for journal names. These relations can be override in the actual trade agreement journal if require:

-Price(purch.)
-Line disc. (purch.)
-Multiline disc. (purch.)
-Total disc. (purch.)
-Price (sales)
-Line discount (sales)
-Multiline disc. (sales)
-Total disc. (sales)
-Postage discount

These are nothing but various ways of creating price/discount agreement journal lines.

Add name, description and select default relation to create specific trade agreement journal name.

We can also see all the posted price/discount agreement journals created from a particular journal name. Click on 'Price/discount agreement' button on the top to view all the journals.


4. Create price/discount groups 

Create price groups, line discount groups, multiline discount groups and total discount groups for the items, customers or vendors so it can be used in trade agreement journals for setting up prices and discounts for the group. 

Groups can be created by selecting appropriate options among Price group, Line discount group, Multiline discount group and Total discount group.

A. Customer price discount group

We can create price or discount groups for the customer by selecting appropriate options from the following path:

Path: Sales and marketing > Price/discounts > Customer price/discount groups 
                    
                                                  or

         Inventory management > Setup > Price/discount > Customer price/discount groups 



We can also view the trade agreement and create the one for the customer price/discount group selected. Select the group --> Click on 'Trade agreements' button to view the appropriate options.



B. Vendor price discount group 

We can create price or discount groups for the vendors by selecting appropriate options from the following path:

Path: Procurement and sourcing > Setup > Price/discount > Vendor price/discount group

                                        or
         Inventory management > Setup > Price/discount >  Price/ discount groups > Vendor price/discount groups 


You can view the trade agreement and also create the one for the vendor price/discount group selected. Select the group --> Click on 'Trade agreements' button to view the appropriate options.

C. Item discount group 

It creates the Line discount group, Multiline discount group and Postage group for the items. It doesn't include the total discount group as total discount is applicable to item code All and not to item code Group.  


You can create discount groups for the items from the following path:

Path: Sales and marketing > Price/discounts > Item discount groups

                                              or
         Procurement and sourcing > Price/discount > Price/discount groups> Item discount groups

                                             or
         Inventory management > Setup > Price/discount > Item discount groups 


You can view the trade agreement and also create the one for the item discount group selected. Select the group --> Click on 'Trade agreements' button to view the appropriate options.



5. Item/ Customer/ Vendor master setup


A. Assign item discount groups for items

Once Item line discount groups and Item Multiline discount groups are created (Refer point 4 section C),  those are assigned to items and discount agreements are created for those groups. When any such item is used in the sales or purchase order, the discount pertaining to that group will be applicable to the item in the order.

Path: Select specific item in the released products > Purchase or Sell fast tab > Discounts field group > Line discount group/ Multline discount > Assign groups to these fields as applicable



Note: For total discount, checkbox needs to be ticked for the item in order to include the item in the calculation of total discount.

B. Assign customer price/discount group to customers & vendor price/discount group to vendors

- Once vendor price/ discount groups are created (Refer point 4 section B), those are assigned to vendors and agreements are created for those groups. When order is created for any such vendors, the price and discount for the group is applicable to the order (Order header/Order lines)

Path: Select vendor > Purchase order defaults fast tab > Discount field group > Multiline discount/ Total discount group/ Price group/ Line discount group > Assign groups to these fields as applicable



- Once customer price/discount groups are created (Refer point 4 section A), those are assigned to the customers and agreements are created for those groups. When order is created for any such customer, the price and discount for the group is applicable to the order (Order header/ Order lines)

Path: Select customer > Sales order defaults fast tab > Discount field group > Multiline discount/ Total discount / Price / Line discount > Assign groups in these fields as applicable


6. Account receivable parameters Setup

Different values are setup in the account receivable parameter to set the behaviors of sales trade agreement.

Path: Account receivable > Setup > Account receivable parameters > Prices
  • Setting up the date type i.e. Today's date, requested ship date or requested receipt date Depending on the date type selected here, the appropriate date will be picked up from the sales order to find the valid sales trade agreement. Default value is 'Today'
  • Optional: Setting up the generic currency and exchange rate type: Trade agreement can also be created for generic currency and then use exchange rate to convert generic currency into a specific order currency in real time when price is requested from the sales or purchase order. When creating the trade agreement for generic currency, make sure to tick 'Include generic currency' checkbox in the agreement journal. This setup is only applicable to price trade agreement and not to the discount agreements.
  • Optional: Apply smart rounding after currency conversion: It is checked when you would want to apply smart rounding to the price when it is returned from the valid trade agreement. In order to apply smart rounding you would need to setup the behavior for smart rounding for foreign currencies in the system. It is nothing but returning the price keeping in view the smallest denomination i.e. price returned with ending 0.99 or 0.95 or 0.98. When price for generic currency is converted into order (Foreign) currency then before returning the price, smart rounding rules are applied depending on setup done in the system for different foreign currencies in order to decide the ending of the price i.e 156.95. 199.99 etc.
  • Discount: Default values is 'Line'. It decides how Line discount and Multline discount are used together in the sales order lines. We can select different values depending on how we want discounts to get applied, These values are:
         - Line
         -Multiline
         -MAX(Line, Multiline)
         -MIN(Line, Multiline)
         -Line+Multiline
         -Line*Multiline
  • Optional: Trade agreement evaluation: During changing the price and discount conditions by the external sources, if you want to trigger a dialog to decide whether to keep current price/discount or it should inherit from external sources, then add the type of external sources such as AIF, retail POS, Sales agreement, Sales quotation, project quotation etc. in the trade agreement evaluation section in account receivable parameter
  • Optional: Calculate Total discount on posting: If ticked, total discount will be calculated automatically when posting and when selecting certain actions


7. Procurement and sourcing parameters Setup

Different values are setup in the procurement and sourcing parameter to set the behaviors of purchase trade agreement

Path: Procurement and sourcing > Setup > Procurement and sourcing parameter > Prices

  • Setting up the date type i.e. Today's date or Delivery dateDepending on the date type selected here, the appropriate date will be picked up from the purchase order to find the valid purchase trade agreement. Default value is 'Today'

  • Discount: Default values is 'Line'. It decides how Line discount and Multline discount are used together in the purchase order lines. We can select different values depending on how we want discounts to get applied, These values are:
         -Line
         -Multiline
         -MAX(Line, Multiline)
         -MIN(Line, Multiline)
         -Line+Multiline
         -Line*Multiline

  • Optional: Trade agreement evaluation: During changing price and discount conditions by the external sources, if you want to trigger a dialog to decide whether to keep current price/discount or it should inherit from external sources, then add the type of external sources such as AIF, retail POS, Sales agreement, Sales quotation, project quotation etc. in the trade agreement evaluation section in procurement and sourcing parameter
  • OptionalCalculate Total discount on posting: If ticked, total discount will be calculated automatically when posting and when selecting certain actions.


E. Different values for searching the price/discount agreement

Below values are used from the sales or purchase order lines to search for the valid price and discount agreement for those order lines:

● Customer/vendor 
● Item number 
● Product dimension, Storage dimension and Tracking dimension
● Quantity 
● Currency 
● Unit of measure 
●Date type (defined in the Accounts receivable parameter setup and Procurement and sourcing parameter setup)
    
1. For price
As per the preference given above (In section A), the combination of Item and customer or item and vendor are searched along with other values defined above to find the valid price trade agreement. Posted trade agreements are searched based on the order in which those are created (based on RecID). When all the trade agreements are searched or when valid trade agreement is found where Find next option is cleared then the search stops. If multiple trade agreements are found for the combination to get the valid price then trade agreement with lowest price will be considered for the order line

2. For Line discount
As per the preference given above (In section A), the combination of Item and customer or item and vendor are searched along with other values defined above to find the valid trade agreement for line discount. Posted trade agreements are searched based on the order in which those are created (based on RecID). When all the trade agreements are searched or valid trade agreement is found where Find next option is cleared then the search stops. If multiple trade agreements are found for the combination to get the valid line discount, then it takes the sum of all the valid line discount or the valid line discount percentage for order line

3. For Multiline discount(It is created for Account code TableGroup & All and Item code GroupAll
Below values are used from the sales or purchase order lines to search for the valid price and discount agreement for those order lines
  • Customer/ Vendor 
  • Item's multiline discount group
  • Overall quantity  
  • Currency 
  • Unit of measure 
  • Date type (defined in the Accounts receivable parameter setup and Procurement and sourcing parameter setup)

Overall quantity
It is the sum of quantities of all items belong to specific Multiline discount group and sum of quantities of all items that isn't belong to any multiline discount group. 
For example: If there are 8 lines in the sales order, out of which lines 1, 3 and 4 are belong to Multiline discount group A, so it takes the sum of quantities of those lines,  lines 2 and 6 are belong to multiline discount group B, so it takes the sum of quantities of those lines, Line 5, 7 and 8 are not belong to any multiline discount group, so it takes the sum of quantities of those lines as well.

Once this quantity categorization is done, as per the preference given above (In section A), the combination of Item and customer or item and vendor are searched along with the values defined above to find the valid trade agreement. Posted trade agreements are searched based on the order in which those are created (based on RecID). When all the trade agreements are searched or when valid trade agreement is found where Find next option is cleared then the search stops. If multiple trade agreements are found for the combination, then it takes the sum of all the valid discounts or the valid discount percentages for each order line.

Note: For all those lines where no multiline discount group is attached, the multiline discount trade agreement created for item Code All are applicable,.

4. For Total discount  (It is created for Account code TableGroup & All and Item code All)
Below values are used to search for the valid trade agreement:
  • Customer/ vendor
  • Currency
  • Total order amount
  • Date type (defined in the Accounts receivable parameter setup and Procurement and sourcing parameter setup)
As per the preference given above (In section A), the combinations for customer or vendor are searched along with the values defined above to find the valid trade agreement. Posted trade agreements are searched based on the order in which those are created (based on RecID). When all the trade agreements are searched or when valid trade agreement is found where Find next option is cleared then the search stops. If multiple trade agreements are found for the combination to get the valid total discount, then it takes the sum of all the valid total discounts or the valid total discount percentages for the entire order.


Once all these setups are understood and completed, we are good to create trade agreement in the system for different customers, vendors and items. To understand on how to create & post trade agreement will be explained in the next blog post. 


Please post if any queries or suggestions to made regarding this topic !!!

Happy Daxing ðŸ˜Š
------------------------------------------------------------------------------------------------------------------------------------
Abhijeet Hele |  Dynamics AX Enthusiast | My Profile 
DisclaimerThe information provided on this site represents my own opinion/view and does not represent the opinion/view of my employer or Microsoft.

Tag Counting Journal in Dynamics 365 for Finance and Operations

Hello readers, Today I am going to walk you through the important but less discuss functionality of AX, Tag counting journal

When I heard of it for the first time, there are few basic questions popped up in my mind such as What is tag counting journal? how it  is different from counting journal? So before delaying further, lets jump on to this topic.

Tag counting journal is used during counting process, mostly at the year end where we enter the items, it's corresponding qty and a tag number with status in the journal lines.

You place a tag on each inventory item. Once all tags are placed on the inventory items, you enter the item and counted quantity information on the tags you placed.

Tag counting journal facilitates the entry of each tag and information on it in the journal lines which is upon posting transfers to counting journal.

Here in the journal we can also maintain the status of each tag such as  Missing, Voided or Used.

  • Used - The item number is counted for the tag. This line is then transferred to counting journal upon posting of tag counting journal
  • Voided - The item number is voided for the tag. You cannot add item number for the line marked as 'Voided'
  • Missing - The item number is missing for the tag. You cannot add item number for the line where item number is 'Missing'

There are no inventory transactions exist for the lines in the tag counting journal and when lines are transferred from tag counting to counting journal, the inventory transactions are created.

Example
During the year end counting process, warehouse manager advised warehouse worker to place a tag on each inventory item as these tags are then used during the counting of the inventory. When counting progresses, the warehouse workers start putting the item information and the counted quantity on the tags attached to items. Once all the items are counted, these tags are then used to enter the information in the tag counting journal. The information is item number, dimension information, tag number, status of the tag, counted quantity etc.

Let us now see the steps to create tag counting journal in AX. 

1. Go to Inventory management > Journals > Item Counting > Tag counting

2. Click on New

3. Enter the journal name (Type: tag counting) and select the dimensions to tag count the item by specific dimension. For example: if you want to tag count the item for specific location then select site, warehouse and location checkbox.



4. Click ok and go to journal line.

5. Enter the date of counting, Tag number, Item number, dimensions, quantity and other information.

6. Also select the status of the tag. Status can be Used, Voided or Missing.
Note:
  • When you try to enter an item number for the line with status as "Voided", system throw an error "When status is Voided, an item number cannot be stated"










  • When you try to enter an item number for the line with status as "Missing", system throw an error "When status is missing, an item number cannot be stated"









7. As lines are entered in the journal with tag number and status, you can sort those lines to find number of missing or voided tags.

8. Once lines are entered, it is a time to validate and post the journal.








9. Validate and post the journal.


10. Once you post the tag counting journal, new counting journal will get created and lines with status 'Used' are transferred to the counting journal from tag counting journal as those are the lines which are counted for the tag.


11.  You can see from the above image, only one line is transferred to counting journal as there was only one line in the tag counting journal which was with status 'Used'.

Note
"Lock item during count" checkbox in inventory and warehouse management parameter locks the item from being updated physically during counting but in tag counting, there is no such restriction and items are not locked for physical update.

In this way, Tag counting journal can be created and posted in AX.

Happy Daxing

------------------------------------------------------------------------------------------------------------------------------------
Abhijeet Hele |  Dynamics AX Enthusiast | My Profile 

The information provided on this site represents my own opinion/view and does not represent the opinion/view of my employer or Microsoft.



Direct delivery in Dynamics 365 for Finance and Operations

Hello Reader, Good to be back here. Hope you all are well !!! It's been a long time since my last post as work keeps us all busy. 
In today's post, I will walk you through the Direct delivery functionality of AX 2012/ Dynamics 365 for Finance and Operations.

So to start with, What is direct delivery? 

It is nothing but delivering the material/Product to the customer directly from the vendor's place. It means material doesn't enter the company's premises. It is useful in reducing the Delivery time, Transportation cost, Inventory carrying cost, Labor cost as material/ Product doesn't physically enters the company premises and we don't hold the product in our warehouse which reduces the cost.

It is a very important functionality but need to be use very carefully as delivering material/ Product directly from vendor's place to customer's place could be dangerous as you might loose your customer as in most of the cases, getting the material/product from vendor might be cheaper for customer than procuring it from the you/company. Hence it can be used very carefully and with proper agreement with the vendor.

Example:
Customer placed an order for 100 qty of Item A and want it to be deliver in 5 days. Now company's sales manager realized that the item is not available in the warehouse.  Sale manager has then contacted purchase manager inquiring about immediate procuring of the item for customer delivery. Purchasing manager denied possibility of this immediate procurement as time is too short. As order is placed by the priority customer, sales manager has to think of the way to fulfill the requirement. Sales manager has then explored the possibility of the direct delivery in which instead of procuring the item and bringing it to the company's warehouse, item can be deliver directly from the vendor premises to the customer premises. This will certainly save significant time and Item will be deliver to customer on time. In this case we can use "Direct delivery".

Direct delivery is also know as "Direct delivery purchase order".



Let us now see the steps to create direct delivery purchase order from the sales order

1. Go to Account receivable --> Orders --> All Sales orders
2. Click on New to create a sales order and add item, qty, delivery details and other required information



3. As item is not available in the warehouse, the decision is being made to ask the vendor to deliver the material to customer.

4. Click on Direct delivery button in the sales order action pane in the New section.

5. New form will open. Select vendor, Quantity to be delivered by the vendor, discount if any, purchase unit price if price is not getting fetched from the purchase agreement.

Note: Transfer delivery address checkbox is checked by default and cannot be editable as in direct delivery cases, the delivery address of the customer from sales order line is getting fetched into the purchase order line as vendor is delivering product to the customer.





















6. Click Ok
7. Purchase order gets created from the sales order automatically.
















8. We can see both are having same delivery address as customer delivery address is getting copied from sales order to purchase order.


9. Now we can process the purchase order. (Confirmation, Receipt list and product receipt)

Note: Once purchase order product receipt is posted, sales order packing slip gets posted automatically. Purchase order product receipt means item is being delivered from vendor premises to customer premises. In direct delivery case, it is also mean product is delivered to customer hence sales order goes in Delivered state.















10. We can then process the Purchase order and sales order invoice separately.

In this way, direct delivery purchase order gets created to deliver product directly from vendor to customer which if used carefully and with proper agreement can reduce significant operational and administrative cost.

Happy Daxing
------------------------------------------------------------------------------------------------------------------------------------
Abhijeet Hele |  Dynamics AX Enthusiast | My Profile 


The information provided on this site represents my own opinion/view and does not represent the opinion/view of my employer or Microsoft.







Purchase order types in AX 2012 R3 / D365 Operations

Hello Guys,
Believe you all are doing great. First of all thank you for your overwhelming response on my previous posts. It really encourages me to write more.

In today's topic, I will be discussing on purchase order types in Dynamics AX. This is a very easy topic but certainly useful for someone working on purchase order in Dynamics AX.

It is somewhat similar to sales order types shared earlier. Please click on Sales order types in AX 2012 R3 for more details.

There are basically three purchase order types available in AX. Those are:
1. Journal
2. Purchase order
3. Returned order


Default setting for Purchase order types:
You can setup a default value for Purchase type in AX so when you create a New purchase order, system automatically takes that value in the 'Purchase type' field. Normally the default value for purchase type is 'Purchase order'

Path:
Procurement and sourcing parameter -->General --> Default values --> Purchase type




















Let me explain each purchase order type in detail:

1. Journal: It is used as "Draft". It is used when you want to create purchase order but do not want to process it then while creating a purchase order, you can assign purchase type as "Journal".  All the postings (Confirmation, Receipt list, product receipt, invoice) will be disabled in this case and can be enabled only after changing the purchase type from Journal to Purchase order. As we cannot process this order, it doesn't impact the inventory stock and does not generate any inventory transactions.
































2. Purchase order: It is used when you want to record the order placed with vendor in AX and are going to process it further.

























Once purchase order is created with type 'Purchase order', the postings will be enabled after posting the purchase order confirmation  (Receipt list, Product receipt, Invoice).

In this case order is process from Creation to Invoice. After posting the invoice for the order (Full delivery), status of the order changes to "Invoiced".






















3. Returned order: When returning goods to vendor due to some issues (Like damage goods, Late delivery etc.), the purchase order is created with type 'Returned order' to facilitate the return to vendor. When you create purchase order with type 'Returned order', the item quantity in purchase line should be negative as we are returning goods to vendor. Once purchase order is created with type 'Returned order', the postings will be enabled after posting the purchase order confirmation (Product receipt, Invoice).




Hope!! Everyone gets clear understanding of Purchase order types in AX 2012 R3 / AX7


Please post if any queries and do let me know if any suggestions for improvement.


See you soon with new post :-)


Happy Daxing !!!
-------------------------------------------------------------------------------------------------------------------
Abhijeet Hele |  Dynamics AX Enthusiast | My Profile 
The information provided on this site represents my own opinion/view and does not represent the opinion/view of my employer or Microsoft.

Manage contractual commitments with purchase agreement in D365 supply chain management

Hello Reader, In this post, I am going to deep dive into purchase agreement management in D365 supply chain and how it is useful in managing...