Note on api.retainGlobal
For working with Accelerators, it is very useful to enable the api.retainGlobal defaults to TRUE option in Pricefx Configuration > All Modules > General Settings. For details see api.global versus api.local | api.global.