Uniconta is a modern ERP system that keeps track of finances, inventory, projects, production and logistics, and helps your business become digital.
This article provides an overview to get started with the Uniconta connector in Peliqan. Please contact support if you have any additional questions or remarks.
Connect Uniconta
In Peliqan, go to Connections > Add Connection > Select Uniconta in the list.
Enter the username and password of a user.
Writeback
You can use Peliqan’s low-code scripts to perform writeback to Uniconta, for example create an invoice, update a customer (debtor), delete a supplier (creditor) etc.
Examples:
uniconta_api = pq.connect('Uniconta')
# Find projects
Object = {
'field_name': 'Account',
'field_value': "K0006",
'object_type': "Project",
}
result = uniconta_api.get('Objects', Object)
st.json(result)
# Get project by id
Object = {
'field_name': 'RowId',
'field_value': 6,
'object_type': "Project",
}
result = uniconta_api.get('Object', Object)
st.json(result)
# Update project
Object = {
'RowId': 6,
'Name': "My updated project",
'Account': "K0006", # Customer id, required even if you only want to update the project name
'object_type': "Project",
}
result = uniconta_api.update('Object', Object)
st.json(result)
# Create project
Object = {
'Name': "My new project",
'Number': 'P123',
'Account': "K0006",
'object_type': "Project",
}
result = uniconta_api.add('Object', Object)
st.json(result)
# Create customer (Debtor)
Object = {
'Name': "My new customer",
'object_type': "Debtor",
}
result = uniconta_api.add('Object', Object)
st.json(result)
# Delete project
Object = {
'RowId': 5,
'object_type': "Project",
}
result = uniconta_api.delete('Object', Object)
st.json(result)
exit()