Discounts Allocator Function

Building a Discounts Allocator Function will enable you to have a higher degree of customization when you define discount allocation strategies. With this Function, you can implement custom logic to distribute discounts across line items.