R27851 Party - Party Unique Number

Code R27851
Entity General.Contacts.Parties Entity
Name PartyUniqueNumber
Attribute PartyUniqueNumber
Layer Back-End
Events Commit
Priority Normal
Modify YES
Action If (Party.PartyType == Company)

Party.PartyUniqueNumber = Party.RegistrationNumber

else if (Party.PartyType == Person)

Party.PartyUniqueNumber = Party.NationalNumber

else

Party.PartyUniqueNumber = null
Description

When new party is created, the PartyUniqueNumber ia automatically filled as follows:

  • if the party is a company - its PartyUniqueNumber is its registration number;
  • if the party is a person - its PartyUniqueNumber is he's national number;
  • in all other cases the PartyUniqueNumber is null.
Message The party unique number does not correspond to the specific number of the object. For example for person the party unique number should equal national number and for company - registration number.
Introduced In Version 2017.1
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.