When you have a quote and add a new line item, either via a button in the user interface or via a quote header calculation logic, the quote line logic is executed twice. The first time with api.currentItem()
returning null and the second time with api.currentItem()
returning the whole line. Why is that so?
Manage space
Manage content
Integrations