Hi, just wanted to ask if anyone has an idea of how promotions work in suitescript?
Background: So we just recently implemented a flow where the cash sale is generated based on the items fulfilled in a sales order. My question is that when creating cash sale, how can we have the promotions deduct the total amount/take effect via suitescript?