Value entries created as result of trade cost order posting
When trade cost orders are posted, the value entries that Trade Management creates follow the way standard Business Central posts an item charge, and a credit memo for an item charge, against the original transaction. The following sections describe this for the purchase side and the sales side, starting with the standard Business Central behavior.
Understand posting on the purchase side
In standard Business Central, an item charge that is posted against a purchase receipt creates a value entry with a positive value in the Cost Amount (Actual) field. For example, an item charge of 100 results in a value of +100 in the Cost Amount (Actual) field.
Trade Management does the same when a trade plan with the Trade Cost Source field value Purchase Document is posted on a purchase order. The amount from the document trade line is copied to the Cost Amount (Actual) field of the created value entry, so a trade cost of 100 results in a value of +100.
When the posting of a trade plan is reversed on a purchase return order, for example by using the Get Posted Document Lines to Reverse action, the document trade line has the Trade Cost Source field value Reversal. When the return is posted, the system posts the trade cost in the same way as standard Business Central posts a credit memo for an item charge against a purchase receipt: as a correction in the Cost Amount (Actual) field of the created value entry, but with the opposite sign. The value entry is linked to the item ledger entry of the original purchase receipt. In the example, the trade cost of 100 is corrected with a value of -100.
A trade plan with the Trade Cost Source field value Purchase Document on the purchase return order itself, for example a trade plan with the Use in Purchase Return toggle turned on, is posted in the same way as standard Business Central posts an item charge against a purchase return shipment. The amount from the document trade line is written to the Cost Amount (Non-Invtbl.) field without a sign change, and the value entry is linked to the item ledger entry of the posted return shipment.
Understand posting on the sales side
In standard Business Central, an item charge that is posted against a sales shipment creates a value entry with a negative value in the Cost Amount (Non-Invtbl.) field. The cost is not inventoriable. For example, an item charge of 100 results in a value of -100 in the Cost Amount (Non-Invtbl.) field.
Trade Management does the same when a trade plan with the Trade Cost Source field value Sales Document is posted on a sales order. A positive trade cost on the document trade line is written to the Cost Amount (Non-Invtbl.) field with a negative sign, so a trade cost of 100 results in a value of -100. The moment of posting differs from the purchase side: the trade cost order for a sales order is posted at invoicing, whereas the trade cost order for a purchase order is posted at receipt.
When the posting of a trade plan is reversed on a sales return order, the document trade line has the Trade Cost Source field value Reversal. When the return is posted and invoiced, the system posts the trade cost in the same way as standard Business Central posts a credit memo for an item charge against a sales shipment: as a correction in the Cost Amount (Non-Invtbl.) field of the created value entry, but with the opposite sign. The value entry is linked to the item ledger entry of the original sales shipment, or of the sales invoice when the original invoice has no shipment. In the example, the trade cost of 100 that was posted with a value of -100 is corrected with a value of +100.
A trade plan with the Trade Cost Source field value Sales Document on the sales return order itself is posted on the return receipt. Standard Business Central posts an item charge against a sales return receipt as a positive value in the Cost Amount (Actual) field, because the cost is inventoriable. The Sales Return Value Entry Cost Type field on the Trade Management Setup page determines how Trade Management posts this trade cost:
- Actual Cost: The trade cost is written to the Cost Amount (Actual) field, like standard Business Central.
- Non-Inventoriable: The trade cost is written to the Cost Amount (Non-Invtbl.) field with the sign that standard Business Central uses in the Cost Amount (Actual) field. This option is not part of standard Business Central.
Review value entries per document
Standard Business Central fills different value entry fields, with a specific sign, depending on the document that the charge is applied to:
| Charge applied to | Inventoriable | Field that is filled | Positive charge | Correcting credit memo |
|---|---|---|---|---|
| Purchase receipt | Yes | Cost Amount (Actual) | +100 | -100 |
| Purchase return shipment | No | Cost Amount (Non-Invtbl.) | +100 | -100 |
| Transfer receipt | Yes | Cost Amount (Actual) | +100 | -100 |
| Sales shipment | No | Cost Amount (Non-Invtbl.) | -100 | +100 |
| Sales return receipt | Yes | Cost Amount (Actual) | +100 | -100 |
For more information about how trade costs are posted on returns, see Post trade costs for returns.