AK47
10/08/2024, 3:50 PMCeligo AI
10/08/2024, 3:50 PMAI generated answer (using internal Slack threads):To map the discount amount to a sales order on CSV import, you need to create a discount item with a rate of 0. When you add it to the sales order, you can specify whatever amount of discount you want to apply. If you are trying to create a saved search for sales orders to show the discount amount against each sales order, you can use the
Amount (Discount)
column. However, keep in mind that there are two types of discounts as far as searches are concerned: line level discounts and header level discounts.
Line level discounts are discount items that are added in the item sublist. These discounts apply to the item above it (other discounts and markups don't count). On search rows, the item the discount is applied to has the Amount Discount
set to the discount amount.
Header level discounts (order promotions and the header level discount item) are search rows which have the Transaction Discount
column set to true. These have their discount amount in the Amount
column.
If you are using a promotion which gives a percentage of the order amount as a discount, and you want to get this amount that is discounted from the sales order due to the promotion applied, remember that a promotion is a header level discount. Its value is in the Amount
column, not the Amount Discount
.
Also, keep in mind that there is a specific search row for transaction discounts. Don't filter them out in your criteria. It's easiest to see this stuff by removing the filters on a search so that you only include an internal id filter. Don't use summary columns.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/08/2024, 3:50 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843665
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825774193
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819297075
Celigo AI
10/08/2024, 3:50 PM