In p21USAPP / P21APP, there’s a windows service called CustomerPriceGenerator, Ricardo has the code, its in C# this one in particular. The settings are located as an environmental variable within the server that is running it.
See attached screen shots for Service properties and settings