Skip to main content

ConstraintLockLinkedCurrencyError

A supplier currency column linked from a price column cannot be locked.

Same rule as LockConstraint: at least one non-automatic price column has this column as currency_column_id. Raised both when the lock is written and when a price column is linked to a currency column that is already locked.

typestringrequired
Constant value: constraint_lock_linked_currency
Default value: constraint_lock_linked_currency
columnIdstring<uuid>required

The supplier currency column that is locked and linked from at least one price column.

linkedPriceCountintegerrequired

How many non-automatic price columns are linked to this currency column.

Possible values: >= 1

ConstraintLockLinkedCurrencyError
{
"type": "constraint_lock_linked_currency",
"columnId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"linkedPriceCount": 1
}