Relative Content

Tag Archive for oracle

how to 11g r2 connect with Oracledb python

I have been successfully using Oracle database 11g R2 with SQL Developer and Forms 6i without encountering any errors. However, when attempting to connect with Python using the OracleDB library, I encountered the following error: DPY-3010: connections to this database server version are not supported by python-oracledb in thin mode. According to the Python-OracleDB documentation, it should be possible to connect 11g R2 with Python-OracleDB. I am seeking clarification on this issue and would appreciate any guidance on how to successfully connect 11g R2 with Python. Please provide the correct code for establishing the connection.

How to caluclate opening balance &closing balance

In erpnext, sales invoice doctype i want to opening&closing balance columns. how can i caluclate.opening and closing balance columns are not direct columns in sales invoice doctype.please provide the opening&closing balance sql query.