Vertec Python Module “vtcextensions”

The Vertec Python module “vtcextensions” for working with extensions

Operating mode

Cloud Suite

|

ON-PREMISES

Modules

Services & CRM

Budget & Phases

Purchases

Resource Planning

Business Intelligence

Created: 15.05.2025
Machine translated
Updated: 15.05.2024 | Outsourced from article Vertec Python functions.

There is a Vertec Python module called vtcextensions for handling extensions. It is also available in restricted scripting mode and includes the following methods:

Method / feature description Sample code
getextension(kind:string): extension
Returns a reference to the extension of the specified type.
import vtcextensions

# get DEBI extension
ext = vtcextensions.getextension("DEBI")
CreateVtcExtensionHost(extension:string): host

With this method, the host used for the extensions (example: __init__(self, host)) can be simulated in the code for testing purposes.

When using the extensions via Vertec, this happens automatically.

import vtcextensions
host = vtcextensions.CreateVtcExtensionHost("FibuAbacus.AbacusDebiExtension")

The vtcextensions module is also available as a Python Stub File.  

Netherlands

United Kingdom