pcm_get_poid_number() - cassiobj/PCM-Python_lib GitHub Wiki
The pcm_get_poid_number function is part of a Python extension for Oracle BRM. It returns number from poid number.
The pcm_get_poid_number will return number from poid number.
- poid: complete poid in string format.
Long number with id number from Orable BRM 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_number("0.0.0.1 /invoice 226060 0")
print(database)
Returns 226060