In the standar version of BC365, for the automatic VAT system in spain, there is a codeunit that creates the XML sent to the service. In the header of the created XML, there are 3 URLs, related to the schema, and validated into the server. But depending on the county, the schema is different. Those URLs are defined in global text constants.
In the onPremise version, we've changed the value of those text contants, but of course, in the cloud version, that is not possible. is there any way to change the value of a text constant dinamically?
Thank you all
You cannot change Text Constant, but perhaps the is a eventsubscriber you can hook into?
Try running the function with the event record enabled
Thanks for your answer. There's no any event. I've created an event request in github, let's see if the problem can be fixed...