R18731 Party - Party Name
Name | Value |
---|---|
Code | R18731 |
Entity | General.Contacts.Parties Entity |
Name | PartyName |
Attribute | PartyName |
Layer | Back-End |
Events | Commit |
Priority | Normal |
Modify | YES |
Action | If (Party.PartyType == Company) Party.PartyName = Company.Name else if (Party.PartyType == Person) Party.PartyName = Person.FirstName + Person.MiddleName + Person.LastName else if (Party.PartyType == Store) Party.PartyName = Store.Name else if (Party.PartyType == Company Location) Party.PartyName = CompanyLocation.LocationName else if (Party.PartyType == Division) Party.PartyName = CompanyDivision.Name else Party.PartyName = null |
Description | When new party is created, the PartyName is automatically filled as follows: - if the party is a Company - its PartyName is the Comapny's Name; - if the party is a Person - its PartyName is the Person's full name (first, middle and last name); - if the party is a Store - its PartyName is the Store's Name; - if the party is a Company Location - its PartyName is the Location's LocationName; - if the party is a Company Division - its PartyName is the Division's Name; - in all other cases the PartyName is null. |
Message | The party name does not correspond to the full name of the object. For example the person full name contains first, middle and last name. |
Version | Introduced: 2017 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.