pcm_get_poid_type() - cassiobj/PCM-Python_lib GitHub Wiki

Table of Contents

pcm_get_poid_type Function

The pcm_get_poid_type function is part of a Python extension for Oracle BRM. It returns type or class from poid number.

Description

The pcm_get_poid_type will return string with type or class from poid number.

Parameters

  • poid: complete poid in string format.

Return Value

String with type or class from Orable BRM poid number.

The function returns null case database number not found.

In case of an error, the `error` exception is raised.

Usage

import PCMPy
...
...
...

database =  PCMPy.pcm_get_poid_type("0.0.0.1 /invoice 226060 0")

print(database)

Returns /invoice

⚠️ **GitHub.com Fallback** ⚠️