Document Trade Lines

Article • 9/4/2023 • 10 min read

After creating a sales/purchase document with a sales/purchase document line from the type Item, the system will retrieve all active trade plans with the most specific rate which applies to that document. These rates are converted into document trade lines. These document trade lines show the calculation of the costsbased on the rates for the created document line.

Document Trade lines with a price rule affect the sales price. This can be a price increase, decrease or discount. As a starting point for the calculation, the base unit price per unit of measure is used. Depending on the set up of the first trade plan line in the trade calculation, this is either the unit cost of the item or the price that was found (and recalculated) in the Sales Price list.


Trade plans with Price Rule field set to Unit Price or Discount can only be used for sales documents.

Document trade lines with an accrual don’t affect the sales and purchase price.

When a sales/purchase document is reversed, corrected, canceled, archived, copied, or created from another sales or purchase-related document (for example create a sales order from a blanket order), the document trade lines are copied. The document trade lines are shown on the following pages:

Document trade lines can be assigned to blanket orders, quotes, (return) orders, invoices, and credit memos for sales and purchase. The following instruction describes how to work with document trade lines for a sales order. The steps are similar for all other sales and purchase documents.

  1. Select the Search icon , enter Sales Orders and then choose the related link.
    The Sales Orders list page opens.
  2. On the action bar, select New.
  3. Fill in the remaining fields on the Sales Order page as necessary. After entering the quantity on the sales line, the document trade lines will be retrieved.
  4. On the Lines FastTab, on the action bar, select Line > Related Information > Document Trade Lines.

A document trade line can have a price rule, accrual type or both.

The system updates the Quantity (in Sales Price UoM) field value for catch weight items on the document trade lines page. When the sales price line of an item is defined in the catch weight unit of measure, the system updates the quantity based on the sum of the weight quantity to invoice on the item tracking when you execute the Update Catch Weight Item Unit Price action.


For external sales orders, the Document Trade Lines page displays a few fields concerning the document. To know more about the fields, see Document Trade Lines.

Add document trade line

  1. On the action bar, choose Add Document Trade Line action.
  2. On the Trade Plan No. field, choose the related option from the 6.In the Calculation Level field, enter the calculation level for the sales document. button
  3. Click OK.
  4. In the Rate field, enter a rate which can be a positive or negative value. When the Rate Type is Percentage of Line Amount, the rate must be between 0 and 100 because it is a percentage.
  5. In the Unit Measure field, select a unit of measure to which this rate applies. This is only necessary when the trade plan is set up with rate type Amount per Unit.
  6. In the Calculation Level field, enter the calculation level for the sales document.
  7. Click OK.

The document trade line has been added in order of the calculation level. The checkmark Manual is turned on.

Change rate and currency

After retrieving the document trade lines, you can change the rate for a document trade line. The document trade line will be recalculated with the new rate.

  1. In the Rate field, change the rate, and the document trade line is recalculated. The checkmark Manual is turned on.
    For document trade lines with only an accrual type, you can change the currency code.
  2. In the Currency Code field, the currency code is changed, and the document trade line is recalculated with the exchange rate.

Recalculate

You can recalculate all document trade lines. In that case, all the document trade lines will be deleted and retrieved again. For the following options, it might be necessary to recalculate the document trade lines:

  1. On the action bar, choose Recalculate Doc. Trade Lines action.

A dialog box displays the following message: Any manual adjustments to the document trade lines or manually added lines will be deleted. Are you sure you want to recalculate?

  1. Click Yes.
    All document trade lines are deleted and retrieved again.
    All document trade lines are recalculated by the system in case the following applies:


If the user deletes the purchase document, the document trade lines, and document trade calculation entries are deleted.