Hi there,
We have developed few custom document reports and able to publish to the sandbox but when trying to publish to production it is saying “Failed”. When we saw the error details it is saying Functions / Variables are not available for the object “Report Check” as we are using the variable of standard report “Check” Report Id - 1401 for amount to words conversion in our document reports. Please advise what we are missing.
Thanks in advance.
It seems that the error message you are seeing is related to the use of a standard report variable in your custom document reports. When you try to publish the reports to production, the system is unable to find the “Check” report and its associated variable.
To resolve this issue, you may need to check if the “Check” report is available in the production environment. If it is not available, you may need to import the report from the sandbox environment to production. You can do this by exporting the report from the sandbox environment and importing it into production using the “Import” functionality in Business Central.
Once the “Check” report is available in production, you should be able to publish your custom document reports without any issues. Alternatively, you can modify your custom reports to remove the dependency on the “Check” report variable and use a different method for amount to words conversion.
It’s important to note that when publishing to production, any dependencies on sandbox-specific objects such as variables, functions or reports may cause errors. Therefore, it’s important to ensure that all required objects are available in the production environment before publishing.