pcm_get_poid_db() - cassiobj/PCM-Python_lib GitHub Wiki
The pcm_get_poid_db function is part of a Python extension for Oracle BRM. It returns database number from poid.
The pcm_get_poid_db retrieves database number from complete poid string.
- poid: complete poid in string format.
Long number with database poid number.
The function returns null case database number not found.
In case of an error, the `error` exception is raised.
import PCMPy
...
...
...
database = PCMPy.pcm_get_poid_db("0.0.0.1 /invoice 226060 0")
print(database)
Returns 1