Symptoms
When creating a detail via the detail wizard, the following error message pops up at the moment of registering the page: message: Uncaught Terrasoft.ArgumentNullOrEmptyException: Nonexisting or empty argument with the argumentName: query name
Cause
Too long names of objects used for creating details:
"Opportunity Documents in the Product", "History of Document changes"
Solution
Change the name for a shorter one (up to 30 characters) and publish the object.