Access Internal Outsystem DB from Extension

Let's say I have an Entity called Products in my Outsystems platform.

I want to create an extension that "accesses/connects" to that Products Entity that I created in outsystems so that from that extension, I would be able to update the status of the Product(s).



Cheers.

I think I found the solution 


https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/RuntimePublic.Db_API/Insert_Data_in_the_Application_Database


I'll update this thread when I successfully applied this solution


Cheers.

It worked.


Instead of the "Insert" statement update it to "Update" statement.


Cheers.