Skip to content

Validate contact object name for using business name for private objects #2895

@vohmar

Description

@vohmar

There is considerable amount of contact objects that have obvious organisation names on private objects.

For this implement and apply set of rules that would deny creation of new contact objects or updating existing objects if the following condition is met:

If contact object type is PRIV and country code is EE then the name cannot have at the beginning, at the end or in the middle of the name (case-insensitive):

  • abbrevations OÜ, AS, SA, MTÜ, TÜ, UÜ
  • long form of the organisation types: osaühing, aktsiaselt, sihtasutus, mittetulundusühing, täisühing, usaldusühing

Type PRIV

  • abbrevations: Ltd, PLC, LLC, Corp, Inc, Co
  • long form: Limited, Public Limited Company, Limited Liability Company, Corporation, Incorporated

Type PRIV, country code DE

  • GmbH, AG
  • Gesellschaft mit beschränkter Haftung, Aktiengesellschaft

Type PRIV, country code FI

  • Oy, Oyj
  • Osakeyhtiö, Julkinen osakeyhtiö

PRIV + SE

  • AB
  • Aktiebolag

PRIV+LV

  • SIA, AS
  • Sabiedrība ar ierobežotu atbildību, Akciju sabiedrība

PRIV+LT

  • UAB, AB
  • Uždaroji akcinė bendrovė, Akcinė bendrovė

PRIV+FR

  • SARL, SAS, S.A.
  • Société à responsabilité limitée, Société par actions simplifiée, Société Anonyme

PRIV+IT

  • S.r.l., S.p.A.
  • Società a responsabilità limitata, Società per Azioni

PRIV+NL

  • B.V., N.V.
  • Besloten Vennootschap, Naamloze Vennootschap

PRIV+PL

  • Sp. z o.o., S.A.
  • Spółka z ograniczoną odpowiedzialnością, Spółka Akcyjna

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions